20 lines
673 B
INI
20 lines
673 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:genericSTM32F103C6]
|
|
platform = ststm32
|
|
board = genericSTM32F103C6
|
|
framework = arduino
|
|
lib_deps = adafruit/DHT sensor library@^1.4.6
|
|
debug_tool = stlink
|
|
upload_protocol = stlink
|
|
; Enable RX and TX 3
|
|
; build_flags = -D SERIAL_USB -D ENABLE_HWSERIAL1 -D ENABLE_HWSERIAL2
|
|
; build_flags = -DENABLE_HWSERIAL1 |