new to micropython.

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
astrorafael
Posts: 6
Joined: Mon Feb 15, 2021 10:09 am

new to micropython.

Post by astrorafael » Tue Feb 16, 2021 10:04 am

Hi all,

I came here because of the new RaspPi Pico MCU and was delighted to see that MicroPython runs on it. However, I found out that the rp2 port did not include a "machine.RTC" class, so I thought that I could possibly learn how to write a C extension in the process. I'm an average developer and so far I have managed well learning by example with the C port/rp2 contents and have a prototype working, EXCEPT for the IRQ/ISR parts which I have not yet addressed.

From past experiences, I know that this is a really hard part to get it right, so before diving into it, I'd like to ask some questions and save a lot of headaches. I'll defer them to another post - with other questions that I left behind - just not to be so rude to getting it to the point right now.

If anyone is being curious, my work in progress can be seen in my micropython fork, branch feat/rtc, file machine_rtc.

Stay safe
Rafael

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

Re: new to micropython.

Post by jimmo » Wed Feb 17, 2021 3:05 am

astrorafael wrote:
Tue Feb 16, 2021 10:04 am
From past experiences, I know that this is a really hard part to get it right, so before diving into it, I'd like to ask some questions and save a lot of headaches. I'll defer them to another post - with other questions that I left behind - just not to be so rude to getting it to the point right now.
Sounds great, this will be a very useful improvement to the rp2 port.

Might be worth sending a PR earlier (mark it as "WIP" or something) just so other people know you're working on it. It's also a good way to get early feedback.

Post Reply