int main(void) { // uint32_t pre = 0 ; uint8_t* p = 0; timer_config(); SPIx_Init(); Led_Init(); Key_Init(); Usart2_Init(9600); // enc28j60_init(mac); install_uart_dev(); stack_init(); // test_hardhandler(2,(int*)1); my_tftp_init(); telnet_service_init(); // web_server_init(); // *p = 1 ; #if 0 while(1) { stack_process(); Led_Process(); shell(); } #endif bootstart(); return 0 ; }
int main(void) { //SysTick_Init(); Led_Init(); Usart1_Init(); while(1) { Led_Process(); } }