Hi all,
I’m currently trying to use the OpenMV H7 Plus version installing the firmware including CubeAI. I have followed the steps in openmv/src/stm32cubeai at master · openmv/openmv · GitHub and in openmv/README.md at master · openmv/openmv · GitHub to build the firmware with the X CUBE AI package enabled for that specific target. For the compiling step, after selecting the correct version of the gcc arm toolchain, I run:
make -j4 CUBEAI=1 TARGET=OPENMV4P
This is the output I get when building it with the network that is in src/stm32cubeai/example/.
/home/elena/gcc-arm-none-eabi-7-2018-q2-update/bin/…/lib/gcc/arm-none-eabi/7.3.1/…/…/…/…/arm-none-eabi/bin/ld: /home/elena/openmv/src/build/bin/firmware.elf section .text' will not fit in region
FLASH_TEXT’
/home/elena/gcc-arm-none-eabi-7-2018-q2-update/bin/…/lib/gcc/arm-none-eabi/7.3.1/…/…/…/…/arm-none-eabi/bin/ld: /home/elena/openmv/src/build/bin/firmware.elf section ._stack' will not fit in region
SRAM1’
/home/elena/gcc-arm-none-eabi-7-2018-q2-update/bin/…/lib/gcc/arm-none-eabi/7.3.1/…/…/…/…/arm-none-eabi/bin/ld: region SRAM1' overflowed by 1776 bytes /home/elena/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: region
FLASH_TEXT’ overflowed by 133656 bytes
collect2: error: ld returned 1 exit status
Makefile:608: recipe for target ‘firmware’ failed
make: *** [firmware] Error 1
I tried to edit some parameters in src/omv/boards/OPENMV4P/omv_boardconfig.h as the troubleshooting indicates, but I did not get any results, basically I observe the same error.
Any ideas?
Thanks.