Skip to content

Commit

Permalink
Merge pull request #151 from domisjustanumber/pdm_settings_for_m5stack
Browse files Browse the repository at this point in the history
Add M5 Atom Lite and M5Stamp Pico envs for PDM support. Thanks for the PR!
  • Loading branch information
atuline authored Dec 17, 2021
2 parents 648c5b2 + 482a14e commit 02be0fb
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,43 @@ board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216
board_build.partitions = tools/SoundReactive_ESP32_16MB.csv

[env:soundReactive_m5atom]
board = esp32dev
platform = [email protected]
upload_speed = 1500000
monitor_speed = 115200
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp32}
-D WLED_RELEASE_NAME=ESP32
-D WLED_DISABLE_MQTT
-D WLED_DISABLE_LOXONE
-D LEDPIN=27
-D BTNPIN=39
-D DMENABLED=5
-D I2S_SDPIN=26
-D I2S_WSPIN=32
-D I2S_CKPIN=-1
lib_deps = ${esp32.lib_deps}
board_build.partitions = tools/WLED_ESP32_4MB_1MB_FS.csv

[env:soundReactive_m5stamp-pico]
board = esp32dev
platform = [email protected]
upload_speed = 1500000
monitor_speed = 115200
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp32}
-D WLED_RELEASE_NAME=ESP32
-D WLED_DISABLE_MQTT
-D WLED_DISABLE_LOXONE
-D LEDPIN=27
-D BTNPIN=39
-D DMENABLED=5
-D I2S_SDPIN=32
-D I2S_WSPIN=33
-D I2S_CKPIN=-1
lib_deps = ${esp32.lib_deps}
board_build.partitions = tools/WLED_ESP32_4MB_1MB_FS.csv

# ------------------------------------------------------------------------------
# custom board configurations
Expand Down

0 comments on commit 02be0fb

Please sign in to comment.