I am developing a project for LPC54018 iot module where I am using
MDK toolchain to compile the project through the command line. I am
developing cmake based build environment.
While compiling, I am facing the error "No section matches
selector - no section to be FIRST/LAST". What is the issue and How I
can resolve this?
Probably a disparity between the startup.s file and the scatter
file the linker is using.
Likely entirely missing a startup file.
Yes. How can I link the startup file using CMake?
That's not a Keil thing, is it?
using toolchain of Keil. but developing project to build using the
The startup file is a source file like all your other files.
Compile it and link it like any other source file.
It might be assembler ...
I compiled the start-up file, created .o file and I linked this .o
file with binary. While flashing this binary from Keil, it shows
error like: Error: Flash Download failed - "Cortex-M4". and error on
console "No Algorithm found for: 00000000H - 00005B53H"
So I added one linker option using: target_link_options(Mcu PUBLIC
After adding this linker option, the built binary is flashing but
the application is not working/started.
The code is wrriten to blink the LED. But it is not blinking. The
code is verified and working with other toolchain.
Please let me know what is missing.
So what debugging have you done to find out what's wrong
View all questions in Keil forum