Example #1
0
int main(void)
{
	NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x5000); 
	Mema_Init(&MemBuf[0]);
	DeviceList_Init();
	DeviceMount_Usart(USART1);
	DeviceMount_Usart(USART2);
	DeviceMount_ISL1208(IO_ISL1208_List);
	DeviceMount_IO(IO_IO_List);
	DeviceMount_W25Q16();
	Tos_ListCreate(TaskList);
	while(1);
}
Example #2
0
int main(void)
{
    static uint8 MemBuf[40000];
    Mema_Init(&MemBuf[0]);
    DeviceList_Init();
    DeviceMount_Lcd();
    DeviceMount_Usart(USART2);
    //DeviceMount_Usart(USART1);
    //DeviceMount_ZigBee();
    //DeviceMount_Usb();
    DeviceMount_IO();
    Tos_ListCreate(TaskList);
    while(1);
}