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?
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 --predefine="-DXIP_IMAGE")
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 ?