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

arm, keil

Solution

I Added this answer for newbies, So, After create new project do same as picture:

Problem

I'm new to `ARM` programming using `Keil Microvision V5.12` compiler. I can't compile a simple assembly project getting this error: ``` .\Objects\learn.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST. ``` I've tried searching and couldn't find any solution for this problem. This is what I do: - Create a project (without the startup file) - Add a new assembly file (learn.s) - Click `Build Target`. Can anybody help?

Original source