1 98601545 2023-02-18 continue // kernel.cc
3 8b3b29b7 2023-02-18 continue #include <uart.h>
6 98601545 2023-02-18 continue namespace
11 8b3b29b7 2023-02-18 continue uart_send_string(const char *szContent)
13 98601545 2023-02-18 continue const char *szCurrent = szContent;
14 98601545 2023-02-18 continue while (*szCurrent)
15 8b3b29b7 2023-02-18 continue Board::Uart::send(*szCurrent);
22 98601545 2023-02-18 continue extern "C"
24 98601545 2023-02-18 continue kernel_entry_point()
26 8b3b29b7 2023-02-18 continue Board::Uart::initialize();
29 8b3b29b7 2023-02-18 continue uart_send_string("Test ECHO mode\r\n");
31 98601545 2023-02-18 continue for (; ; )
32 8b3b29b7 2023-02-18 continue Board::Uart::send(Board::Uart::recv());