This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

S130 linker memory allocation

Hello!

The linker file for S130 v2 on nrf51822_xxaa states the following:

MEMORY
   {
     FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000
     RAM (rwx) :  ORIGIN = 0x20000000, LENGTH = 0x4000
   }

And the release notes the following:

The combined MBR and SoftDevice memory requirements for this version are as follows:

  • Flash: 108 kB ( 0x1B000 bytes).
  • RAM: 4.9 kB ( 0x13C8 bytes) (minimum required memory - actual requirements are dependent upon the configuration chosen at sd_ble_enable() time).

So should the linker file be modified to what is bellow?

MEMORY
   {
     FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000
     RAM (rwx) :  ORIGIN = 0x200013c8, LENGTH = 0x2c38
   }