Search found 5 matches

by ThomasK
Mon Feb 26, 2018 8:12 am
Forum: Development of MicroPython
Topic: [SOLVED] mutex deadlock during garbage collection
Replies: 7
Views: 4554

Re: [SOLVED] mutex deadlock during garbage collection

Done, as the part that directly applied to my question was resolved,

although I don't quite agree that it's solved when Damien comes to the conclusion that "there indeed appears to be a bug".
by ThomasK
Fri Feb 23, 2018 9:43 am
Forum: Development of MicroPython
Topic: [SOLVED] mutex deadlock during garbage collection
Replies: 7
Views: 4554

Re: mutex deadlock during garbage collection

Great, thank you for the feedback, jickster & Damien!
by ThomasK
Wed Feb 21, 2018 9:02 am
Forum: Development of MicroPython
Topic: [SOLVED] mutex deadlock during garbage collection
Replies: 7
Views: 4554

[SOLVED] mutex deadlock during garbage collection

Hi, I'm currently facing a fairly interesting problem with the garbage collection when running the micropython kernel inside of an RTOS. as micropython runs inside of an RTOS, I'm making use of GC_ENTER and GC_EXIT to lock & unlock mutexes. I'm wondering now if this is due to something I did in my p...
by ThomasK
Wed Jan 31, 2018 9:01 am
Forum: Development of MicroPython
Topic: enabling or disabling micropython modules at runtime
Replies: 3
Views: 722

Re: enabling or disabling micropython modules at runtime

The use case is fairly simple, µPy is used to call certain factory calibration routines, This module should only be used for configuring factory calibration settings, for example offset values of the analog I/O. having the module unlisted, and impossible to import avoids some of the more adventurous...
by ThomasK
Tue Jan 30, 2018 10:55 am
Forum: Development of MicroPython
Topic: enabling or disabling micropython modules at runtime
Replies: 3
Views: 722

enabling or disabling micropython modules at runtime

Hi, I was wondering if it there was a way to register new custom modules in micropython during runtime? I've currently implemented this by registering them in the MICROPY_PORT_BUILTIN_MODULES list, and capturing the "import" command it via mp_module_get so the module can't be found/imported unless s...