boards/arduino-mega2560: define UART for STDIO
This commit is contained in:
parent
be70924800
commit
abba25e068
@ -28,6 +28,11 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Use the UART 0 for STDIO on this board
|
||||||
|
*/
|
||||||
|
#define UART_STDIO_DEV UART_DEV(0)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief As the CPU is too slow to handle 115200 baud, we set the default
|
* @brief As the CPU is too slow to handle 115200 baud, we set the default
|
||||||
* baudrate to 9600 for this board
|
* baudrate to 9600 for this board
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user