diff --git a/Firmware/Configuration.h b/Firmware/Configuration.h index 355ad57e3..3c0bd4c68 100644 --- a/Firmware/Configuration.h +++ b/Firmware/Configuration.h @@ -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 diff --git a/platformio.ini b/platformio.ini index b916dfe4b..2fc9669d8 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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