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

error: L6236E: No section matches selector - no section to be FIRST/LAST.

Hello,

I am working with nRF52832 and using Keil uVISION 5.

While building the exapmple from nRF SDK v15, I am getting this error :

error: L6236E: No section matches selector - no section to be FIRST/LAST.

I also tried the following suggested on ARM forum, but the error remains same.

  • I opened the project in keil.
  • In target->linker, I unchecked Use memory layout from target dialogue.
  • Entered 0x00026000 in R/O base and 0x200018A8 in R/W base address from .sct file in \..\components\softdevice\s132\hex\s132_nrf52_6.0.0_softdevice.sct

******File content********

; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************

LR_IROM1 0x00026000 0x0005A000  {    ; load region size_region
  ER_IROM1 0x00026000 0x0005A000  {  ; load address = execution address
   *.o (RESET, +First)
   *(InRoot$$Sections)
   .ANY (+RO)
  }
  RW_IRAM1 0x200018A8 0x0000E758  {  ; RW data
   .ANY (+RW +ZI)
  }
}

Any help?

Parents Reply Children
No Data
Related