.text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?

I am using nRF52833 PCA10100 board. While trying to run sample ble code in segger embedded studio, I am frequently facing this error which says, .text file is larger than specified size. What should I do? The nrf5sdk already have less example code for pca10100, even blinky is not available. When I try with the available sample code like ble-uart, this error is happening.

Parents
  • Hi, 

    Have you managed to run any BLE example made for PCA10100 ? For example the ble_app_uart ? Did you make any modification ? 

    When I build the ble_app_uart for PCA10100 I have this memory result: 

    So there still lots of space in the flash and the text area is not occupied much. You may have to double check if there is any wrong configuration. 

    The flash size of the nRF52833 is limited (512kB) so you may want to consider using S113 softdevice (which is smaller size than S140) if the flash size is not enough. 

Reply
  • Hi, 

    Have you managed to run any BLE example made for PCA10100 ? For example the ble_app_uart ? Did you make any modification ? 

    When I build the ble_app_uart for PCA10100 I have this memory result: 

    So there still lots of space in the flash and the text area is not occupied much. You may have to double check if there is any wrong configuration. 

    The flash size of the nRF52833 is limited (512kB) so you may want to consider using S113 softdevice (which is smaller size than S140) if the flash size is not enough. 

Children
Related