Relocating Data into RAM

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

Relocating Data into RAM

571 Views
yujinsheng
Contributor I

I want to fix the variable in the function to the fixed RAM address, but it does not clear after reset, but it has not been realized. Could you provide an example or method

Using hardware: s32k116

0 Kudos
3 Replies

503 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

please take a look at this thread:

https://community.nxp.com/thread/479342 

Regards,

Lukas

0 Kudos

503 Views
yujinsheng
Contributor I

thanks for your reply!

  • I want to set all of the.c file variables to a fixed segment

    Your method is to solve a variable that I have set successfully

0 Kudos

503 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

In this case, see please this one:

define linker section for entire file 

or

https://community.nxp.com/thread/331043 

Regards,

Lukas

0 Kudos