]> mj.ucw.cz Git - home-hw.git/blobdiff - ssr/Inc/util.h
SSR: Debugging over USART
[home-hw.git] / ssr / Inc / util.h
index 0beed7c87232f5748061bc26b52585eb2524b8ea..405098c869505bb5ae6780c5c1c1da12edba0ad2 100644 (file)
@@ -38,7 +38,8 @@ static inline void put_u32_be(byte *p, u32 x)
 
 // debug.c
 
-#define DEBUG_SEMIHOSTING
+#undef DEBUG_SEMIHOSTING
+#define DEBUG_USART USART1
 
 void debug_printf(const char *fmt, ...);
 void debug_puts(const char *s);