small updates
* colors.cpp: disable gamma calculation if CIE table mode is active (WLED_USE_CIE_BRIGHTNESS_TABLE) * fx.cpp: small improvement to FreqMap, and bugfix for effects that modify binNum / maxVol * pio: update for Line-In shield pins (final hardware version)
This commit is contained in:
@@ -940,9 +940,16 @@ build_flags =
|
||||
-D SR_SQUELCH=10 -D SR_GAIN=40 -D SR_FREQ_PROF=7 ; SPM1423 specific
|
||||
|
||||
[Shield_LineIn]
|
||||
build_unflags =
|
||||
-D BTNPIN=17 ;; remove - its in conflict with on-shield rotary
|
||||
-D ENCODER_SW_PIN=5 ;; remove - its in conflict with on-shield rotary
|
||||
-D BTNPIN=0 ;; remove - its in conflict with MCLK pin
|
||||
build_flags =
|
||||
-D SR_DMTYPE=4 -D MCLK_PIN=0 -D I2S_SDPIN=25 -D I2S_WSPIN=15 -D I2S_CKPIN=14 ; for audio Line-In shield
|
||||
-D SR_SQUELCH=2 -D SR_GAIN=40 -D SR_FREQ_PROF=1 ; CS5343 Line-In specific
|
||||
-D BTNPIN=-1
|
||||
-D SR_DMTYPE=4 -D MCLK_PIN=0 -D I2S_SDPIN=26 -D I2S_WSPIN=25 -D I2S_CKPIN=27 ; for audio Line-In shield, final version
|
||||
-D SR_LINE_DETECT=34 ; line-in plug insert detection sensor (future support)
|
||||
-D SR_SQUELCH=8 -D SR_GAIN=40 -D SR_FREQ_PROF=1 ; CS5343 Line-In specific
|
||||
-D ENCODER_DT_PIN=35 -D ENCODER_CLK_PIN=39 -D ENCODER_SW_PIN=17 ; on-shield rotary encoder
|
||||
|
||||
[Debug_Flags]
|
||||
build_flags =
|
||||
@@ -1547,6 +1554,7 @@ build_flags = ${wemos_shield_esp32_4MB_M_base.build_flags} ${Shield_SPM1423.buil
|
||||
|
||||
[env:wemos_shield_esp32_4MB_LineIn_M]
|
||||
extends = wemos_shield_esp32_4MB_M_base
|
||||
build_unflags = ${common.build_unflags} ${Shield_LineIn.build_unflags}
|
||||
build_flags = ${wemos_shield_esp32_4MB_M_base.build_flags} ${Shield_LineIn.build_flags}
|
||||
-D WLED_RELEASE_NAME=wemos_shield_esp32_4MB_LineIn_M
|
||||
|
||||
@@ -1602,6 +1610,7 @@ board_build.partitions = tools/WLED_ESP32_16MB.csv ;; WLED standard for
|
||||
|
||||
[env:wemos_shield_esp32_16MB_LineIn_M]
|
||||
extends = wemos_shield_esp32_4MB_M_base
|
||||
build_unflags = ${common.build_unflags} ${Shield_LineIn.build_unflags}
|
||||
build_flags = ${wemos_shield_esp32_4MB_M_base.build_flags} ${Shield_LineIn.build_flags}
|
||||
-D WLED_RELEASE_NAME=wemos_shield_esp32_16MB_LineIn_M
|
||||
board = esp32_16MB
|
||||
|
||||
Reference in New Issue
Block a user