If you want a RTOS to run your application, you compile your source code and make it a relocatable module(in ELF relocatable format, for example).

numnum (numnum)
Then you download this module into the RTOS, the dowanload untiliy in the RTOS can analyze your symbol table,
global offset table, etc. And it merges your module symbol table with
the kernel symbol table , as well as calculate relocated addresses.
After that, it looks like that your application is included in the RTOS kernel.
The only thing you need to do is to invoke the proper function from Shell

2001-4-25 -04:00

回到话题: Wish experts answer my questions in c programming under Unix in a real time system: Thanks! 1. how to enlarge the stack size in a c program? 2. should main() be the driver function in in a c program?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论