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.

I am trying to run the ble_app_beacon example code for board pca10040 but I am getting the following error

.\_build\nrf52832_xxaa.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 1 error messages.
".\_build\nrf52832_xxaa.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:41

What seems to be the issue?

Parents Reply
  • Can you try  to replace the  __UNUSED symbols  with __attribute__((unused)) in the nrfxx_erratas.h files you have in located C:\Users\syeds\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.31.0\Device\Include\ to confirm it's not related to the symbol definition in compiler abstraction? I don't see any other possible reasons as to why you are getting this build error. Maybe I'm overlooking something obvious.

Children
Related