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
  • Thanks for confirming that it worked. The problem doesn't make sense to me because you already had the __UNUSED symbol defined in your compiler_abstraction.h header.  The only thing I can think of is that Keil for some reason is including an outdated version of it (older packs versions did not include this symbol). You can inspect the include headers as shown below and verify that they all have this symbol.

Children
Related