This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to reduce the ram consumption on nrf52810 sdk15.3.0 ble_app_buttonless_dfu example project?

SDK:SDK15.3.0

Example: ble_app_buttonless_dfu project.

MCU : nrf52810

SD: s112

Hi,i want to know how to reduce the ram consumption on nrf52810 sdk15.3.0 ble_app_buttonless_dfu example project?

I have already disable the fds and pm in config file.

Q1: If there is other solution for reduce the ram consumption in ble_app_buttonless_dfu example project?

Q2:Is there any risk for setting heap and stack to zero in makefile file to reduce the ram consumption in ble_app_buttonless_dfu example project?

Thanks for your attention.

Parents
  • Hi,

    Q1: If there is other solution for reduce the ram consumption in ble_app_buttonless_dfu example project?

    You could turn off the features in the sdk_config.h if they are not used in the project. 

     

    Q2:Is there any risk for setting heap and stack to zero in makefile file to reduce the ram consumption in ble_app_buttonless_dfu example project?

     If you don't use any dynamic memory you can safely set the heap size to 0. Neither the SoftDevice nor any of the SDK examples/libraries use the heap.

    -Amanda H.

Reply
  • Hi,

    Q1: If there is other solution for reduce the ram consumption in ble_app_buttonless_dfu example project?

    You could turn off the features in the sdk_config.h if they are not used in the project. 

     

    Q2:Is there any risk for setting heap and stack to zero in makefile file to reduce the ram consumption in ble_app_buttonless_dfu example project?

     If you don't use any dynamic memory you can safely set the heap size to 0. Neither the SoftDevice nor any of the SDK examples/libraries use the heap.

    -Amanda H.

Children
No Data
Related