Search found 215 matches

by marfis
Fri Feb 25, 2022 4:25 pm
Forum: Raspberry Pi microcontroller boards
Topic: MPY-cross Pi Pico Build V.18 conflict between ARCH values?
Replies: 5
Views: 3780

Re: MPY-cross Pi Pico Build V.18 conflict between ARCH values?

yes, update the github issue would be the way to go.
by marfis
Wed Feb 23, 2022 6:49 am
Forum: Raspberry Pi microcontroller boards
Topic: MPY-cross Pi Pico Build V.18 conflict between ARCH values?
Replies: 5
Views: 3780

Re: MPY-cross Pi Pico Build V.18 conflict between ARCH values?

You might want to look at https://github.com/micropython/micropython/issues/7616#issuecomment-894002358 But to summarize, mpy-cross does not support armv6m architecture. Jim did a branch for prelimenary support of this (also linked above) that I tested. It worked, however there it was not merged ups...
by marfis
Sat Nov 20, 2021 10:14 pm
Forum: Other Boards
Topic: [OSX] fault during build of unix binaries
Replies: 0
Views: 6334

[OSX] fault during build of unix binaries

I recently tried to compile binaries for OSX, I'm on BigSur (11.6) and stumbled over a fault message during linking: LINK micropython strip: object: <path>/micropython/ports/unix/micropython malformed object (unknown load command 10) make: *** [micropython] Error 1 make: *** Deleting file `micropyth...
by marfis
Sun Sep 19, 2021 7:45 pm
Forum: Raspberry Pi microcontroller boards
Topic: rp2: Neopixel library and docs
Replies: 3
Views: 4077

Re: rp2: Neopixel library and docs

Thanks a lot for the detailed answer, that clarifies the situation. In that case... would a note make sense in the quickref, stating that the neopixel module is currently not available? To reflect the current state? It's great that machine.bitstream is in active development for the rp2. Using systic...
by marfis
Mon Sep 13, 2021 2:33 pm
Forum: Raspberry Pi microcontroller boards
Topic: rp2: Neopixel library and docs
Replies: 3
Views: 4077

rp2: Neopixel library and docs

The online doc for the rp2 has a quickref for neopixel: pointing https://docs.micropython.org/en/latest/rp2/quickref.html#neopixel-and-apa106-driver I understand there is a major refactoring going on for this documenation, but I don't see how/if there is a module level support for neopixel at the mo...
by marfis
Mon Sep 13, 2021 5:06 am
Forum: Raspberry Pi microcontroller boards
Topic: USB VBUS detection
Replies: 5
Views: 4411

Re: USB VBUS detection

How could the MCU know that USB power is powering the regulator unless there is a separate input from USB power to the MCU? You are completly right. I somehow assumed it was powered by USB directly, rather than via the 3.3V regulator. So yes, for all those HW designs mentioned, there is little bene...
by marfis
Sat Sep 11, 2021 5:36 am
Forum: Raspberry Pi microcontroller boards
Topic: USB VBUS detection
Replies: 5
Views: 4411

Re: USB VBUS detection

some (most?) rp2040 based boards do not wire vbus to a gpio.
by marfis
Thu Sep 09, 2021 11:48 am
Forum: Raspberry Pi microcontroller boards
Topic: USB VBUS detection
Replies: 5
Views: 4411

USB VBUS detection

small helper to detect if USB is powered:

Code: Select all

import machine
def is_usb_connected():
    #  SIE_STATUS register, VBUS_DETECTED bit0
    return machine.mem32[0x50+0x50110000] & 0x1
by marfis
Sat Sep 04, 2021 11:59 am
Forum: Announcements and News
Topic: MicroPython version 1.17 released
Replies: 1
Views: 34312

Re: MicroPython version 1.17 released

thanks to everybody who contributed. great work!
by marfis
Tue May 04, 2021 9:12 pm
Forum: General Discussion and Questions
Topic: Sad farewell to pyboard and micropython, another push is needed to finish things off...
Replies: 10
Views: 8083

Re: Sad farewell to pyboard and micropython, another push is needed to finish things off...

> People buy the boards and do a little project, and that's it. They do not seem to do anything more. I felt this was a unfair statement so why not explaining how our experience is? We‘re working in teams of 3..6 people developing FW entirely in uPy for a device thats pretty complex, for a large ger...