2021-02-10 16:49:19 +01:00
|
|
|
[platformio]
|
2022-01-10 22:10:40 +01:00
|
|
|
;default_envs = esp32
|
|
|
|
description = HUB75 ESP32 I2S DMA test patterns example
|
|
|
|
;src_dir = src
|
2021-02-10 16:49:19 +01:00
|
|
|
|
|
|
|
[env]
|
|
|
|
framework = arduino
|
|
|
|
platform = espressif32
|
|
|
|
board = wemos_d1_mini32
|
|
|
|
lib_deps =
|
2022-01-10 22:10:40 +01:00
|
|
|
fastled/FastLED
|
|
|
|
https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA.git
|
2021-02-10 16:49:19 +01:00
|
|
|
build_flags =
|
2022-01-10 22:10:40 +01:00
|
|
|
upload_speed = 460800
|
2021-02-10 16:49:19 +01:00
|
|
|
monitor_speed = 115200
|
|
|
|
monitor_filters = esp32_exception_decoder
|
|
|
|
|
|
|
|
[env:esp32]
|
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
2022-01-10 22:10:40 +01:00
|
|
|
-DTEST_FASTLINES
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
Wire
|
|
|
|
adafruit/Adafruit BusIO
|
|
|
|
adafruit/Adafruit GFX Library
|
|
|
|
|
|
|
|
[env:debug]
|
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-DTEST_FASTLINES
|
|
|
|
-DSERIAL_DEBUG
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
Wire
|
|
|
|
adafruit/Adafruit BusIO
|
|
|
|
adafruit/Adafruit GFX Library
|
|
|
|
|
|
|
|
; build without GFX functions
|
|
|
|
[env:minimal]
|
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
2021-02-10 16:49:19 +01:00
|
|
|
-DNO_GFX
|
2022-01-10 22:10:40 +01:00
|
|
|
-DNO_FAST_FUNCTIONS
|
|
|
|
-DNO_CIE1931
|
2021-02-10 16:49:19 +01:00
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
|
2022-01-10 22:10:40 +01:00
|
|
|
; Virtual Panel test
|
|
|
|
[env:vpane]
|
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-DNO_FAST_FUNCTIONS
|
|
|
|
-DVIRTUAL_PANE
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
Wire
|
|
|
|
adafruit/Adafruit BusIO
|
|
|
|
adafruit/Adafruit GFX Library
|
|
|
|
|
|
|
|
; Virtual Panel test
|
|
|
|
[env:vpane_minimal]
|
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-DVIRTUAL_PANE
|
|
|
|
-DNO_GFX
|
|
|
|
-DNO_FAST_FUNCTIONS
|
|
|
|
-DNO_CIE1931
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
Wire
|
|
|
|
adafruit/Adafruit BusIO
|
|
|
|
adafruit/Adafruit GFX Library
|
2021-02-10 16:49:19 +01:00
|
|
|
|
2021-12-19 22:15:41 +01:00
|
|
|
; PIO CI can't handle IDF git modules properly (yet)
|
|
|
|
;[env:idfarduino]
|
|
|
|
;platform = espressif32
|
|
|
|
;platform_packages =
|
|
|
|
; ; use a special branch
|
|
|
|
; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-release/v4.4
|
|
|
|
;framework = arduino, espidf
|
|
|
|
;build_flags =
|
|
|
|
; ${env.build_flags}
|
|
|
|
; -DARDUINO=200
|
|
|
|
; -DESP32
|
|
|
|
; ;-DUSE_FASTLINES
|
|
|
|
; -DNO_GFX
|
|
|
|
;lib_deps =
|
|
|
|
; ${env.lib_deps}
|
|
|
|
; https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA.git
|