|
From: | Kang Tin LAI |
Subject: | Re: [avr-gcc-list] RE: avr-gcc-list Digest, Vol 15, Issue 12 |
Date: | Wed, 28 Apr 2004 20:48:52 +0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
[Robert] Your guess is wrong. I am using MicroCos-ii (ucos-ii) and it does not come with any libraries. It's just the kernel and some OS services. This means that for the AVR I have to use the standard C libraries that come with avrlibc.
I modified malloc() & free() in avrlibc to use with my own kernel by adding a common resource lock.
Have to use auto "FILE *" only, I didn't test all, but most of the stdio functions found working. Global "FILE *" of course guarantee crash, ;)
-- --- Kang Tin LAI <ktlai©hk·net> -----
[Prev in Thread] | Current Thread | [Next in Thread] |