Skip to content

Commit

Permalink
boards: use default values for STDIO defines
Browse files Browse the repository at this point in the history
  • Loading branch information
haukepetersen committed Jan 5, 2016
1 parent e071bea commit db25206
Show file tree
Hide file tree
Showing 46 changed files with 4 additions and 404 deletions.
9 changes: 0 additions & 9 deletions boards/airfy-beacon/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@
#define XTIMER_BACKOFF (40)
/** @} */

/**
* @name Define the boards stdio
* @{
*/
#define STDIO UART_DEV(0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name Macros for controlling the on-board LEDs.
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/arduino-due/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ extern "C" {
*/
#define F_CPU (84000000UL)

/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_DEV(0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
7 changes: 2 additions & 5 deletions boards/arduino-mega2560/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,10 @@ extern "C" {
#define F_CPU (16000000L)

/**
* @name Define UART device and baudrate for stdio
* @{
* @brief As the CPU is too slow to handle 115200 baud, we set the default
* baudrate to 9600 for this board
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (9600U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
Expand Down
9 changes: 0 additions & 9 deletions boards/avsextrem/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ extern "C" {
#define LED_RED_TOGGLE (FIO3PIN ^= LED_RED_PIN)
/** @} */

/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @brief Initialize the board's clock system
*/
Expand Down
9 changes: 0 additions & 9 deletions boards/cc2538dk/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ extern "C" {
*/
#define F_CPU XOSC32M_FREQ

/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE 115200
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name Macros for controlling the on-board LEDs.
* @{
Expand Down
12 changes: 0 additions & 12 deletions boards/chronos/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,6 @@ extern "C" {
#define XTIMER_SHIFT_ON_COMPARE (4)
/** @} */

/**
* @brief Standard input/output device configuration
*
* This defines are for compatibility with the CPU implementation but they are
* not used for this board (as it has no UART interface accessible...)
* @{
*/
#define STDIO (0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

#define MSP430_INITIAL_CPU_SPEED 7372800uL
#define F_CPU MSP430_INITIAL_CPU_SPEED
#define F_RC_OSCILLATOR 32768
Expand Down
9 changes: 0 additions & 9 deletions boards/ek-lm4f120xl/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
extern "C" {
#endif

/**
* @name Define the boards stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name Macros for controlling the on-board LEDs.
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/f4vi1/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@ extern "C" {
*/
#define F_CPU CLOCK_CORECLOCK

/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_DEV(0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/fox/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ extern "C" {
*/
#define F_CPU CLOCK_CORECLOCK

/**
* @name Define the UART to be used as stdio and its baudrate
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name Define the interface to the AT86RF231 radio
*
Expand Down
9 changes: 0 additions & 9 deletions boards/frdm-k64f/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ extern "C"
*/
#define F_CPU CLOCK_CORECLOCK

/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_0
#define STDIO_RX_BUFSIZE (64U)
#define STDIO_BAUDRATE (115200U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
7 changes: 1 addition & 6 deletions boards/iotlab-m3/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,12 @@ extern "C" {
#define F_CPU CLOCK_CORECLOCK

/**
* @name Define the UART to be used as stdio, its baudrate, and the size of
* receiving ringbuffer
* @name Set the default baudrate to 500K for this board
* @{
*/
#define STDIO UART_0

#ifndef STDIO_BAUDRATE
# define STDIO_BAUDRATE (500000U)
#endif

#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
Expand Down
9 changes: 0 additions & 9 deletions boards/limifrog-v1/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ extern "C" {
#define F_CPU CLOCK_CORECLOCK
/** @} */

/**
* @name Define the UART to be used as stdio and its baudrate
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/mbed_lpc1768/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ extern "C" {
*/
#define F_CPU (96000000)

/**
* @name Assign the UART interface to be used for stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/msb-430/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@ extern "C" {
#define XTIMER_BACKOFF (40)
/** @} */

/**
* @brief Standard input/output device configuration
* @{
*/
#define STDIO (0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/* MSB430 core */
#define MSP430_INITIAL_CPU_SPEED 2457600uL
#define F_CPU MSP430_INITIAL_CPU_SPEED
Expand Down
9 changes: 0 additions & 9 deletions boards/msb-430h/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,6 @@ extern "C" {
#define XTIMER_BACKOFF (40)
/** @} */

/**
* @brief Standard input/output device configuration
* @{
*/
#define STDIO (0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

//MSB430 core
#define MSP430_INITIAL_CPU_SPEED 7372800uL
#define F_CPU MSP430_INITIAL_CPU_SPEED
Expand Down
9 changes: 0 additions & 9 deletions boards/msba2/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ extern "C" {
#define LED_RED_TOGGLE (FIO3PIN ^= LED_RED_PIN)
/** @} */

/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name xtimer tuning values
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/msbiot/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@ extern "C" {
#define MPU9150_COMP_ADDR (0x0E)
/** @} */

/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_DEV(0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/mulle/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@
/** Disable hardware watchdog, for debugging purposes, don't use this on production builds. */
#define DISABLE_WDOG 1

/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LEDs configuration
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/nrf51dongle/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ extern "C" {
*/
#define F_CPU (CLOCK_CORECLOCK)

/**
* @name Define the boards STDIO
* @{
*/
#define STDIO UART_DEV(0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/nrf6310/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@ extern "C" {
*/
#define F_CPU (16000000UL)

/**
* @name Define the boards stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/nucleo-f091/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ extern "C" {
*/
#define F_CPU CLOCK_CORECLOCK

/**
* @name Define the UART to be used as stdio and its baudrate
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
6 changes: 1 addition & 5 deletions boards/nucleo-f103/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,9 @@ extern "C" {
#define F_CPU CLOCK_CORECLOCK

/**
* @name Define the UART to be used as stdio and its baudrate
* @{
* @brief Use the 2nd UART for STDIO on this board
*/
#define STDIO UART_1
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
Expand Down
9 changes: 0 additions & 9 deletions boards/nucleo-f303/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ extern "C" {
*/
#define F_CPU CLOCK_CORECLOCK

/**
* @name Define the UART to be used as stdio and its baudrate
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
9 changes: 0 additions & 9 deletions boards/nucleo-f334/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ extern "C" {
*/
#define F_CPU CLOCK_CORECLOCK

/**
* @name Define the UART to be used as stdio and its baudrate
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */

/**
* @name LED pin definitions
* @{
Expand Down
Loading

0 comments on commit db25206

Please sign in to comment.