Error Compiling LoRaWAN_End_Node_DualCoreFreeRTOS Example
Hi all,
I'm reading some code and compiling some examples before receive NUCLEO-WL55JC board.
Problems with this Example: [CM0PLUS]
en.stm32cubewl\STM32Cube_FW_WL_V1.0.0\Projects\NUCLEO-WL55JC\Applications\LoRaWAN\LoRaWAN_End_Node_DualCoreFreeRTOS
Consola Error:
c:\st\stm32cubeide_1.2.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: LoRaWAN_End_Node_DualCoreFreeRTOS_CM0PLUS.elf section `.text' will not fit in region `ROM'
c:\st\stm32cubeide_1.2.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: region `ROM' overflowed by 7360 bytes
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:69: LoRaWAN_End_Node_DualCoreFreeRTOS_CM0PLUS.elf] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.
To try to correct this error, I add optimization (-Os) to reduce the size of the CM0PLUS binary to 68KB (seeing it in the .map, since the size of the binary is 400MB ???).
Best Regards,
Sergio