Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hello Gays:
I am trying to learn how to use sys/bios,the CCS version that I use is CCS5.2.1.00018 (that is included in the DVD of TMDSEVM6678 box ),and bios_6_33_05_46/bios_5_41_13_42.
In the follow step I setup the project:
1.New CCS project ,:
as shown in the picture, use the Generic Examples->Hello Example.
2.set the platform as the picture:
3.and then I get the very easy source code :
/*
* ======== hello.c ========
* The hello example serves as a basic sanity check program for SYS/BIOS. It
* demonstrates how to print the string "hello world" to stdout.
*/
#include <xdc/std.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
/*
* ======== main ========
*/
Void main()
{
System_printf("hello world\n");
/*
* normal BIOS programs, would call BIOS_start() to enable interrupts
* and start the scheduler and kick BIOS into gear. But, this program
* is a simple sanity test and calls BIOS_exit() instead.
*/
BIOS_exit(0); /* terminates program and dumps SysMin output */
}
4.next I build it and load the program into the EVM,run,but I get the error:
No source available for "C$$EXIT() at C:\Users\dell\workspace_v5_2\helloworldBios\Debug
Do anyone know what it mean,and how can I make it work ?