I am working to resurrect some old code written for an olimex lpc2124 dev board. The code is written in C. I have a linker file and the crt0.s file. I can currently compile the code using the Make file that was made specifically for it. It may also be important to note that the compiler originally used was arm-elf-gcc in the winARM package. However, I want to be able to debug and change the code, so I am trying to get it to compile with uvision5 in order to use a uLink debugger.
I have switched the configuration to compile with gcc using the prefix arm-elf- and in the file C:\WinARM. Because that gave me the error that it could not find a file @.\blah I found a patch called arm-glue (from this guys website siwawi.bauing.uni-kl.de/.../) that fixes that when you follow the readme file. But even that didn't fix it all of the way.
This is my current output
Rebuild target 'Target 1' compiling armVIC.c... compiling EncoderF.c... compiling Feel.c... compiling knob.c... compiling PositionLoop.c... compiling PWM.c... assembling crt0.s... .\objects\crt0._ia: Assembler messages: .\objects\crt0._ia(0): warning: end of file not at end of a line; newline inserted .\objects\crt0._ia(1): error: junk at end of line, first unrecognized character is '-' .\objects\crt0._ia(2): error: junk at end of line, first unrecognized character is '-' ".\Objects\lpc2124ProjectDebug.elf" - 2 Error(s), 1 Warning(s). Target not created. Build Time Elapsed: 00:00:01
But, when I look in the object folder of my project, there are only .__i files, no .o files. How can I fix this? Has anyone experienced this before? I've been digging through the internet for 3 days with very little success.
Let me know if there is anything else I should specify to help find a solution.
Thanks!