Search found 5 matches

by ferran.campos
Wed Nov 27, 2019 7:33 pm
Forum: Development of MicroPython
Topic: Mininal Port's Garbage Collection
Replies: 3
Views: 178

Mininal Port's Garbage Collection

Hi, I have some problems with minimal port's gc_collect function. First of all, I have been developing some code for the Micropython's minimal port in order to execute it in a stm32. Some of this code needs to run the gc_collect() function to avoid garbage to accumulate and occupy all my heap, leavi...
by ferran.campos
Mon Sep 09, 2019 2:22 pm
Forum: General Discussion and Questions
Topic: Is there any way of uploading a .mpy file and execute it?
Replies: 3
Views: 240

Re: Is there any way of uploading a .mpy file and execute it?

Thank you for your responses, I've searching for some clues in the code and I found some save-load file inside persistentcode.* For what I've understand, these functions work with the board file system, they open and read a .mpy file and then build a reader object with a data attribute which is a re...
by ferran.campos
Fri Sep 06, 2019 1:34 pm
Forum: General Discussion and Questions
Topic: Is there any way of uploading a .mpy file and execute it?
Replies: 3
Views: 240

Is there any way of uploading a .mpy file and execute it?

Hi, I'm looking for an existing way of uploading a .mpy file dinamically, like uploading the file through the HAL port while micropython is running, get the file and execute it. By this, I'm aiming to upload and execute files without having to reprogram the chip, instead of freezing them into the fi...
by ferran.campos
Wed Jul 24, 2019 8:09 am
Forum: General Discussion and Questions
Topic: MicroPython minimal port on NUCLEO F446ZE
Replies: 6
Views: 483

Re: MicroPython minimal port on NUCLEO F446ZE

That was it, I had a version from a month ago. With the updated one works perfectly. Thank you!
by ferran.campos
Tue Jul 23, 2019 4:54 pm
Forum: General Discussion and Questions
Topic: MicroPython minimal port on NUCLEO F446ZE
Replies: 6
Views: 483

MicroPython minimal port on NUCLEO F446ZE

Hi, I'm trying to execute the minimal port of micropython on the NUCLEO - F446ZE. As the README file says, it should work on STM32 F4 series. However, that's not the case. The code is actually writen succesfully on the board through ST-LINK and the Micropython initializes as expected showing the fol...