Search found 3454 matches

by dhylands
Fri Sep 18, 2020 11:25 pm
Forum: MicroPython pyboard
Topic: Potential Bug
Replies: 4
Views: 94

Re: Potential Bug

I don't see that behavior. My Control-D behaves exactly as expected. Do you have any other software running? Presumably something else must have been modified since I had to do: >>> PB3 = pyb.Pin('B3', pyb.Pin.IN) >>> PB3.value() 1 >>> (i.e. use pyb.Pin rather than just Pin). I tested with both of t...
by dhylands
Fri Sep 18, 2020 11:04 pm
Forum: General Discussion and Questions
Topic: Interpretation of file modification timestamps
Replies: 2
Views: 78

Re: Interpretation of file modification timestamps

Most ports of micropython have no notion of timezone. The Loboris ESP32 port of MicroPython added support for a configurable timezone (at compile time) For most ports os.stat will return whatever time your RTC was initialized to. For the Loboris port, if you use NTP to intiialize the RTC then I thin...
by dhylands
Tue Sep 15, 2020 7:22 pm
Forum: General Discussion and Questions
Topic: Moving files from flash to sd
Replies: 1
Views: 53

Re: Moving files from flash to sd

Since the source and destination are on different file systems, in order to move the file from one place to the other you need to copy it and then remove it from the source. You can't do this using Windows Explorer since it will only let you see the internal flash or the sd but not both at the same ...
by dhylands
Tue Sep 15, 2020 4:27 pm
Forum: Other Boards
Topic: [STM32F103] - Porting MicroPython to the "BluePill" board
Replies: 22
Views: 18202

Re: [STM32F103] - Porting MicroPython to the "BluePill" board

It looks like the the basic that you linked is supported on the BluePill. I've never used it before, so I can't really comment on it.
by dhylands
Tue Sep 15, 2020 2:49 pm
Forum: Other Boards
Topic: [STM32F103] - Porting MicroPython to the "BluePill" board
Replies: 22
Views: 18202

Re: [STM32F103] - Porting MicroPython to the "BluePill" board

The readme says
Use stm32loader.py using the UART bootloader to flash usbdfu.bin
.

As simple as what you want, even the minimal micropython is around 70K IIRC
by dhylands
Mon Sep 14, 2020 3:38 pm
Forum: Other Boards
Topic: [STM32F103] - Porting MicroPython to the "BluePill" board
Replies: 22
Views: 18202

Re: [STM32F103] - Porting MicroPython to the "BluePill" board

Given that the blue pill only has 64K flash in pet sure you won’t be able to get even minimal micropython to run. I have some info on flashing DFU onto the blue pill over here: https://github.com/dhylands/stm32-test/tree/master/board-STM32F103-Mini Note that using the DFU boot loader reduces your av...
by dhylands
Fri Sep 11, 2020 10:10 pm
Forum: ESP8266 boards
Topic: [SOLVED] sys.settrace on ESP8266
Replies: 8
Views: 224

Re: Issues with sys.settrace on ESP8266

Usually, if you run into QSTR errors like this, the simple solution is to do a clean followed by a rebuild.
by dhylands
Thu Sep 10, 2020 3:54 pm
Forum: ESP32 boards
Topic: Connecting to RAK811 or RAK4200 Lora Module
Replies: 3
Views: 128

Re: Connecting to RAK811 or RAK4200 Lora Module

When you set a baudrate, the driver will try to match the baudrate as best it can. What you're seeing is the actual baudrate being used. The sender/receiver can typically tolerate a difference of 5-10% and still work (10% is pushing it, but 5% should be fine). 115201 baud is only 0.0009% which is es...
by dhylands
Wed Sep 09, 2020 4:25 pm
Forum: MicroPython pyboard
Topic: Best OS to support development with MicroPython and Pyboard..
Replies: 15
Views: 1958

Re: Best OS to support development with MicroPython and Pyboard..

@dhylands Hmm. I'm currently using Mac OS Catalina and not having any issues. . It seems when I update Catalina, it removes or damages the SilabsUSBDriver for UART, which I then have to reinstall. Furthermore, I've been getting reflush-tree errors on uPyCraft, which ultimately led me to decide to g...
by dhylands
Tue Sep 08, 2020 10:28 pm
Forum: MicroPython pyboard
Topic: Best OS to support development with MicroPython and Pyboard..
Replies: 15
Views: 1958

Re: Best OS to support development with MicroPython and Pyboard..

Hmm. I'm currently using Mac OS Catalina and not having any issues.

If I had to pick, I would still pick linux over Mac for doing development with MicroPython.