fix platform config

This commit is contained in:
Lucien Renaud 2022-08-23 13:44:40 +02:00
parent a42e675cd6
commit ba62b3987b

View File

@ -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
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