This commit is contained in:
Andrey
2022-01-20 16:45:10 +03:00
commit 69814bc4a4
7 changed files with 190 additions and 0 deletions

21
platformio.ini Normal file
View File

@@ -0,0 +1,21 @@
; 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:blackpill_f401cc]
platform = ststm32
board = blackpill_f401cc
framework = arduino
upload_protocol = dfu
lib_deps = stm32duino/STM32duino FreeRTOS@^10.2.1
build_flags =
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
monitor_port = COM8