restructure for esp-idf

This commit is contained in:
Elliot Matson 2023-01-29 21:03:19 -06:00
parent a775b3a62e
commit 035e0e0d2f
2 changed files with 7 additions and 10 deletions

View file

@ -47,4 +47,4 @@ jobs:
env: env:
PLATFORMIO_BUILD_FLAGS: ${{ matrix.no_gfx }} ${{ matrix.no_fast_functions }} ${{ matrix.no_cie1931 }} ${{ matrix.virtual_panel }} PLATFORMIO_BUILD_FLAGS: ${{ matrix.no_gfx }} ${{ matrix.no_fast_functions }} ${{ matrix.no_cie1931 }} ${{ matrix.virtual_panel }}
PLATFORMIO_CI_SRC: ${{ matrix.example }} PLATFORMIO_CI_SRC: ${{ matrix.example }}
run: pio ci -c ${{ matrix.example }}/platformio.ini run: pio ci -e esp32 -c ${{ matrix.example }}/platformio.ini

View file

@ -3,8 +3,7 @@ default_envs = esp32
description = HUB75 ESP32 I2S DMA test patterns example description = HUB75 ESP32 I2S DMA test patterns example
;src_dir = src ;src_dir = src
[env:esp32] [env]
framework = arduino
platform = espressif32 platform = espressif32
board = wemos_d1_mini32 board = wemos_d1_mini32
lib_deps = lib_deps =
@ -13,24 +12,22 @@ lib_deps =
adafruit/Adafruit BusIO adafruit/Adafruit BusIO
adafruit/Adafruit GFX Library adafruit/Adafruit GFX Library
https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA.git https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA.git
build_flags =
upload_speed = 460800 upload_speed = 460800
monitor_speed = 115200 monitor_speed = 115200
monitor_filters = esp32_exception_decoder monitor_filters = esp32_exception_decoder
[env:esp32]
framework = arduino
; PIO CI can't handle IDF git modules properly (yet) ; PIO CI can't handle IDF git modules properly (yet)
;[env:idfarduino] [env:esp32idf]
;platform = espressif32
;platform_packages = ;platform_packages =
; ; use a special branch ; ; use a special branch
; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-release/v4.4 ; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-release/v4.4
;framework = arduino, espidf framework = arduino, espidf
;build_flags = ;build_flags =
; ${env.build_flags} ; ${env.build_flags}
; -DARDUINO=200 ; -DARDUINO=200
; -DESP32 ; -DESP32
; ;-DUSE_FASTLINES ; ;-DUSE_FASTLINES
; -DNO_GFX ; -DNO_GFX
;lib_deps =
; ${env.lib_deps}
; https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA.git