2022-05-10 14:34:09 +00:00
|
|
|
; 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
|
2022-05-19 21:32:31 +00:00
|
|
|
lib_deps = askuric/Simple FOC@^2.2.2
|
2022-08-22 15:22:17 +00:00
|
|
|
|
|
|
|
[env:Blackpill]
|
|
|
|
platform = ststm32
|
|
|
|
board = blackpill_f401cc
|
2022-08-23 11:44:40 +00:00
|
|
|
upload_protocol = dfu
|
2022-08-22 15:22:17 +00:00
|
|
|
framework = arduino
|
|
|
|
lib_archive = no
|
2022-08-23 11:44:40 +00:00
|
|
|
lib_deps =
|
|
|
|
askuric/Simple FOC@^2.2.2
|
|
|
|
Wire
|
|
|
|
SPI
|
2022-11-07 10:09:23 +00:00
|
|
|
monitor_port = COM5
|
2022-08-23 11:44:40 +00:00
|
|
|
monitor_speed = 115200
|
|
|
|
build_flags =
|
|
|
|
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
|
|
|
|
-D USBCON
|
2022-11-07 10:09:23 +00:00
|
|
|
; -D SIMPLEFOC_STM32_DEBUG
|
|
|
|
monitor_dtr = 1
|