platformio.ini 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. [env:esp32dev]
  11. platform = espressif32
  12. board = esp32dev
  13. framework = arduino
  14. [env]
  15. lib_deps =
  16. arkhipenko/TaskScheduler @ ^3.0.0
  17. build_flags =
  18. ; -D _TASK_TIMECRITICAL
  19. -D _TASK_SLEEP_ON_IDLE_RUN
  20. -D _TASK_STATUS_REQUEST
  21. ; -D _TASK_WDT_IDS
  22. ; -D _TASK_LTS_POINTER
  23. ; -D _TASK_PRIORITY
  24. ; -D _TASK_MICRO_RES
  25. ; -D _TASK_STD_FUNCTION
  26. ; -D _TASK_DEBUG
  27. ; -D _TASK_INLINE
  28. ; -D _TASK_TIMEOUT
  29. ; -D _TASK_OO_CALLBACKS
  30. ; -D _TASK_EXPOSE_CHAIN
  31. ; -D _TASK_SCHEDULING_OPTIONS
  32. -D _TASK_HEADER_AND_CPP
  33. -D _TASK_NON_ARDUINO
  34. -D _DEBUG_
  35. ; -D _TEST_