Search found 3821 matches

by dhylands
Fri Apr 22, 2022 4:58 pm
Forum: Other Boards
Topic: STM32 Nucleo-L073RZ uploading files doesn't work
Replies: 4
Views: 2264

Re: STM32 Nucleo-L073RZ uploading files doesn't work

The NUCLEO-L073 only has 192K of flash, so there is only room for a stripped down version of MicroPython and no room for a filesystem.

So all of the code you want to run needs to be included as frozen files.
by dhylands
Fri Apr 22, 2022 4:48 pm
Forum: Programs, Libraries and Tools
Topic: Details of build environment for micropython releases (esp. ESP32)
Replies: 7
Views: 4573

Re: Details of build environment for micropython releases (esp. ESP32)

The README in the esp32 port talks about the versions: https://github.com/micropython/micropyt ... nvironment

Near the end of that section it says:
  • ESP32-S3 currently requires v4.4 or later.
  • ESP32-S2 and ESP32-C3 require v4.3.1 or later.
by dhylands
Tue Apr 19, 2022 6:00 pm
Forum: Programs, Libraries and Tools
Topic: How to Production Progam and upload system files
Replies: 5
Views: 2748

Re: How to Production Progam and upload system files

I'm not sure. This usually means that the UART has dropped a character.

You could try mpremote

Are you running the latest version of rshell? (which is 0.0.31).
by dhylands
Tue Apr 19, 2022 12:51 am
Forum: Programs, Libraries and Tools
Topic: How to Production Progam and upload system files
Replies: 5
Views: 2748

Re: How to Production Progam and upload system files

I'd recommend that you use --buffer-size=32 when using the ESP32 (and this is now the default with the latest versions of rshell)

If that doesn't work, then try using the --ascii option as well.
by dhylands
Tue Apr 12, 2022 5:56 am
Forum: General Discussion and Questions
Topic: How to use the WiFi on the PyBoard
Replies: 4
Views: 1905

Re: How to use the WiFi on the PyBoard

I got picoweb running on my pyboard D and I put all of the files together over here: https://github.com/dhylands/picoweb
by dhylands
Sun Apr 10, 2022 8:43 pm
Forum: General Discussion and Questions
Topic: How to use the WiFi on the PyBoard
Replies: 4
Views: 1905

Re: How to use the WiFi on the PyBoard

I'm actually trying to do exactly the same thing. You can find urequests.py here: https://github.com/micropython/micropython-lib/blob/master/python-ecosys/urequests/urequests.py So checkout the micropython-lib repository: https://github.com/micropython/micropython-lib/ and set an environment variabl...
by dhylands
Sun Apr 10, 2022 3:51 am
Forum: General Discussion and Questions
Topic: How to use the WiFi on the PyBoard
Replies: 4
Views: 1905

Re: How to use the WiFi on the PyBoard

I found an old forum post when the Pyboard first came out that referenced this site:https://pybd.io/hw/pybd_sfxw.html#wifi-control and that seems to be the same as the WLAN documentation: https://docs.micropython.org/en/latest/ ... .WLAN.html
by dhylands
Sun Apr 10, 2022 3:37 am
Forum: ESP32 boards
Topic: ESP-32 register contents printing
Replies: 3
Views: 1462

Re: ESP-32 register contents printing

You can use the format command to print stuff. To print binary, you'd do something like: print('Num = {:b}'.format(3)) which will output: Num = 11 . If you wanted to print 8 bits, with leading zeros, then you'd use this: >>> print('Num = {:08b}'.format(3)) Num = 00000011 I've never seen anything to ...
by dhylands
Fri Apr 08, 2022 5:10 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 442710

Re: Teensy 4.0 & 4.1

Google created an MTP file transfer program for the Mac, but it has been notoriously buggy. I used this for a while when I was working on FirefoxOS. Somebody also made a kernel driver for Mac which makes the MTP files easily accessible through the Finder and other "regular" filesystem ways. See this...
by dhylands
Wed Apr 06, 2022 9:49 pm
Forum: MicroPython pyboard
Topic: Piping data from pyboard to serial to cat
Replies: 3
Views: 2502

Re: Piping data from pyboard to serial to cat

Try using /dev/cu.usbmodem2052387C374E1 instead of /dev/tty.usbmodem2052387C374E1 The /dev/tty.usbmodem* port is designed for incoming serial connections when connected to an old-fashioned modem and will wait until the DCD signal is asserted before the open proceeds. The /dev/cu.usbmodem* is designe...