Hi,
This linking error indicates the data sections do not fit into internal SRAM memory.
If this happen after you add a library to the project - it may indicate that the linker does not dead-strip the unused library functions.
Could you check if the linker option is enabled:
--gc-sections
enable the option and rebuild the project.
If it does not help, please check your code/data may not fit into the memory.
Hope it helps.
Stan
HI,@stanish
As you suggested, I enabled --gc-sections and recompiled the project. When I use Debug_Flash, I can enter the debug phase normally.
However, I find that I still get an error when I use release_Flash. I want to ask how to solve it.