PWM and ADC Class on MicroPython port for Zephyr

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
Yadnik
Posts: 65
Joined: Thu May 13, 2021 6:01 am

PWM and ADC Class on MicroPython port for Zephyr

Post by Yadnik » Fri Jul 16, 2021 5:01 pm

I want to run Mickroe click boards on a custom board having Micropython application flashed on zephyr. However PWM and ADC classes are not available, so I cannot run click boards running on these protocols.It would be very helpful if someone could guide me with it.

If it is not the focus of the team now I can also try writing them and opening a pull request to the upstream MicroPython repository.
Thank you very much!!

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: PWM and ADC Class on MicroPython port for Zephyr

Post by jimmo » Mon Jul 19, 2021 2:17 am

Yadnik wrote:
Fri Jul 16, 2021 5:01 pm
If it is not the focus of the team now I can also try writing them and opening a pull request to the upstream MicroPython repository.
It's on the TODO list -- the Zephyr port is a great opportunity to massively increase the reach of MicroPython to a wide range of supported boards and platforms. However there are lots of things on the TODO list and I don't think there's any likely roadmap.

But if you're interested, PRs definitely welcome.

In particular with PWM, take a look at https://github.com/micropython/micropython/pull/7450 and for some history on ADC look at https://github.com/micropython/micropython/pull/5033

Post Reply