How to include i2s for esp32-S3 #355
Replies: 1 comment 1 reply
-
That is possibly because it is a newer version of MicroPython you are using. Older versions of MicroPython has an issue with I2S and causing compile errors. I am going to be bumping up the version of MicroPython that is being used in the next few weeks. I like to know what is broken before changing to the newest version so I can see if it might cause issues with using the binding and to see what I need to alter in the build system to get everything working properly. They have done some extensive changes to how the USB pins work on some of the ESP32 series MCU's. The USB is able to be set at runtime instead of at compile time. To what extent that is I am not sure yet and I have to do some investigating into it. In the next release of MicroPython it is going to automatically size the application partition to maximize the amount of user partition that is available. While that is not a feature that I directly suggested I do believe that the idea came from me doing it with this project. It takes a little bit of time to dive into the new way the build system works to be able to get this projects code to compile properly into the firmware. The big thing is I am going to have to rewrite large portions of the bus driver code for the displays. This is because of the ESP-IDF version bump to 5.4. The driver code has been completely rewritten in ESP-IDF 5.4 and that is going to take me a bit to figure out what I need to update/change. If there are a large number of changes that need to be made I am going to probably overhaul the bus driver code to expand it's functionality to allow for software rotation for all bus types and not just RGB displays. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a microphone and speaker on a custom border that I would like to use.
I've been looking through the cmake files and compilation options, but I'm unable to find how to add the i2s module.
Is this supported yet, or am I missing something?
I2S seems to be working fine when building micropython from the official repo (without lvgl).
Beta Was this translation helpful? Give feedback.
All reactions