lemariva / micropython-i2s-driver

This repository adds I2S support to MicroPython for the ESP32 family.
https://lemariva.com/blog/category/micropython
Apache License 2.0
15 stars 1 forks source link

any chance to have an updated version? #2

Closed thiswillbeyourgithub closed 7 months ago

thiswillbeyourgithub commented 1 year ago

Hi!

I'm the owner of a T-Watch 2022 V3 : a hackable smartwatch with a PDM microphone built on ESP32.

Your repo was mentionned in this thread as a reference on how to add PDM support for micropython as part of this OS.

My goal is to have a minimalist micropython OS that can connect to an OpenAI (/LocalAI) backend and give me access to an AI assistant. Unfortunately, there is no built in PDM support in micropython ESP32 as far as I understand and although I'm comfortable in python I don't know C and won't have too much time to mess around on this side project :)

Hence, I was wondering if you had by any chance a more up to date version of your PDM implementation. One that could be easily added to a recent micropython.

If not, would you mind giving me pointers on what the steps I should take to implement PDM support myself? My main tool being GPT-4 :clown_face: :)

Thank you and have a nice day!

thiswillbeyourgithub commented 11 months ago

For the record, I did try to merge it to a recent micropython version. I had to make 2 notable change to make it build succesfully (still not sure it was successful but at least it built) and documented the whole thing there: https://github.com/jeffmer/micropython/pull/1

thiswillbeyourgithub commented 7 months ago

@lana-chan made a PR to micropython here so I'll got with that. For anyone interested my fork for the twatch V3 is here