2025-05-08 09:39:22 +02: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:genericSTM32F103C6]
|
|
|
|
platform = ststm32
|
|
|
|
board = genericSTM32F103C6
|
|
|
|
framework = arduino
|
|
|
|
lib_deps = adafruit/DHT sensor library@^1.4.6
|
2025-05-10 10:19:10 +02:00
|
|
|
debug_tool = stlink
|
2025-05-08 09:39:22 +02:00
|
|
|
upload_protocol = stlink
|
|
|
|
; Enable RX and TX 3
|
2025-05-10 10:19:10 +02:00
|
|
|
; build_flags = -D SERIAL_USB -D ENABLE_HWSERIAL1 -D ENABLE_HWSERIAL2
|
|
|
|
; build_flags = -DENABLE_HWSERIAL1
|