Search found 6 matches
- Thu Mar 01, 2018 1:12 pm
- Forum: Development of MicroPython
- Topic: Callstack in Micropython
- Replies: 5
- Views: 3688
Re: Callstack in Micropython
Yeah, that is basically what I want to do, but I want to execute several different python programms interleaved, i.e. I want to have several processes of python code, which can at any point in time give up the CPU-time themselves, by raising a certain exception, then I would like to store the Except...
- Wed Feb 28, 2018 2:43 pm
- Forum: Development of MicroPython
- Topic: Callstack in Micropython
- Replies: 5
- Views: 3688
Re: Callstack in Micropython
Hello. I'm currently looking into that, I found out, that with Pystack enabled the stack is located continously in memory, whereas with the stack-less option it may be scattered all over the place. Okay, both form a stack, more or less. I am assuming PYSTACK to be enabled for simplicity reasons. And...
- Wed Feb 28, 2018 12:45 pm
- Forum: Development of MicroPython
- Topic: Callstack in Micropython
- Replies: 5
- Views: 3688
Callstack in Micropython
Hello, The callstack is for a project of mine very important and I would like to read and modify it. For clarification: the callstack is the place, where the interpreter stores where to return when a return-statement is executed. It could also be used when raising (and catching) an Exception to dete...
- Tue May 02, 2017 3:52 pm
- Forum: Other Boards
- Topic: Raspberry Pi Port
- Replies: 8
- Views: 12296
Re: Raspberry Pi Port
I'm currently working on python-code to implement REPL in micropython, documenting code and extending the documentation of micropython on my way. The next thing would be to use some test-skripts to test functionality of my micropython-build, trying to find out what works, what does not and how I cou...
- Thu Apr 27, 2017 9:46 am
- Forum: Other Boards
- Topic: Raspberry Pi Port
- Replies: 8
- Views: 12296
Re: Raspberry Pi Port
[quote="pythoncoder"][quote]there were several occurances of a output-function probably used by the stm-port directly.[/quote] Why did you start with the STM build rather than the Unix build?[/quote] I didn't. I started with the bare-arm. But I've seen wrong code (or what I believe to be wrong code,...
- Wed Apr 26, 2017 2:50 pm
- Forum: Other Boards
- Topic: Raspberry Pi Port
- Replies: 8
- Views: 12296
Raspberry Pi Port
Hello, I started porting micropython to the Raspberry Pi. You can find the current state in [1]. I had to do the following: in lib/utils/printf.c there were several occurances of a output-function probably used by the stm-port directly. I found the macro MP_PLAT_PRINT_STRN to be of more use here, so...