From d513da02db889d1925edd8a579e90bca382c85cc Mon Sep 17 00:00:00 2001 From: Leeto1970 <821522988@qq.com> Date: Tue, 7 Jul 2026 10:34:04 +0800 Subject: [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 --- bsp/hc32/tests/SConscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bsp/hc32/tests/SConscript') 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'] -- cgit v1.3.1