mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #1940 from OlegHahm/iotlab_baudrate
iot-lab_M3: set baud rate to 500 kbaud
This commit is contained in:
commit
bda29d93b8
@ -39,7 +39,7 @@ export LINKFLAGS += -T$(LINKERSCRIPT)
|
||||
export OFLAGS = -O ihex
|
||||
export FFLAGS = $(HEXFILE)
|
||||
export DEBUGGER_FLAGS = $(RIOTBOARD)/$(BOARD)/dist/gdb.conf $(ELFFILE)
|
||||
export TERMFLAGS = -p $(PORT)
|
||||
export TERMFLAGS = -p $(PORT) -b 500000
|
||||
|
||||
# use the nano-specs of the NewLib when available
|
||||
ifeq ($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null </dev/null ; echo $$?),0)
|
||||
|
@ -39,11 +39,16 @@ extern "C" {
|
||||
#define F_CPU CLOCK_CORECLOCK
|
||||
|
||||
/**
|
||||
* @name Define the UART to be used as stdio and its baudrate
|
||||
* @name Define the UART to be used as stdio, its baudrate, and the size of
|
||||
* receiving ringbuffer
|
||||
* @{
|
||||
*/
|
||||
#define STDIO UART_0
|
||||
#define STDIO_BAUDRATE (115200U)
|
||||
|
||||
#ifndef STDIO_BAUDRATE
|
||||
# define STDIO_BAUDRATE (500000U)
|
||||
#endif
|
||||
|
||||
#define STDIO_RX_BUFSIZE (64U)
|
||||
/** @} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user