On Tue, 2013-02-19 at 17:09 +0000, ming jiang wrote:
> I tried to compile the demo of 8051 port from FreeRTOS 7.3.0 with SDCC
> win32 2.8.0 on Windows XP.Only the main.c was compiled successfully
> and the compilation of other files in demo project showed some bizzare
> warnings or errors.

It might be easier and less time consuming to use the latest
sdcc and freertos, fixing all the error's along the way.
You can even contribute to freertos by reporting the changes
(with a diff file).


> Could you tell me in little more detail how did you modify the
> c8051f102.h to compile the 8051 port with FreeRTOS 7.3.0 succefully.

I did not get the freertos source to compile just like I
wrote, but I saw no errors anymore after updating the
processor header file.
The notation of the keywords changed some time ago in sdcc
like sbit became __sbit, xdata became __xdata and so on.
That is what I changed.
Read the documentation and/or look in the supplied processor
header files that came with the latest sdcc source.
After that I changed a few of the "new" errors until I got
to one I did not understand and had no time to investigate
due to my work.

roelof

ps. I am not a C programmer but I do try to understand it
and write programs for my uC projects.



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to