From ba62b3987b10e11cda604aa6626cda5014edae70 Mon Sep 17 00:00:00 2001 From: Lucien Renaud Date: Tue, 23 Aug 2022 13:44:40 +0200 Subject: [PATCH] fix platform config --- platformio.ini | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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