Skip to content

Commit

Permalink
Update platformio.ini : fix on IDF 3.4.0 on ESP32
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
FedericoBusero authored May 23, 2023
1 parent a18f50f commit 22e9a0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ extra_configs =

[env]
framework = arduino
platform = espressif32
; upload_port = /dev/cu.SLAB_USBtoUART
; monitor_port = /dev/cu.SLAB_USBtoUART
monitor_speed = 115200
Expand All @@ -24,10 +23,12 @@ build_flags = -Ofast

[env:tinypico]
board = tinypico
platform = [email protected]
lib_deps = tinypico/TinyPICO Helper Library@^1.4.0
build_flags = -Ofast -D USE_I2S_MIC_INPUT -D USE_ESP_NOW

[env:lolin32]
board = lolin32
platform = [email protected]
build_flags = -Ofast -D USE_I2S_MIC_INPUT -D USE_ESP_NOW
lib_ignore = indicator_led_pico

1 comment on commit 22e9a0d

@FedericoBusero
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction: the version is fixed to [email protected] which is based on IDF v3.3.5-1-g85c43024c (Arduino 1.0.6)

Please sign in to comment.