Hi all,

I'm working on a project and looking at the STM32F405RG with NuttX but
I'm running into some issues getting it to compile. For a dev board,
I'm using the SparkFun STM32 Thing Plus board, and my hope is to get
the console running on the USB port, but first I just want to get a
serial console working.

What I've tried to do:
1. Run configure with a similar processor: ./tools/configure.sh -l
nucleo-f4x1re:f401-nsh
2. Change the system type via menuconfig(System Type -> STM32 Chip
Selection, select STM32F405RG)
3. Try to build(using 'make').  This fails with an error:
./chip/stm32_allocateheap.c:469:10: error: #error "CCM SRAM excluded
from the heap because CONFIG_MM_REGIONS < 2"
4. Try to reconfigure NuttX with menuconfig, but now things are stuck
and don't work:
robert@debian:~/nuttx$ make menuconfig
CP: arch/dummy/Kconfig to /home/robert/nuttx/arch/dummy/dummy_kconfig
CP: boards/dummy/Kconfig to /home/robert/nuttx//Kconfig
LN: platform/board to /home/robert/apps/platform/dummy
LN: include/arch to arch/arm/include
LN: include/arch/board to /home/robert/nuttx//include
LN: drivers/platform to /home/robert/nuttx/drivers/dummy
LN: include/arch/chip to /home/robert/nuttx/arch/arm/include/stm32
LN: arch/arm/src/chip to /home/robert/nuttx/arch/arm/src/stm32
LN: arch/arm/src/board to /home/robert/nuttx//src
No directory at /home/robert/nuttx//src
make[1]: *** [tools/Unix.mk:300: arch/arm/src/board] Error 1
make: *** [tools/Unix.mk:684: menuconfig] Error 2

Any thoughts as to what to look into to try and fix the problem?
Trying to build on Debian 11, with ARM GCC 8.3.1 from apt.

-Robert Middleton

Reply via email to