37 lines
880 B
INI
37 lines
880 B
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[env:nucleo_f401re]
|
|
platform = ststm32
|
|
board = nucleo_f401re
|
|
framework = arduino
|
|
monitor_port = COM3
|
|
monitor_speed = 115200
|
|
lib_archive = no
|
|
lib_deps = askuric/Simple FOC@^2.2.2
|
|
|
|
[env:Blackpill]
|
|
platform = ststm32
|
|
board = blackpill_f401cc
|
|
upload_protocol = dfu
|
|
framework = arduino
|
|
lib_archive = no
|
|
lib_deps =
|
|
askuric/Simple FOC@^2.2.2
|
|
Wire
|
|
SPI
|
|
monitor_port = COM5
|
|
monitor_speed = 115200
|
|
build_flags =
|
|
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
|
|
-D USBCON
|
|
; -D SIMPLEFOC_STM32_DEBUG
|
|
monitor_dtr = 1
|