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

ld file and RAM for nRF52

Hello,

Is my ram reservation right for nRF52 with S132 ?

see in app_ram_base.h APP_RAM_BASE_CENTRAL_LINKS_3_PERIPH_LINKS_1_SEC_COUNT_3_MID_BW = 0x2F50

RAM (rwx) : ORIGIN = 0x20002F50, LENGTH = 0xD030 NOINIT (rwx) : ORIGIN = 0x2000FF80, LENGTH = 0x80 => for bootloader

What is sec count parameter ?

Parents
  • from the documentation ...

    uint8_t ble_gap_enable_params_t::central_sec_count
    Number of SMP instances for all the central links.
    

    looks right - if those are the parameters you have used - however you should do what's recommended and pass in a pointer to the ram base and then see what the SD gives you back, you may be reserving more than you need.

Reply
  • from the documentation ...

    uint8_t ble_gap_enable_params_t::central_sec_count
    Number of SMP instances for all the central links.
    

    looks right - if those are the parameters you have used - however you should do what's recommended and pass in a pointer to the ram base and then see what the SD gives you back, you may be reserving more than you need.

Children
Related