This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new da1ff4cf77 arch/arm/stm32: convert error to warning when CCM is not enabled da1ff4cf77 is described below commit da1ff4cf7781d571546e118ccecea84b14dded2b Author: raiden00pl <raide...@railab.me> AuthorDate: Fri Oct 25 17:26:10 2024 +0200 arch/arm/stm32: convert error to warning when CCM is not enabled User may set CONFIG_MM_REGIONS=1 on purpose to disable CCM. This is a completely normal system config and should not be treated as error. I found this problem trying to run Renode with stm32f4discovery/nsh but Renode doesn't support CCM so we have to disable it --- arch/arm/src/stm32/stm32_allocateheap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32/stm32_allocateheap.c b/arch/arm/src/stm32/stm32_allocateheap.c index 68b437a670..19ff055767 100644 --- a/arch/arm/src/stm32/stm32_allocateheap.c +++ b/arch/arm/src/stm32/stm32_allocateheap.c @@ -466,7 +466,7 @@ # if CONFIG_MM_REGIONS < 2 # ifdef CONFIG_STM32_HAVE_CCM -# error "CCM SRAM excluded from the heap because CONFIG_MM_REGIONS < 2" +# warning "CCM SRAM excluded from the heap because CONFIG_MM_REGIONS < 2" # endif # undef CONFIG_STM32_CCMEXCLUDE # define CONFIG_STM32_CCMEXCLUDE 1