summaryrefslogtreecommitdiff
path: root/bsp/hc32/tests/SConscript
diff options
context:
space:
mode:
authorLeeto1970 <[email protected]>2026-07-07 10:34:04 +0800
committerRbb666 <[email protected]>2026-07-14 19:55:12 +0800
commitd513da02db889d1925edd8a579e90bca382c85cc (patch)
treebd0057e0e6a3b86524f2542823614e2edebf1ae0 /bsp/hc32/tests/SConscript
parentf8a65e4092621917d53eaaca1191a7fa0f7f89bf (diff)
[HC32] Add HC32F4A2/HC32F467 BSP support
- Add chip macro for driver - Modify 'IDLE_THREAD_STACK_SIZE' to 512 - Modify 'HWTIMER' to 'CLOCK_TIMER' - Use 'clang-format' format driver and BSP code - Fix SPI clock division configuration
Diffstat (limited to 'bsp/hc32/tests/SConscript')
-rw-r--r--bsp/hc32/tests/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/bsp/hc32/tests/SConscript b/bsp/hc32/tests/SConscript
index 3733761301..74d279fda2 100644
--- a/bsp/hc32/tests/SConscript
+++ b/bsp/hc32/tests/SConscript
@@ -15,7 +15,9 @@ if GetDepend(['RT_USING_SERIAL']):
src += ['test_uart_v1.c']
if GetDepend(['BSP_USING_SPI']):
- src += ['test_spi.c']
+ # don't add test file when use RT_USB_DEVICE_MSTORAGE
+ if not (GetDepend(['BSP_USING_USBD']) and GetDepend(['RT_USB_DEVICE_MSTORAGE'])):
+ src += ['test_spi.c']
if GetDepend(['BSP_USING_QSPI']):
src += ['test_qspi.c']
@@ -66,6 +68,7 @@ if GetDepend(['BSP_USING_INPUT_CAPTURE']):
if GetDepend(['BSP_USING_PM']):
src += ['test_pm.c']
+ src += ['test_wktm.c']
if GetDepend('BSP_USING_HWCRYPTO'):
src += ['test_crypto.c']