Split UART_MODE_NONE and UART_MODE_DEBUG

This commit is contained in:
Raphael Coeffic
2022-03-20 16:30:59 +01:00
parent f95597a7ce
commit 6b9c4fe165
18 changed files with 25 additions and 65 deletions
+3 -1
View File
@@ -165,7 +165,9 @@ void boardInit()
__enable_irq();
initSerialPorts();
#if defined(DEBUG)
serialInit(SP_AUX1, UART_MODE_DEBUG);
#endif
TRACE("\nHorus board started :)");
TRACE("RCC->CSR = %08x", RCC->CSR);