Search found 4 matches
- Tue Feb 08, 2022 6:04 pm
- Forum: Development of MicroPython
- Topic: Executing MicroPython program in non-blocking fashion
- Replies: 1
- Views: 5849
Re: Executing MicroPython program in non-blocking fashion
If I think I've understood what you want to do, the simple answer is no unfortunately. :( One way I think about MicroPython is it is essentially a function that runs the VM and then that calls native C functions. If you want to 'pause' that function so you can do other things, then it's the same as ...
- Mon Feb 07, 2022 5:45 pm
- Forum: Development of MicroPython
- Topic: vstr_t line avoiding a sweep from GC in pyexec
- Replies: 1
- Views: 4799
vstr_t line avoiding a sweep from GC in pyexec
Forgive my potential ignorance, I'm trying to understand why vstr_t line doesn't get swept from the garbage collector? I'm making changes elsewhere in the function and I want to make sure I don't break something. With the non MICROPY_REPL_EVENT_DRIVEN version of pyexec_friendly_repl I can't see vstr...
- Wed Dec 01, 2021 10:40 am
- Forum: Development of MicroPython
- Topic: Qstr strangeness in network_wlan
- Replies: 2
- Views: 13083
Re: Qstr strangeness in network_wlan
Maybe your strings are too long ? Yes, works fine with short strings. In my opinion, already-existing QSTRs (from the precompiled table) should be used anyway, regardless of their length. Perhaps a Bug ? Yes, definitely a bug on some level -- I assumed the same. If this isn't the case, then the lon...
- Tue Nov 30, 2021 6:37 pm
- Forum: Development of MicroPython
- Topic: Qstr strangeness in network_wlan
- Replies: 2
- Views: 13083
Qstr strangeness in network_wlan
This feels like it should be something simple but I'm baffled, so hoping someone can help please I've modified network_wlan.c to get the number of clients connected in AP mode. I've added the following code into network_wlan_config function here: https://github.com/micropython/micropython/blob/de7e3...