After importing library files, compiling indicates insufficient SRAM space

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

After importing library files, compiling indicates insufficient SRAM space

999 Views
zenging
Contributor I

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.

 

d393e27b83266255ed12e101b721612.png47e174bc237c76e8900a273102d58a3.pngimage.png

After I checked (Remove unused sections), it still does not work, and the same error will occur when compiling.

46bd88dff20a67b25d2f0f14db6334b.png

0 Kudos
Reply
1 Reply

955 Views
zenging
Contributor I

Hi, I need to add something extra because I saw an error message that seemed to be about a lack of Sram space.

viewfile.png
So I made some changes to the (.ld) file to expand the SRAM space for normal compilation and debugging.

企业微信截图_17276667145454.png
However, when I modified it and recompiled it, I found a hard fault. I would like to ask some questions.

企业微信截图_1727666701490.png
1. Am I on the right path?
2. What should be done about this hard fault?
3. If my thinking is wrong, what method should I use to solve the problem I meet?


thank you

0 Kudos
Reply