diff --git a/Firmware/MotorControl/platformio.ini b/Firmware/MotorControl/platformio.ini index 10da86b..5f9619e 100644 --- a/Firmware/MotorControl/platformio.ini +++ b/Firmware/MotorControl/platformio.ini @@ -10,17 +10,25 @@ [env:motorcontrol] platform = atmelavr -board = uno framework = arduino -build_flags = +; TARGET SETTINGS +; PlatformIO requires the board parameter. Must match your actual hardware +board = ATmega328P +; Clock frequency in [Hz] +board_build.f_cpu = 12000000L +board_hardware.oscillator = external +; Hardware UART for serial upload +board_hardware.uart = no_bootloader +; Brown-out detection +board_hardware.bod = 1.8v board_upload.speed = 115200 -monitor_speed = 115200 +monitor_speed = 9600 upload_protocol = stk500 upload_flags = - -P/dev/ttyUSB1 + -PCOM8 lib_deps = Servo \ No newline at end of file