I am using S32K311, I added the library file to the project through new, after compiling, there will be an error. May I ask if there is any solution
Solved! Go to Solution.
Hi,
the app_callbacks.h is not visible for the Release configuration. Please check the Include paths.
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.
Hi,
the app_callbacks.h is not visible for the Release configuration. Please check the Include paths.