thermosphere: attempt to output to uart-c

This commit is contained in:
TuxSH
2019-07-19 01:45:56 +02:00
parent acae18365b
commit 1d225ed5f8
10 changed files with 958 additions and 55 deletions

View File

@@ -1,7 +1,15 @@
#include "utils.h"
#include "uart.h"
#include "car.h"
#include "log.h"
int main(void)
{
// Setup stuff
// Init uart (hardcoded atm)
uart_select(UART_C);
clkrst_reboot(CARDEVICE_UARTC);
uart_init(UART_C, 115200, true);
serialLog("Hello from Thermosphere!\n");
return 0;
}