Blob
1 // kernel.cc3 #include <uart.h>6 namespace {9 void10 uart_send_string(const char *szContent)11 {12 const char *szCurrent = szContent;13 while (*szCurrent)14 Board::Uart::send(*szCurrent);15 }18 } // anonymous namespace21 extern "C"22 void23 kernel_entry_point()24 {25 Board::Uart::initialize();28 uart_send_string("Test ECHO mode\r\n");30 for (; ; )31 Board::Uart::send(Board::Uart::recv());32 }