Skip to content

Commit 68c2012

Browse files
authored
Merge pull request hathach#1540 from phryniszak/master
Define CFG_BOARD_UART_BAUDRATE in CMake
2 parents 2754c64 + 023191b commit 68c2012

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

hw/bsp/board.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
#include "ansi_escape.h"
4242
#include "tusb.h"
4343

44-
#define CFG_BOARD_UART_BAUDRATE 115200
44+
// Define the default baudrate
45+
#ifndef CFG_BOARD_UART_BAUDRATE
46+
#define CFG_BOARD_UART_BAUDRATE 115200 ///< Default baud rate
47+
#endif
4548

4649
//--------------------------------------------------------------------+
4750
// Board Porting API

0 commit comments

Comments
 (0)