Search found 3 matches

by Thomas Bartzick
Wed Mar 16, 2022 12:54 pm
Forum: General Discussion and Questions
Topic: Running without garbage collection?
Replies: 3
Views: 1194

Re: Running without garbage collection?

Hi! Thank you all for answering this very fast! Well, Robert, calling the "gc_collect()" function after executing "mp_call_function_0(G_MOD_FUN)" (where G_MOD_FUN is of type mp_obj_t), will result in execution-fault (return-code != 0) next time executing the object. So, I do suspect, there are indee...
by Thomas Bartzick
Wed Mar 16, 2022 8:10 am
Forum: General Discussion and Questions
Topic: Running without garbage collection?
Replies: 3
Views: 1194

Running without garbage collection?

Dear fellow developers! Is it possible to run µPython without the garbage collector? Assumption: ****************** * All global variables used by python are declared at top of script. * All variables used by functions are declared at top of the function So, it (possibly?) would be similar to a "C-l...
by Thomas Bartzick
Tue Mar 01, 2022 12:49 pm
Forum: General Discussion and Questions
Topic: *.mpy-files seem not be executed by µP
Replies: 0
Views: 9804

*.mpy-files seem not be executed by µP

My dear fellow 'pythoniers', I am using µP v1.13 in a RTOS-embedded system. I would like to use pre-compiled bytecode or native code executing my µP-script under RTOS-environment in order to get higher execution performance. So, as long I know, that my *.py does already work fine, I do the following...