thermosphere: add qemu support

This commit is contained in:
TuxSH
2019-07-22 01:04:53 +02:00
parent e6adccce6e
commit ada6b180cc
19 changed files with 343 additions and 26 deletions

View File

@@ -16,7 +16,7 @@
#include <stdio.h>
#include "log.h"
#include "uart.h"
#include "platform/uart.h"
#include "utils.h"
// NOTE: UNSAFE!
@@ -28,6 +28,6 @@ int serialLog(const char *fmt, ...)
int res = vsprintf(buf, fmt, args);
va_end(args);
uart_send(UART_C, buf, res);
uartWriteData(buf, (size_t)res);
return res;
}