This is my first post in this forum, i am starting with uCOS,i have gone through the uCOS book and have also downloaded the port for 8051 by John X. Liu, i am using keil 8.02(2k version) and its mentioned in the port files that the uCOS functions to be reentrant. when i compile i get these errors ucos_ii.h(117): warning C322: unknown identifier ucos_ii.h(976): error C320: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names" even after making the function reentrant as per keil grammer i get the same errors I also want to know that to which 8051 ports; uCOS is ported and what are the minimum stack requirements for uCOS. waiting for a positive responce..... Divya
Even for a very large 8051 project, an RTOS is usually overkill. Trying to use an RTOS with the 2K limited tools is pure folly!! "its mentioned in the port files that the uCOS functions to be reentrant." So read the Keil Manuals and see what they say about reentrancy!! "ucos_ii.h(117): warning C322: unknown identifier" So make it known, then! You haven't stated what version of the file you're using, or given any way that anyone could see what actually happens on line 117 of ucos_ii.h! How on earth do you expect anyone to help if you provide nothing to go on?? "ucos_ii.h(976): error C320: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE..." So provide it, then! Read the uCOS documentation, and see what it needs to be! "even after making the function reentrant as per keil grammer i get the same errors" Whatever makes you think that those messages have anything to do with reentrancy?? "I also want to know that to which 8051 ports; uCOS is ported and what are the minimum stack requirements for uCOS." If such basic information is not provided in the documentation, then I think it's best left well alone!
http://www.8052.com/forum/read.phtml?id=116285