Search found 410 matches

by mattyt
Sun Aug 22, 2021 1:25 am
Forum: Programs, Libraries and Tools
Topic: collections.deque doesn't do anything useful
Replies: 3
Views: 3255

Re: collections.deque doesn't do anything useful

This post reminded me that I had a minor patch to address some of the MicroPython-Lib deque shortcomings - so I've now opened a PR (that adds maxlen support). But I also want to add more deque features; feel free to help! :)
by mattyt
Sun Aug 15, 2021 1:23 am
Forum: MicroPython pyboard
Topic: Documentation confusion
Replies: 4
Views: 6776

Re: Documentation confusion

I just built the MicroPython.pdf and also put together a Docker container (micropython/build-docs) with the dependencies so you can build it yourself. To do so, take a clone of the MicroPython repository and run 'make latexpdf' in the container like so: ❯ docker run -ti --rm -v /your/mp/clone:/mp --...
by mattyt
Thu Aug 12, 2021 2:08 am
Forum: ESP32 boards
Topic: urequests - any way to download files by chunks
Replies: 7
Views: 8282

Re: urequests - any way to download files by chunks

Just a quick note that SpotlightKid moved his excellent mrequests library a little while ago so the link in this thread is broken; it's now at mrequests . Perhaps we should consider consolidating urequest and mrequest? I would be happy to see mrequests replace urequest in micropython-lib or urequest...
by mattyt
Fri Jul 23, 2021 3:32 am
Forum: General Discussion and Questions
Topic: STM32L423KC - Low power modes
Replies: 2
Views: 1516

Re: STM32L423KC - Low power modes

I believe stop and standby will require a little more effort; I'm looking at implementing something similar for the STM32WB55 where there are >7 different power modes as well as additional configuration to tweak features vs consumption in some of those modes. Lite and deep sleep don't cover all the ...
by mattyt
Wed Jul 21, 2021 11:59 pm
Forum: MicroPython pyboard
Topic: PDM support on Micropython
Replies: 6
Views: 7697

Re: PDM support on Micropython

7183 was merged a couple of weeks ago - congrats and thanks Mike! - so the ESP32 and STM32 daily ('unstable') builds should also have I2S.

Documentation has also been published: I2S library docs and the I2S entries in the QuickRef for ESP32 and STM32.
by mattyt
Sat Jul 17, 2021 3:15 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 456364

Re: Teensy 4.0 & 4.1

Thanks for all your efforts on the Teensy port Robert! Really appreciated. :)
by mattyt
Thu Jul 15, 2021 10:34 pm
Forum: Other Boards
Topic: [Solved] How to setup ESP32-S2 build environment?
Replies: 2
Views: 4687

Re: [Solved] How to setup ESP32-S2 build environment?

As an alternative, although not official, I recently pushed a container to the docker hub that can help with that: > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micropython-esp32 bash -c -l "cd micropython && make -C mpy-cross && make -C ports/esp32 submodules && make -C p...
by mattyt
Thu Jul 15, 2021 11:43 am
Forum: ESP32 boards
Topic: Micropython on ESP32-C3
Replies: 36
Views: 238170

Re: Micropython on ESP32-C3

Glad you sorted it out! :)
by mattyt
Thu Jul 15, 2021 5:41 am
Forum: ESP32 boards
Topic: Micropython on ESP32-C3
Replies: 36
Views: 238170

Re: Micropython on ESP32-C3

Interesting; perhaps try a clean? > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micropython-esp32 bash -c -l "cd micropython && make -C ports/esp32 BOARD=GENERIC_C3 clean" And then build again: > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-microp...
by mattyt
Tue Jul 13, 2021 11:43 am
Forum: ESP32 boards
Topic: Micropython on ESP32-C3
Replies: 36
Views: 238170

Re: Micropython on ESP32-C3

I've just pushed a container to the docker hub that can help build that. You should be able to use: > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micropython-esp32 bash -c -l "cd micropython && make -C mpy-cross && make -C ports/esp32 submodules && make -C ports/esp32 BOAR...