2021-05-14 06:37:47 +00:00
|
|
|
#include <stdint.h>
|
2021-05-17 08:40:25 +00:00
|
|
|
|
2021-05-14 06:37:47 +00:00
|
|
|
#include "../../bsp/include/sim_ctrl.h"
|
2021-05-17 08:40:25 +00:00
|
|
|
#include "../../bsp/include/uart.h"
|
2021-05-14 06:37:47 +00:00
|
|
|
#include "../../bsp/include/xprintf.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2021-05-17 08:40:25 +00:00
|
|
|
#ifdef SIMULATION
|
2021-05-14 06:37:47 +00:00
|
|
|
sim_ctrl_init();
|
2021-05-17 08:40:25 +00:00
|
|
|
#else
|
|
|
|
uart_init();
|
|
|
|
#endif
|
2021-05-14 06:37:47 +00:00
|
|
|
|
|
|
|
xprintf("hello world\n");
|
|
|
|
|
|
|
|
while (1);
|
|
|
|
}
|