I just got a strange error message when I built the project for target in Visual Studio:
Use YTPP
... Compiling gprs.c
/cygdrive/f/DOKUME~1/marx/LOKALE~1/Temp/ccbMYyOf.s: Assembler messages:
/cygdrive/f/DOKUME~1/marx/LOKALE~1/Temp/ccbMYyOf.s:1757: Error: byte or halfword not valid for base register -- `strb r3,[sp]'
make: *** [gprs.o] Fehler 1
I don’t know how to look for the error since the assembler file is deleted after the build run - and of course I don’t get an error when I build the RTE version…
Well, I found the code that causes the problem by deactivating sections of the code in the file… It took me like 20 compile runs to isolate these lines: