Hi, I am trying to compile a simple program to flash LED on atmel AT89C55WD microcontroller. I use the following commands: sdcc led.c packihx < led.ihx > led.hex
However, this does not work on the microcontroller. I have the same code compiled with keil compiler and the hex file generated by keil flashes LED. In case of sdcc version, the only changes are: 1. #include <mcs51/at89c55.h> (instead of keil's .h file) 2. sbit light = P2_0 (instead of P2^0 for keil) Is there some flag or option that I'm missing ? I tried compiling with -mcs51 option and also adding int _sdcc_external_startup() { return 1;} but without success. Any suggestions ? thanks in advance, -siddharth ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user