high RAM consumption for a BLE app

Hi all!

I have created a simple application that only turns on a led and power it off using BLE in NRF52810. The thing is that simple app uses a huge RAM (~85%) and flash. There is a way to reduce the consumption of RAM? I have seen a post were configuring some parameters to reduce the consumption, I have tried it, but it led to some errors when using BLE.

Best regards

Parents Reply Children
  • Thanks for the answer Simon.

    I have tried the prj_minimal.conf but I need to use the PWM for my project. I had enabled it adding CONFIG_NRFX_PWM0=y in the prj_minimal.conf but when I want to build, it give me an error:

    error: 'NRFX_PWM0_INST_IDX' undeclared here (not in a function); did you mean 'NRFX_PWM_INSTANCE'?
       62 |     .drv_inst_idx = NRFX_CONCAT_3(NRFX_PWM, id, _INST_IDX), \

    So, How can I solve it? or I need to use the prj.config without minimal?

    Best regards

Related