summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-11-05 13:23:31 +0700
committerhathach <[email protected]>2021-11-05 13:23:31 +0700
commit3fc3e400b0ad91a0f15fe0c45bb924a9b1d65249 (patch)
tree91fc7aa9419927dc941d226d9ac13b231287fe01
parent422f439bf73450b9f08ff6fb2bf961205ba1c5f5 (diff)
add xmc4000 to ci build
-rw-r--r--.github/workflows/build_arm.yml1
-rw-r--r--hw/bsp/board_mcu.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml
index 53a1628a0..8db0fe04f 100644
--- a/.github/workflows/build_arm.yml
+++ b/.github/workflows/build_arm.yml
@@ -57,6 +57,7 @@ jobs:
- 'stm32f7'
- 'stm32h7'
- 'stm32l4'
+ - 'xmc4000'
steps:
- name: Setup Python
uses: actions/setup-python@v2
diff --git a/hw/bsp/board_mcu.h b/hw/bsp/board_mcu.h
index c840db89e..1e2577de0 100644
--- a/hw/bsp/board_mcu.h
+++ b/hw/bsp/board_mcu.h
@@ -136,6 +136,10 @@
#elif CFG_TUSB_MCU == OPT_MCU_MM32F327X
#include "mm32_device.h"
+
+#elif CFG_TUSB_MCU == OPT_MCU_XMC4000
+ #include "xmc_device.h"
+
#else
#error "Missing MCU header"
#endif