Hi,
i am working on sdk14.2 in SEGGER EMBEDDED STUDIO, i am trying add some file to ble_app_blinky_pca10040_s132 example at the time of compilation i am getting linking error as section `.config' will not fit in region `UNPLACED_SECTIONS'. After going through lot of quires come to know that i need to add .config in flash_placement.xml file
<ProgramSection alignment="4" load="Yes" name=".config" />
then i added above line in flash_placement.xml file it clears error and compiled successfully
then i move further adding some files after adding i start compiling again it gives similar error
i.e, Output/Debug/Exe/ble_app_blinky_pca10040_s132.elf section `.dmRamBuffer' will not fit in region `UNPLACED_SECTIONS'
region `UNPLACED_SECTIONS' overflowed by 4096 bytes
the only difference is .config replace with .dmRamBuffer, i added
<ProgramSection alignment="4" load="Yes" name=".damRamBuffer" /> in flash_placement.xml file but this time gives 'build failed'
i declare as below,
int RAMBuffer[RAM_BUFFER_SIZE] __attribute__ ((section(".dmRamBuffer")))
__attribute__((used));
any one please help me, thanks in advance.