Hi all,
I am using Stellaris LM3S9B96, running TI RTOS, my IDE is CCS 5.5
I dont quite understand BIOS_exit(Int stat) function,
it explains This function is called when a SYS/BIOS executable needs to terminate normally. This function sets the internal SYS/BIOS threadType to ThreadType_Main and then calls System_exit(stat), passing along the 'stat' argument.
what is stat argument? what is difference if it execute BIOS_exit(0), or BIOS_exit(1).
I would like to call BIOS_exit inside a task. so after it executes BIOS_exit, where the program counter will go to, right after BIOS_start(); I called BIOS_start() inside main function.
I have some code right after BIOS_start(), how can I exit RTOS and execute the code right after BIOS_start() inside main function.
Thanks in advance