Where can I find the sources for ESP8266 machine module?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
lfast
Posts: 8
Joined: Mon Jul 09, 2018 6:57 pm

Where can I find the sources for ESP8266 machine module?

Post by lfast » Mon Jul 09, 2018 7:25 pm

I'm a newbie climbing up from following tutorials toward looking at micropython source code to get more insights. I'm having trouble navigating the github sources to find things like machine.py or the equivalent. I'm guessing part of my problem is not understanding how the C source get converted in to Python libraries. Where can I look to get a better understanding of this?

At the more specific level, I'm looking for sources for the machine Module. I've been looking at https://docs.micropython.org/en/latest/ ... ckref.html but that only takes me so far. I want to see the whole library and especially things like the Enumerations.


cefn
Posts: 205
Joined: Tue Aug 09, 2016 10:58 am

Re: Where can I find the sources for ESP8266 machine module?

Post by cefn » Mon Jul 09, 2018 9:54 pm

And take a look at https://youtu.be/-MrqCmq3Z5k?t=18m4s for a walkthrough in answer to your question "understanding how the C source get converted in to Python libraries. Where can I look to get a better understanding of this?" which starts by looking at the modmachine.c source

Post Reply