Content originally posted in LPCWare by TheFallGuy on Sun Apr 07 08:16:04 MST 2013
Quote: kisiel
I have already done this. I post whole project "test" here with two files. And as return I receive, you build two files... ok how to edit multiple files then?
Simple use external editor with syntax highlighter for files (.inc or .src) or put all files into one. This is not the USER problem, in LPCxpresso there is no solution for mulitply assembler files because no one mention it, yet :)
As you seem to be hard of thinking, let me try to explain again.
The IDE will call the assembler on EVERY file with a .s extension. So, if You include one .s file in another, it will be assembled twice. Once on its own, and once as part of the file it is included in.
By renaming the file to .src means that the IDe does not know it is an assembler file and therefore will not build it, meaning you don't get the error.
Take a look at the build log and you will see what I mean.
If you do not understand, I suggest you attend a programming class, where they can help you.