diff --git a/platformio.ini b/platformio.ini index 2ee43ea..fd5d195 100644 --- a/platformio.ini +++ b/platformio.ini @@ -20,7 +20,16 @@ lib_deps = askuric/Simple FOC@^2.2.2 [env:Blackpill] platform = ststm32 board = blackpill_f401cc -board_build.f_flash = dfu +upload_protocol = dfu framework = arduino lib_archive = no -lib_deps = askuric/Simple FOC@^2.2.2 \ No newline at end of file +lib_deps = + askuric/Simple FOC@^2.2.2 + Wire + SPI +monitor_port = COM12 +monitor_speed = 115200 +build_flags = + -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC + -D USBCON +monitor_dtr = 1 \ No newline at end of file