Search found 301 matches

by mattyt
Wed Sep 16, 2020 6:25 am
Forum: Development of MicroPython
Topic: Error building port for STM32WB55
Replies: 5
Views: 132

Re: Error building port for STM32WB55

Quick check: Have you set:

Code: Select all

MCU_SERIES = wb
CMSIS_MCU = STM32WB55xx
in mpconfigboard.mk? Those will determine how parts of the STM32 HAL will be configured, including the number of timers etc...
by mattyt
Wed Sep 16, 2020 6:17 am
Forum: Other Boards
Topic: [ATSAME70Q21] MicroPython + FreeRTOS Port
Replies: 2
Views: 152

Re: [ATSAME70Q21] MicroPython + FreeRTOS Port

Perhaps it would be useful to look at the embedding example?
by mattyt
Tue Sep 15, 2020 1:40 am
Forum: Other Boards
Topic: [ADAFRUIT_F405_EXPRESS] enable (more) flash
Replies: 3
Views: 128

Re: [ADAFRUIT_F405_EXPRESS] enable (more) flash

...and then it'd be great if you could submit a PR to add support for this board to MicroPython! :)
by mattyt
Sat Sep 05, 2020 1:38 am
Forum: Programs, Libraries and Tools
Topic: Beta of Thonny 3.3 with several MP-related improvements
Replies: 2
Views: 169

Re: Beta of Thonny 3.3 with several MP-related improvements

Thanks for all your efforts Alvar! This looks really cool. I helped write some workshop material for beginners last year and need to base it around some tool to help deploy files to a device. I chose the alpha of Mu (which is also great) over Thonny because, at the time, using it with MicroPython wa...
by mattyt
Sun Aug 09, 2020 5:21 am
Forum: Drivers for External Components
Topic: Anyone have drivers for FXOS8700/FXAS21002 (Adafruit NXP precision IMU)?
Replies: 2
Views: 227

Re: Anyone have drivers for FXOS8700/FXAS21002 (Adafruit NXP precision IMU)?

There are CircuitPython drivers for both the FXOS8700 and the FXAS21002 . Both will be trivial to port to MicroPython - just change some references to the way I2C is handled. Let me know if you get stuck! I'd also suggest a design change: just pass an I2C object to each of the drivers rather than cr...
by mattyt
Sun Aug 09, 2020 1:16 am
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 1188

Re: pypi.org/pypi vs micropython.org/pi

That's a pretty interesting take on how to do package installs! I like it. Thought it might be worth highlighting #358 since it adds version specifiers (from PEP440 and PEP508 to upip. But it was submitted against the older micropython-lib upip rather than the micropython upip. If you think it'd be ...
by mattyt
Thu Aug 06, 2020 10:12 pm
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 1188

Re: pypi.org/pypi vs micropython.org/pi

Note that, confusingly, there are versions of upip in micropython and micropython-lib. There are slight differences.

I believe the intent is to continue forward with the micropython version and remove micropython-lib...
by mattyt
Wed Aug 05, 2020 3:08 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 54
Views: 4501

Re: TTGO T-WATCH-2020

It might be a good idea to port Daniel Thompson's wasp-os. He's already implemented a lot of the basics...
by mattyt
Tue Jul 28, 2020 2:29 pm
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 1188

Re: pypi.org/pypi vs micropython.org/pi

I believe that the idea is that micropython.org snapshots versions of libraries known to work for the latest stable release of MicroPython.
by mattyt
Mon Jul 20, 2020 4:17 am
Forum: ESP32 boards
Topic: ESP32 Virtual Timers??
Replies: 7
Views: 577

Re: ESP32 Virtual Timers??

You may use Timer(-1), Timer(-2)... for different virtual timer. Currently that's not correct on the ESP32; virtual timers are not implemented . See Josh's PR #6258 for more details. In short there are four hardware timers and using -1 (and -2) actually maps to one of those timers due to a defect.