Replies: 6 comments 8 replies
-
For some reason it is turned off in the ESP32_GENERIC_C6 build. See #define MICROPY_PY_MACHINE_I2S (0) This used to be the case for ESP32_GENERIC_C3 also, but that setting is removed. The default is defined in |
Beta Was this translation helpful? Give feedback.
-
I was able to build a ESP32_GENERIC_C6 successfully ( I think the I2S in in the build, I noticed that the module was compiled: micropython/extmod/machine_i2s.c.obj) but have run into an invalid image block. ets_main.c 331 with the following details:
bin file is roughly the same size as the recent generic release. First time I've tried building mp. Did I miss a step? |
Beta Was this translation helpful? Give feedback.
-
Sorry- I do not have a C6 to experiment with.
…On Fri, Apr 18, 2025 at 4:06 PM Steve Case ***@***.***> wrote:
I was able to build a ESP32_GENERIC_C6 successfully ( I think the I2S in
in the build, I noticed that the module was compiled:
micropython/extmod/machine_i2s.c.obj) but have run into an invalid image
block. ets_main.c 331 with the following details:
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x7 (TG0_WDT_HPSYS),boot:0x1e (SPI_FAST_FLASH_BOOT)
Saved PC:0x40018bea
SPIWP:0xee
mode:DIO, clock div:2
load:0x42180020,len:0x42664
load:0x40800000,len:0xd98c
load:0x42000020,len:0x17d8c4
Invalid image block, can't boot.
ets_main.c 331
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x7 (TG0_WDT_HPSYS),boot:0x1e (SPI_FAST_FLASH_BOOT)
Saved PC:0x40018bea
SPIWP:0xee
mode:DIO, clock div:2
load:0x42180020,len:0x42664
load:0x40800000,len:0xd98c
load:0x42000020,len:0x17d8c4
Invalid image block, can't boot.
ets_main.c 331
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x7 (TG0_WDT_HPSYS),boot:0x1e (SPI_FAST_FLASH_BOOT)
Saved PC:0x40018bea
SPIWP:0xee
mode:DIO, clock div:2
load:0x42180020,len:0x42664
bin file is roughly the same size as the recent generic release. First
time I've tried building mp. Did I miss a step?
—
Reply to this email directly, view it on GitHub
<#17151 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5QPQGOXCZ4LD23D25QKU322FSLZAVCNFSM6AAAAAB3LQ6I6GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOBYGE3DOMA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
Rick Sorensen
***@***.***
651-470-5511
|
Beta Was this translation helpful? Give feedback.
-
I was able to add I2S to the ESP_GENERIC_C6 build. Setting the
worked. So is this a bug? I don't feel like I should do a PR unless it is the only way it will get picked up. |
Beta Was this translation helpful? Give feedback.
-
Verified operation on XIAO ESP32-C6 with following pinout. Using Mike Teachmans I2S examples as test cases. I2S Board was generic PCM5102 audio generator with 3.5mm output.
|
Beta Was this translation helpful? Give feedback.
-
I have created a PR for this issue: #17644 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to use the I2S class that is normally found in machine.
Did it move?
Using ESP32_GENERIC_C6-20250415-v1.25.0.bin on a XIAO ESP-32-C6
Beta Was this translation helpful? Give feedback.
All reactions