.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 Reply
  • Hi,

    When I tried your code some locations issues came even though I placed it in the pca10100 ble_app_blinky folder. So I compared your code with the mine and made changes. This is what happens when I run it.

    The problem with linker script is that it changes to the older value as soon as I run the program. That why even when I increase the size of .text and .rodata, it still reset to the previous value and the error persists

Children
Related