Search found 5270 matches

by pythoncoder
Sat Jul 24, 2021 1:24 pm
Forum: MicroPython pyboard
Topic: Simple connect liteboard -> rs3231 rtc module
Replies: 1
Views: 19

Re: Simple connect liteboard -> rs3231 rtc module

You might want to look at this doc.
by pythoncoder
Fri Jul 23, 2021 2:08 pm
Forum: Programs, Libraries and Tools
Topic: msgpack "trimmed down" for MicroPython on small controllers.
Replies: 8
Views: 246

Re: msgpack "trimmed down" for MicroPython on small controllers.

I'll take a look at that and try to figure out if it has a chance of being significantly smaller. I've done a bit of optimisation and got it down to ~12.5KiB on STM. This is with dump and load functionality retained in one module. I think it would be hard to go much further with this codebase. The c...
by pythoncoder
Fri Jul 23, 2021 6:23 am
Forum: Programs, Libraries and Tools
Topic: msgpack "trimmed down" for MicroPython on small controllers.
Replies: 8
Views: 246

Re: msgpack "trimmed down" for MicroPython on small controllers.

I don't know if anyone is still interested in this - if not I'll pipe down ;) After scrapping the Python 2 cruft and other easy trims the thing still weighs in at a hefty 26K. The authors' concept of "lightweight" is not mine. The function dispatch table weighs in at an elephantine 10K which I plan ...
by pythoncoder
Wed Jul 21, 2021 4:54 pm
Forum: Programs, Libraries and Tools
Topic: msgpack "trimmed down" for MicroPython on small controllers.
Replies: 8
Views: 246

Re: msgpack "trimmed down" for MicroPython on small controllers.

I have tried your code and it does indeed seem OK on the Unix build and STM32. There is more to be done to make it "micro". The low hanging fruit are stripping out the Python2 stuff and maybe ditching compatibility mode, but it really needs a thorough review. It does strike me as worth doing as we h...
by pythoncoder
Wed Jul 21, 2021 6:51 am
Forum: Programs, Libraries and Tools
Topic: msgpack "trimmed down" for MicroPython on small controllers.
Replies: 8
Views: 246

Re: msgpack "trimmed down" for MicroPython on small controllers.

I think this could be a very useful addition to the current MicroPython serialisation options but I agree with the comment of @stijn: it would benefit greatly by being presented as a complete project with installation instructions. Also docs that state any MicroPython limitations or differences. I w...
by pythoncoder
Wed Jul 21, 2021 6:35 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 20
Views: 3222

Re: Cannot get access to /dev/ttyACM0

I think it's worth saying that this problem has gone away here, presumably fixed in a firmware update.
by pythoncoder
Tue Jul 20, 2021 2:33 pm
Forum: Development of MicroPython
Topic: Native emitter deep dive
Replies: 2
Views: 133

Re: Native emitter deep dive

That is a seriously deep dive. Interesting, but rather you than me ;)
by pythoncoder
Tue Jul 20, 2021 2:04 pm
Forum: Programs, Libraries and Tools
Topic: GPS click on micropython
Replies: 5
Views: 141

Re: GPS click on micropython

I'm sorry but I have no experience of Zephyr. Is it possible to install uasyncio with upip? If your hardware is not networked you could try micropip.

If you really can't get uasyncio (which would be a shame) you could try MicropyGPS which uses synchronous code.
by pythoncoder
Tue Jul 20, 2021 6:45 am
Forum: Programs, Libraries and Tools
Topic: rshell - Remote Shell
Replies: 89
Views: 52740

Re: rshell - Remote Shell

Another mod which may or may not be of interest may be found in the no_pc_delete branch of my repo. Though I manage to use bash daily without disaster, in rshell I have twice deleted my project from the PC rather than from the target. In addition to the macro feature this branch refuses to delete fi...