os-core/sys/main.c

35 lines
563 B
C
Raw Normal View History

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();
uart_puts((unsigned char *) "Lowe OS\n");
2019-05-29 11:10:01 +02:00
for (;;) {
__asm__("WFE");
2019-05-29 11:10:01 +02:00
}
}