2019-05-29 11:10:01 +02:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright (c) 2017-2019 by Löwenware Ltd
|
|
|
|
* Please, refer LICENSE file for legal information
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file main.c
|
|
|
|
* @author Ilja Kartašov <ik@lowenware.com>
|
|
|
|
* @brief
|
|
|
|
*
|
|
|
|
* @see https://lowenware.com/
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "uart.h"
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
k_main(void);
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
k_main(void)
|
|
|
|
{
|
|
|
|
uart_init();
|
|
|
|
|
2019-05-30 08:44:01 +02:00
|
|
|
uart_puts((unsigned char *) "Lowe OS\n");
|
2019-05-29 11:10:01 +02:00
|
|
|
|
|
|
|
for (;;) {
|
2019-05-30 08:44:01 +02:00
|
|
|
__asm__("WFE");
|
2019-05-29 11:10:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|