FLEXRAM Usage As SRAM

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

FLEXRAM Usage As SRAM

207 Views
kesanli_cinci
Contributor I

Hello,

I want to use FlexRam as SRAM in s32k116 microcontroller. In default, FlexRam is configured as RAM. How should I add FlexRam section to linker file?  

I want to reduce SRAM usage which is 15kb in S32K116. That's why, I plan to use FlexRam as SRAM to add additional 2kb memory. I can not concatenate SRAM and FlexRam directly, because its start address is 0x1400 0000. I think that I probably need to define FlexRam in linker file and then I can store some data in FlexRam after defining it linker file. 

In order to store data in FlexRam, should I use "__attribute__"  ? 

 

0 Kudos
Reply
1 Reply

189 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @kesanli_cinci,

It was discussed in this thread:

https://community.nxp.com/t5/S32K/FLAXRAM-for-s32k144/m-p/1575503#M19702

 

Please have a look,

BR, Daniel

0 Kudos
Reply