diff --git a/bsp/stm32/stm32h750-artpi/.ci/attachconfig/ci.attachconfig.yml b/bsp/stm32/stm32h750-artpi/.ci/attachconfig/ci.attachconfig.yml index a7d85642248..bdcf07d53ce 100644 --- a/bsp/stm32/stm32h750-artpi/.ci/attachconfig/ci.attachconfig.yml +++ b/bsp/stm32/stm32h750-artpi/.ci/attachconfig/ci.attachconfig.yml @@ -1,7 +1,12 @@ scons.args: &scons scons_arg: - '--strict' - +# ------ nano CI ------ +nano: + <<: *scons + kconfig: + - CONFIG_RT_USING_NANO=y + # ------ peripheral CI ------ peripheral.eth: kconfig: diff --git a/bsp/stm32/stm32h750-artpi/applications/main.c b/bsp/stm32/stm32h750-artpi/applications/main.c index 5016caf031a..8c8bef74a38 100644 --- a/bsp/stm32/stm32h750-artpi/applications/main.c +++ b/bsp/stm32/stm32h750-artpi/applications/main.c @@ -9,7 +9,6 @@ */ #include -#include #include /* defined the LED0 pin: PI8 */ diff --git a/libcpu/arm/cortex-m7/cpu_cache.c b/libcpu/arm/cortex-m7/cpu_cache.c index 6ec4c826d5c..058abe49c2e 100644 --- a/libcpu/arm/cortex-m7/cpu_cache.c +++ b/libcpu/arm/cortex-m7/cpu_cache.c @@ -76,15 +76,15 @@ void rt_hw_cpu_dcache_ops(int ops, void* addr, int size) if ((ops & clean_invalid) == clean_invalid) { - SCB_CleanInvalidateDCache_by_Addr((rt_uint32_t *)startAddr, size_byte); + SCB_CleanInvalidateDCache_by_Addr((void *)startAddr, size_byte); } else if (ops & RT_HW_CACHE_FLUSH) { - SCB_CleanDCache_by_Addr((rt_uint32_t *)startAddr, size_byte); + SCB_CleanDCache_by_Addr((void *)startAddr, size_byte); } else if (ops & RT_HW_CACHE_INVALIDATE) { - SCB_InvalidateDCache_by_Addr((rt_uint32_t *)startAddr, size_byte); + SCB_InvalidateDCache_by_Addr((void *)startAddr, size_byte); } else {