|
From: Erlo H. <erl...@gm...> - 2013-02-17 20:30:05
|
On 02/17/2013 06:36 PM, ming jiang wrote: > Hi Guys > Hi there... > Happy Family Day! > > > I tried to make the FreeRTOS demo for C8051F120TB with SDCC 3.2 in > Silabs IDE on Windows 7.When I compiled the main.c file > separately,following error message came out. > > > Sdcpp.exe: fatal error: when writing output to : Invalid argument > FreeRTOS\Demo\Cygnal\/C8051F120.h:28: syntax error:token -> ‘__at’ ; > column 8 > > > I also did same thing on Windows XP,the same error message popped up. > Then I turned to try the simple demo in Silabs Application Note ( an198 > : Integrating SDCC 8051 tools into the Silicon Labs IDE),the weird > similar error message appeared > > > Sdcpp.exe: fatal error: when writing output to : no error > D:/SDCC TEST/Silabs IDE Blinky/F020.h:13: syntax error: token -> ‘__at’ > ; column 6 > > > I can’t find out something like error message explanation in SDCC > Compiler User Guide. > > > What’s wrong with those error messages? > Have you specified the processor type to SDCC? I don't have the code mentioned, but __at is correct, maybe something else on the source line is confusing the compiler?? Erlo |