官网上下载的协议栈,安装的iar7.4版本 然后运行了协议栈中自带的例程。然后啥也看不懂,程序跑哪里去了也不知道,就是在bios_start()这里了,
Void main()
{
Task_Params taskParams;
// set RFC mode to support IEEE802.15.4
// Note: This must be done before the RF Core is released from reset!
SET_RFC_MODE(RFC_MODE_IEEE);
// enable iCache prefetching
VIMSConfigure(VIMS_BASE, TRUE, TRUE);
// Enable cache
VIMSModeSet(VIMS_BASE, VIMS_MODE_ENABLED);
/* Initialization for board related stuff such as LEDs
* following TI-RTOS convention */
PIN_init(BoardGpioInitTable);
// Configure task.
Task_Params_init(&taskParams);
taskParams.stack = myTaskStack;
taskParams.stackSize = MY_TASK_STACK_SIZE;
taskParams.priority = 1;
Task_construct(&myTask, taskFxn, &taskParams, NULL);
BIOS_start(); /* enable interrupts and start SYS/BIOS */
}
请问,我想填写我自己的代码,在哪里写啊,还有就是能不能不跑系统,怎么去掉这个系统呢?谢谢