Wanted: Porting guide / developer guide
Posted: Wed Jun 11, 2014 8:01 pm
Hi there, I've been looking around github pages and the wiki (and tried to search the forum) but...
It would be very nice to have some sort of developer guide that would explain the basics of how this beast works and how to for example implement a module in C and expose functions/data. Reading the source of course gives this info but it's a bit laborious (been doing that for the last few hours)
Another related thing would be a porting guide, what the python interpreter needs to be able to run, how to handle text input/output streams etc. Especially how to make the memory management play nice with other memory managers (I'm currently trying to figure out how to run uPy in a ChibiOS thread, not that I'm super familiar with ChibiOS either but see http://forum.micropython.org/viewtopic. ... 5&start=10 for background), I guess one could just allocate different blocks of memory for them in the linked script but that's a poor compromise, better would be to allow them to somehow share.
The Differences page on github was an excellent start (and the bare-arm tree also was nice since it does nothing extra), but I would like a bit more info/pointers on what is important and what is optional etc.
ps. Is there IRC channel or something for more realtime pestering of the resident gurus ??
It would be very nice to have some sort of developer guide that would explain the basics of how this beast works and how to for example implement a module in C and expose functions/data. Reading the source of course gives this info but it's a bit laborious (been doing that for the last few hours)
Another related thing would be a porting guide, what the python interpreter needs to be able to run, how to handle text input/output streams etc. Especially how to make the memory management play nice with other memory managers (I'm currently trying to figure out how to run uPy in a ChibiOS thread, not that I'm super familiar with ChibiOS either but see http://forum.micropython.org/viewtopic. ... 5&start=10 for background), I guess one could just allocate different blocks of memory for them in the linked script but that's a poor compromise, better would be to allow them to somehow share.
The Differences page on github was an excellent start (and the bare-arm tree also was nice since it does nothing extra), but I would like a bit more info/pointers on what is important and what is optional etc.
ps. Is there IRC channel or something for more realtime pestering of the resident gurus ??