Allow BAUDRATE override by build opts
This commit is contained in:
parent
38b65a85df
commit
6579fe51ad
|
|
@ -100,7 +100,9 @@
|
|||
#define SERIAL_PORT 0
|
||||
|
||||
// This determines the communication speed of the printer
|
||||
#ifndef BAUDRATE
|
||||
#define BAUDRATE 115200
|
||||
#endif
|
||||
|
||||
// This enables the serial port associated to the Bluetooth interface
|
||||
//#define BTENABLED // Enable BT interface on AT90USB devices
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ platform = atmelavr
|
|||
board = reprap_rambo
|
||||
framework = arduino
|
||||
board_f_cpu = 16000000L
|
||||
build_flags = -I$BUILDSRC_DIR -Wall -Wextra
|
||||
build_flags = -DBAUDRATE=250000 -I$BUILDSRC_DIR -Wall -Wextra
|
||||
; Not needed for Prusa-Firmware
|
||||
;extra_scripts = ./generate_version_header_for_marlin.py
|
||||
;build_flags = -DUSE_AUTOMATIC_VERSIONING -I$BUILDSRC_DIR -Wall -Wextra
|
||||
|
|
|
|||
Loading…
Reference in New Issue