platformio.ini 875 B

12345678910111213141516171819202122232425262728293031323334
  1. ; PlatformIO Project Configuration File
  2. ;
  3. ; Build options: build flags, source filter
  4. ; Upload options: custom upload port, speed and extra flags
  5. ; Library options: dependencies, extra library storages
  6. ; Advanced options: extra scripting
  7. ;
  8. ; Please visit documentation for the other options and examples
  9. ; https://docs.platformio.org/page/projectconf.html
  10. [platformio]
  11. src_dir = ./
  12. [env]
  13. framework = arduino
  14. lib_deps =
  15. makuna/RTC@^2.3.6
  16. adafruit/Adafruit BME280 Library@^2.2.2
  17. https://github.com/hjd1964/OneWire.git
  18. https://github.com/hjd1964/Arduino-DS1820-Temperature-Library.git
  19. adafruit/Adafruit BMP280 Library @ ^2.6.8
  20. [env:blackpill]
  21. platform = ststm32
  22. board = genericSTM32F411CE
  23. upload_protocol = dfu
  24. build_flags =
  25. -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
  26. -D USBCON
  27. -D HAL_PCD_MODULE_ENABLED
  28. monitor_dtr = 1
  29. monitor_filters =
  30. colorize
  31. send_on_enter