Skip to content

Commit 22e9a0d

Browse files
Update platformio.ini : fix on IDF 3.4.0 on ESP32
The code of this project is compatible with the different versions of IDF. So in case you want to port the software on more recent chips (C3/S2) things should work ok. The implementation of I2S on the original ESP32 chip however contains more and more bugs in recent IDF 4.x.x versions, such as - I2S mic input not working - DAC output not working - adc input not working So we fix IDF version to 3.4.0 until the issues are fixed.
1 parent a18f50f commit 22e9a0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platformio.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ extra_configs =
1515

1616
[env]
1717
framework = arduino
18-
platform = espressif32
1918
; upload_port = /dev/cu.SLAB_USBtoUART
2019
; monitor_port = /dev/cu.SLAB_USBtoUART
2120
monitor_speed = 115200
@@ -24,10 +23,12 @@ build_flags = -Ofast
2423

2524
[env:tinypico]
2625
board = tinypico
26+
platform = espressif32@3.4.0
2727
lib_deps = tinypico/TinyPICO Helper Library@^1.4.0
2828
build_flags = -Ofast -D USE_I2S_MIC_INPUT -D USE_ESP_NOW
2929

3030
[env:lolin32]
3131
board = lolin32
32+
platform = espressif32@3.4.0
3233
build_flags = -Ofast -D USE_I2S_MIC_INPUT -D USE_ESP_NOW
3334
lib_ignore = indicator_led_pico

0 commit comments

Comments
 (0)