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

boards: use default values for STDIO defines

This commit is contained in:
Hauke Petersen 2016-01-05 12:07:48 +01:00
parent e071beab08
commit db25206a58
46 changed files with 4 additions and 404 deletions

View File

@ -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.
* @{

View File

@ -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
* @{

View File

@ -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

View File

@ -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
*/

View File

@ -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.
* @{

View File

@ -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

View File

@ -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.
* @{

View File

@ -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
* @{

View File

@ -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
*

View File

@ -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
* @{

View File

@ -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)
/** @} */
/**

View File

@ -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
* @{

View File

@ -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
* @{

View File

@ -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

View File

@ -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

View File

@ -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
* @{

View File

@ -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
* @{

View File

@ -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
* @{

View File

@ -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
* @{

View File

@ -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
* @{

View File

@ -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
* @{

View File

@ -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

View File

@ -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
* @{

View File

@ -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
* @{

View File

@ -43,15 +43,6 @@ extern "C" {
#define XTIMER_BACKOFF (5)
/** @} */
/**
* @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
* @{

View File

@ -45,15 +45,6 @@ extern "C" {
#define XTIMER_BACKOFF (3)
/** @} */
/**
* @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
* @{

View File

@ -33,15 +33,6 @@
*/
#define F_CPU (32000000UL)
/**
* @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
* @{

View File

@ -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
* @{

View File

@ -44,15 +44,6 @@ extern "C" {
#define XTIMER_BACKOFF (40)
/** @} */
/**
* @name Define the boards stdio
* @{
*/
#define STDIO UART_DEV(0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @name LED pin definitions
* @{

View File

@ -44,15 +44,6 @@ extern "C" {
#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.
* @{

View File

@ -50,15 +50,6 @@ void init_clks2(void);
*/
void bl_init_clks(void);
/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @name dummy-defines for LEDs
* @{

View File

@ -35,14 +35,6 @@
*/
#define F_CPU (32000000UL)
/**
* @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
* @{

View File

@ -32,16 +32,6 @@ extern "C" {
*/
#define F_CPU (16000000UL)
/** @}*/
/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @name LED pin definitions
* @{

View File

@ -41,15 +41,6 @@ extern "C" {
#define XTIMER TIMER_1
#define XTIMER_CHAN (0)
/**
* @name Define UART device and baudrate for stdio
* @{
*/
#define STDIO UART_DEV(0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @name AT86RF233 configuration
*

View File

@ -40,15 +40,6 @@ extern "C" {
*/
#define HW_TIMER TIMER_DEV(0)
/**
* @brief Define UART device and baudrate for STDIO
* @{
*/
#define STDIO UART_DEV(0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @brief Connection to the on-board temperature/humidity sensor (Si7021)
* @{

View File

@ -40,15 +40,6 @@
*/
#define LOCATION_VTABLE (0x08005000)
/**
* @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 LED pin definitions
* @{

View File

@ -32,13 +32,6 @@ extern "C" {
*/
#define F_CPU (48000000UL)
/**
* @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
* @{

View File

@ -32,15 +32,6 @@ extern "C" {
*/
#define F_CPU (72000000UL)
/**
* @name Define the UART used for stdio
* @{
*/
#define STDIO UART_0
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @name LED pin definitions
* @{

View File

@ -43,15 +43,6 @@ extern "C" {
#define XTIMER_BACKOFF (5)
/** @} */
/**
* @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
* @{

View File

@ -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)
/** @} */
/* TelosB core */
#define MSP430_INITIAL_CPU_SPEED 2457600uL
#define F_CPU MSP430_INITIAL_CPU_SPEED

View File

@ -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
* @{

View File

@ -35,15 +35,6 @@ extern "C" {
*/
#define F_CPU (48000000)
/**
* @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
* @{

View File

@ -50,15 +50,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 800000uL
#define F_CPU MSP430_INITIAL_CPU_SPEED

View File

@ -50,15 +50,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 800000uL
#define F_CPU MSP430_INITIAL_CPU_SPEED

View File

@ -43,15 +43,6 @@ extern "C" {
#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.
* @{

View File

@ -59,15 +59,6 @@ extern "C" {
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/**
* @brief Standard input/output device configuration
* @{
*/
#define STDIO (0)
#define STDIO_BAUDRATE (115200U)
#define STDIO_RX_BUFSIZE (64U)
/** @} */
/* MSP430 core */
#define MSP430_INITIAL_CPU_SPEED 8000000uL
#ifndef F_CPU