2020-10-28 11:20 PM
There is somthings wrong in settings of my CubeMX?
There is some optimizzatione that I can do?
If I don't use CubeMX ( and so I don't use HAL), there is another libraryes that I can use in order to manage the MCU without managing register ?
Thanks.
2020-10-29 05:01 AM
The NUCLEO-L011 only has 16 kB of FLASH and 2kB of SRAM. The majority of STM32 chips have significantly more than this so it's less of an issue. HAL is not built to be space efficient.
You could ditch HAL and use direct register access to reduce space. You should also ensure you're on the highest optimization settings to cut down on space needed. You could also look at different compiler, linker and newlib nano setting to cut down on space.
2020-11-01 02:06 PM
thanks for your aswer, I will serach for more efficient libraries to manage NUCLEO_L011.