This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error L6406E and L6407E (STM32L011F3P)

Hello, I just created a project with stm32cubeMX, after generating my code and importer on Keil, I can not compile while I did not even write my code and the STM32L011 to 8K of RAM normally. Thanks a lot for your help.

Create a project with STM32CubeMX
https://ibb.co/mP4aWF
https://ibb.co/kA4ndv
https://ibb.co/iGsvWF

The Error: L6406E: No space in execution regions with .ANY selector matching stm32l0xx_hal.o(i.HAL_GetTick).
Error: L6407E: Sections of aggregate size 0x70 bytes could not fit into .ANY selector(s).

https://ibb.co/hGgprF
https://ibb.co/cmHvWF

Configuration to Keil
https://ibb.co/iTRYJv
https://ibb.co/gGVtJv
https://ibb.co/k9WNBF

Thank you :).

  • Keil tools don't compile images. It would take a lot of effort to replicate, consider ZIPing up a complete project demonstrating the failure. Consider if the compiled code will fit in the device, and that the correct target and memory mapping has been selected.