Showing results for 
Search instead for 
Did you mean: 

Accessing ram2 32k memory in STM32WLE5CC

Associate II

HI everyone,

I need to access my ram 2 (ram1 = 32k and ram2 = 32k - contiguous to ram1 )  , i am using __attribute__((section(".RAM2_region"))) for the function which i have to shift it to ram2 and i have not changed anything in the linker script i have attached the  linker script to my message , can anyone guide me if this is the correct way because my micro controller is working fine with the ram2 change but just to make sure i am doing it correctly. The code which i am using is  LoRaWAN example code in which they have declared RAM2 in their linker script.