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

Getting "No space in execution region" errors.

Hi.

I'm trying to declare an uint16_t array while programming on the NRF52 Development kit as follows :

uint16_t FinalSignalArray[225000];

However, I keep getting the following errors:

.\_build\nrf52832_xxaa.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).
.\_build\nrf52832_xxaa.axf: Error: L6406E: No space in execution regions with .ANY selector matching arm_startup_nrf52.o(STACK).
.\_build\nrf52832_xxaa.axf: Error: L6406E: No space in execution regions with .ANY selector matching app_uart_fifo.o(.bss).
.\_build\nrf52832_xxaa.axf: Error: L6406E: No space in execution regions with .ANY selector matching nrf_drv_uart.o(.bss).
.\_build\nrf52832_xxaa.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.data).
.\_build\nrf52832_xxaa.axf: Error: L6406E: No space in execution regions with .ANY selector matching app_uart_fifo.o(.data).
.\_build\nrf52832_xxaa.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_nrf52.o(.data).
.\_build\nrf52832_xxaa.axf: Error: L6406E: No space in execution regions with .ANY selector matching errno.o(.data).
.\_build\nrf52832_xxaa.axf: Error: L6407E: Sections of aggregate size 0x6ff28 bytes could not fit into .ANY selector(s).

What should I do ? Please advise. :(

Parents Reply
  • A 450kB array on a chip with 512kB of flash? Are you sure you're using an appropriate chip for this application? The general use of the nRF series is really to run bluetooth, which you won't be able to do as the bluetooth stack alone takes 112kB out of the 512kB on the chip and you don't have that left.

    This is really data which cannot be calculated on the fly, or stored in a much more compressed format?

Children
No Data
Related