1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/sodaq-*: use UART_UNDEF to enable Serial over STDIO

This commit is contained in:
Gunar Schorcht 2022-01-06 17:33:08 +01:00
parent 529c6fa5b4
commit a7dc4808b7
5 changed files with 15 additions and 5 deletions

View File

@ -35,7 +35,9 @@ extern "C" {
/**
* @brief On-board serial port mapping
*/
#define ARDUINO_UART_DEV UART_DEV(0)
#ifndef ARDUINO_UART_DEV
#define ARDUINO_UART_DEV UART_UNDEF
#endif
/**
* @brief Look-up table for the Arduino's digital pins

View File

@ -34,7 +34,9 @@ extern "C" {
/**
* @brief On-board serial port mapping
*/
#define ARDUINO_UART_DEV UART_DEV(0)
#ifndef ARDUINO_UART_DEV
#define ARDUINO_UART_DEV UART_UNDEF
#endif
/**
* @brief Look-up table for the Arduino's digital pins

View File

@ -34,7 +34,9 @@ extern "C" {
/**
* @brief On-board serial port mapping
*/
#define ARDUINO_UART_DEV UART_DEV(0)
#ifndef ARDUINO_UART_DEV
#define ARDUINO_UART_DEV UART_UNDEF
#endif
/**
* @brief Look-up table for the Arduino's digital pins

View File

@ -34,7 +34,9 @@ extern "C" {
/**
* @brief On-board serial port mapping
*/
#define ARDUINO_UART_DEV UART_DEV(0)
#ifndef ARDUINO_UART_DEV
#define ARDUINO_UART_DEV UART_UNDEF
#endif
/**
* @brief Look-up table for the Arduino's digital pins

View File

@ -34,7 +34,9 @@ extern "C" {
/**
* @brief On-board serial port mapping
*/
#define ARDUINO_UART_DEV UART_DEV(0)
#ifndef ARDUINO_UART_DEV
#define ARDUINO_UART_DEV UART_UNDEF
#endif
/**
* @brief Look-up table for the Arduino's digital pins