|
@ -8,11 +8,14 @@ |
|
|
; Please visit documentation for the other options and examples |
|
|
; Please visit documentation for the other options and examples |
|
|
; https://docs.platformio.org/page/projectconf.html |
|
|
; https://docs.platformio.org/page/projectconf.html |
|
|
|
|
|
|
|
|
[common] |
|
|
|
|
|
lib_deps_builtin = |
|
|
|
|
|
|
|
|
[env] |
|
|
|
|
|
platform = espressif32 |
|
|
|
|
|
framework = arduino |
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
|
|
extra_scripts = pre:processHtml.py |
|
|
|
|
|
lib_deps = |
|
|
SPI |
|
|
SPI |
|
|
Wire |
|
|
Wire |
|
|
lib_deps_external = |
|
|
|
|
|
https://github.com/schreibfaul1/ESP32-audioI2S.git |
|
|
https://github.com/schreibfaul1/ESP32-audioI2S.git |
|
|
https://github.com/madhephaestus/ESP32Encoder.git |
|
|
https://github.com/madhephaestus/ESP32Encoder.git |
|
|
https://github.com/knolleary/pubsubclient.git |
|
|
https://github.com/knolleary/pubsubclient.git |
|
@ -26,87 +29,47 @@ lib_deps_external = |
|
|
https://github.com/kkloesener/MFRC522_I2C.git |
|
|
https://github.com/kkloesener/MFRC522_I2C.git |
|
|
https://github.com/miguelbalboa/rfid.git |
|
|
https://github.com/miguelbalboa/rfid.git |
|
|
https://github.com/tuniii/LogRingBuffer.git |
|
|
https://github.com/tuniii/LogRingBuffer.git |
|
|
|
|
|
|
|
|
[env:common] |
|
|
|
|
|
platform = espressif32 |
|
|
|
|
|
; Don't forget to run this script if you changed the html-files provided in any way |
|
|
|
|
|
extra_scripts = |
|
|
|
|
|
pre:processHtml.py |
|
|
|
|
|
|
|
|
https://github.com/tueddy/PN5180-Library.git |
|
|
|
|
|
https://github.com/kkloesener/AC101.git |
|
|
|
|
|
platform_packages = |
|
|
|
|
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[env:esp32-a1s] |
|
|
[env:esp32-a1s] |
|
|
platform = espressif32 |
|
|
|
|
|
board = esp-wrover-kit |
|
|
board = esp-wrover-kit |
|
|
framework = arduino |
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
|
|
;board_build.partitions = huge_app.csv |
|
|
;board_build.partitions = huge_app.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
build_flags = -DHAL=2 |
|
|
build_flags = -DHAL=2 |
|
|
-DBOARD_HAS_PSRAM |
|
|
-DBOARD_HAS_PSRAM |
|
|
-mfix-esp32-psram-cache-issue |
|
|
-mfix-esp32-psram-cache-issue |
|
|
-DLOG_BUFFER_SIZE=10240 |
|
|
-DLOG_BUFFER_SIZE=10240 |
|
|
lib_deps = |
|
|
|
|
|
;https://github.com/kkloesener/MFRC522_I2C_Library.git |
|
|
|
|
|
https://github.com/kkloesener/AC101.git |
|
|
|
|
|
${common.lib_deps_builtin} |
|
|
|
|
|
${common.lib_deps_external} |
|
|
|
|
|
platform_packages = |
|
|
|
|
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5 |
|
|
|
|
|
board_upload.maximum_size = 16777216 |
|
|
board_upload.maximum_size = 16777216 |
|
|
board_upload.flash_size = 16MB |
|
|
board_upload.flash_size = 16MB |
|
|
|
|
|
|
|
|
[env:lolin32] |
|
|
[env:lolin32] |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/lolin32.html |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/lolin32.html |
|
|
platform = espressif32 |
|
|
|
|
|
board = lolin32 |
|
|
board = lolin32 |
|
|
framework = arduino |
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
|
|
;board_build.partitions = huge_app.csv |
|
|
;board_build.partitions = huge_app.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
build_flags = -DHAL=1 |
|
|
build_flags = -DHAL=1 |
|
|
lib_deps = |
|
|
|
|
|
${common.lib_deps_builtin} |
|
|
|
|
|
${common.lib_deps_external} |
|
|
|
|
|
https://github.com/tueddy/PN5180-Library.git |
|
|
|
|
|
extra_scripts = ${env:common.extra_scripts} |
|
|
|
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
platform_packages = |
|
|
|
|
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5 |
|
|
|
|
|
|
|
|
|
|
|
[env:lolin_d32] |
|
|
[env:lolin_d32] |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/lolin_d32.html |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/lolin_d32.html |
|
|
platform = espressif32 |
|
|
|
|
|
board = lolin_d32 |
|
|
board = lolin_d32 |
|
|
framework = arduino |
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
|
|
;board_build.partitions = huge_app.csv |
|
|
;board_build.partitions = huge_app.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
build_flags = -DHAL=3 |
|
|
build_flags = -DHAL=3 |
|
|
lib_deps = |
|
|
|
|
|
${common.lib_deps_builtin} |
|
|
|
|
|
${common.lib_deps_external} |
|
|
|
|
|
https://github.com/tueddy/PN5180-Library.git |
|
|
|
|
|
extra_scripts = ${env:common.extra_scripts} |
|
|
|
|
|
upload_port = /dev/cu.wchusbserial1410 |
|
|
upload_port = /dev/cu.wchusbserial1410 |
|
|
monitor_port = /dev/cu.wchusbserial1410 |
|
|
monitor_port = /dev/cu.wchusbserial1410 |
|
|
platform_packages = |
|
|
|
|
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5 |
|
|
|
|
|
|
|
|
|
|
|
[env:lolin_d32_pro] |
|
|
[env:lolin_d32_pro] |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/lolin_d32_pro.html |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/lolin_d32_pro.html |
|
|
platform = espressif32 |
|
|
|
|
|
board = lolin_d32_pro |
|
|
board = lolin_d32_pro |
|
|
framework = arduino |
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
|
|
;board_build.partitions = huge_app.csv |
|
|
;board_build.partitions = huge_app.csv |
|
|
;board_build.partitions = custom_4mb_noota.csv |
|
|
;board_build.partitions = custom_4mb_noota.csv |
|
|
board_build.partitions = custom_16mb_ota.csv |
|
|
board_build.partitions = custom_16mb_ota.csv |
|
|
lib_deps = |
|
|
|
|
|
${common.lib_deps_builtin} |
|
|
|
|
|
${common.lib_deps_external} |
|
|
|
|
|
https://github.com/tueddy/PN5180-Library.git |
|
|
|
|
|
extra_scripts = ${env:common.extra_scripts} |
|
|
|
|
|
upload_port = /dev/cu.wchusbserial1410 |
|
|
upload_port = /dev/cu.wchusbserial1410 |
|
|
monitor_port = /dev/cu.wchusbserial1410 |
|
|
monitor_port = /dev/cu.wchusbserial1410 |
|
|
build_flags = -DHAL=4 |
|
|
build_flags = -DHAL=4 |
|
@ -114,94 +77,50 @@ build_flags = -DHAL=4 |
|
|
-mfix-esp32-psram-cache-issue |
|
|
-mfix-esp32-psram-cache-issue |
|
|
-DLOG_BUFFER_SIZE=10240 |
|
|
-DLOG_BUFFER_SIZE=10240 |
|
|
-DBOARD_HAS_16MB_FLASH_AND_OTA_SUPPORT |
|
|
-DBOARD_HAS_16MB_FLASH_AND_OTA_SUPPORT |
|
|
platform_packages = |
|
|
|
|
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5 |
|
|
|
|
|
board_upload.maximum_size = 16777216 |
|
|
board_upload.maximum_size = 16777216 |
|
|
board_upload.flash_size = 16MB |
|
|
board_upload.flash_size = 16MB |
|
|
|
|
|
|
|
|
[env:nodemcu-32s] |
|
|
[env:nodemcu-32s] |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/nodemcu-32s.html |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/nodemcu-32s.html |
|
|
platform = espressif32 |
|
|
|
|
|
board = nodemcu-32s |
|
|
board = nodemcu-32s |
|
|
framework = arduino |
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
|
|
;board_build.partitions = huge_app.csv |
|
|
;board_build.partitions = huge_app.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
lib_deps = |
|
|
|
|
|
${common.lib_deps_builtin} |
|
|
|
|
|
${common.lib_deps_external} |
|
|
|
|
|
https://github.com/tueddy/PN5180-Library.git |
|
|
|
|
|
extra_scripts = ${env:common.extra_scripts} |
|
|
|
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
platform_packages = |
|
|
|
|
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5 |
|
|
|
|
|
|
|
|
|
|
|
[env:az-delivery-devkit-v4] |
|
|
[env:az-delivery-devkit-v4] |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/az-delivery-devkit-v4.html |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/az-delivery-devkit-v4.html |
|
|
platform = espressif32 |
|
|
|
|
|
board = az-delivery-devkit-v4 |
|
|
board = az-delivery-devkit-v4 |
|
|
framework = arduino |
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
|
|
;board_build.partitions = huge_app.csv |
|
|
;board_build.partitions = huge_app.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
lib_deps = |
|
|
|
|
|
${common.lib_deps_builtin} |
|
|
|
|
|
${common.lib_deps_external} |
|
|
|
|
|
https://github.com/tueddy/PN5180-Library.git |
|
|
|
|
|
extra_scripts = ${env:common.extra_scripts} |
|
|
|
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
platform_packages = |
|
|
|
|
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5 |
|
|
|
|
|
|
|
|
|
|
|
[env:ttgo_t8] |
|
|
[env:ttgo_t8] |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/esp-wrover-kit.html |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/esp-wrover-kit.html |
|
|
platform = espressif32 |
|
|
|
|
|
board = esp-wrover-kit |
|
|
board = esp-wrover-kit |
|
|
framework = arduino |
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
|
|
;board_build.partitions = huge_app.csv |
|
|
;board_build.partitions = huge_app.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
board_build.partitions = custom_4mb_noota.csv |
|
|
lib_deps = |
|
|
|
|
|
${common.lib_deps_builtin} |
|
|
|
|
|
${common.lib_deps_external} |
|
|
|
|
|
https://github.com/tueddy/PN5180-Library.git |
|
|
|
|
|
extra_scripts = ${env:common.extra_scripts} |
|
|
|
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
build_flags = -DHAL=5 |
|
|
build_flags = -DHAL=5 |
|
|
-DBOARD_HAS_PSRAM |
|
|
-DBOARD_HAS_PSRAM |
|
|
-mfix-esp32-psram-cache-issue |
|
|
-mfix-esp32-psram-cache-issue |
|
|
-DLOG_BUFFER_SIZE=10240 |
|
|
-DLOG_BUFFER_SIZE=10240 |
|
|
platform_packages = |
|
|
|
|
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5 |
|
|
|
|
|
|
|
|
|
|
|
[env:complete] |
|
|
[env:complete] |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/esp-wrover-kit.html |
|
|
;https://docs.platformio.org/en/latest/boards/espressif32/esp-wrover-kit.html |
|
|
platform = espressif32 |
|
|
|
|
|
board = esp-wrover-kit |
|
|
board = esp-wrover-kit |
|
|
framework = arduino |
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
|
|
;board_build.partitions = huge_app.csv |
|
|
;board_build.partitions = huge_app.csv |
|
|
board_build.partitions = custom_16mb_ota.csv |
|
|
board_build.partitions = custom_16mb_ota.csv |
|
|
lib_deps = |
|
|
|
|
|
${common.lib_deps_builtin} |
|
|
|
|
|
${common.lib_deps_external} |
|
|
|
|
|
https://github.com/tueddy/PN5180-Library.git |
|
|
|
|
|
extra_scripts = ${env:common.extra_scripts} |
|
|
|
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
upload_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
monitor_port = /dev/cu.SLAB_USBtoUART |
|
|
build_flags = -DHAL=6 |
|
|
build_flags = -DHAL=6 |
|
|
-DBOARD_HAS_PSRAM |
|
|
-DBOARD_HAS_PSRAM |
|
|
-mfix-esp32-psram-cache-issue |
|
|
-mfix-esp32-psram-cache-issue |
|
|
-DLOG_BUFFER_SIZE=10240 |
|
|
-DLOG_BUFFER_SIZE=10240 |
|
|
platform_packages = |
|
|
|
|
|
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5 |
|
|
|
|
|
|
|
|
|
|
|
;;; Change upload/monitor-port of your board regarding your operating-system and develboard! |
|
|
;;; Change upload/monitor-port of your board regarding your operating-system and develboard! |
|
|
;MAC: /dev/cu.SLAB_USBtoUART / /dev/cu.wchusbserial1420 / /dev/cu.wchusbserial1410 |
|
|
;MAC: /dev/cu.SLAB_USBtoUART / /dev/cu.wchusbserial1420 / /dev/cu.wchusbserial1410 |
|
|
;WINDOWS: COM3 |
|
|
;WINDOWS: COM3 |
|
|
;LINUX: /dev/ttyUSB0 (if it's the first USB-device attached, otherwise increase number) |
|
|
;LINUX: /dev/ttyUSB0 (if it's the first USB-device attached, otherwise increase number) |
|
|
|
|
|
|
|
|
[env:] |
|
|
|