esp32.ini 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. #################################
  6. # #
  7. # ESP32 Architecture #
  8. # #
  9. #################################
  10. #
  11. # Espressif ESP32
  12. #
  13. [env:esp32]
  14. platform = espressif32@2.1.0
  15. platform_packages = espressif/toolchain-xtensa-esp32s3
  16. board = esp32dev
  17. build_flags = ${common.build_flags} -DCORE_DEBUG_LEVEL=0 -std=gnu++17
  18. build_unflags = -std=gnu11 -std=gnu++11
  19. build_src_filter = ${common.default_src_filter} +<src/HAL/ESP32>
  20. lib_ignore = NativeEthernet
  21. upload_speed = 500000
  22. monitor_speed = 250000
  23. monitor_filters = colorize, time, send_on_enter, log2file, esp32_exception_decoder
  24. #upload_port = marlinesp.local
  25. #board_build.flash_mode = qio
  26. [env:FYSETC_E4]
  27. extends = env:esp32
  28. board_build.partitions = default_16MB.csv
  29. [env:PANDA]
  30. extends = env:esp32
  31. build_flags = ${env:esp32.build_flags} -DUSE_ESP32_EXIO -DUSE_ESP32_TASK_WDT
  32. lib_deps = ${common.lib_deps}
  33. SoftwareSerialEsp32
  34. board_build.partitions = Marlin/src/HAL/ESP32/esp32.csv
  35. upload_speed = 115200
  36. monitor_speed = 115200
  37. # New espressif32 packages require a valid board definition file.
  38. [env:mks_tinybee]
  39. extends = env:esp32
  40. board = marlin_MKS_TinyBee
  41. platform = espressif32@~3.5.0
  42. board_build.partitions = default_8MB.csv
  43. build_src_flags = -O3 -Wno-volatile
  44. monitor_filters = esp32_exception_decoder
  45. [env:godi_esp32]
  46. extends = env:esp32
  47. board_build.partitions = Marlin/src/HAL/ESP32/esp32.csv
  48. upload_speed = 115200
  49. monitor_speed = 115200