Search found 7 matches

by pic-man
Mon Nov 16, 2020 4:08 pm
Forum: ESP8266 boards
Topic: uasyncio on 1M ESP-01 with 1.13
Replies: 4
Views: 2442

Re: uasyncio on 1M ESP-01 with 1.13

Built.Thanks! This'll make it so much easier to read analogue (LDR) off a digital pin (capacitor discharge time) without blocking. For anyone who's wondering how much it adds... Defaults plus uasyncio: 621240 bytes (409622 compressed). About 30k larger than the daily. Cutting out BTREE and FAT as we...
by pic-man
Sun Nov 15, 2020 8:47 pm
Forum: ESP8266 boards
Topic: uasyncio on 1M ESP-01 with 1.13
Replies: 4
Views: 2442

Re: uasyncio on 1M ESP-01 with 1.13

Ok, thanks. So I'll have to roll my own until the upip repo gets uasyncio v3, or the daily Meg gets it frozen in.

I get stripping the smaller builds down a bit. It would help if upip had the same versions available by default so we could pull back in selected 'current' bits as needed.
by pic-man
Sun Nov 15, 2020 3:15 pm
Forum: ESP8266 boards
Topic: uasyncio on 1M ESP-01 with 1.13
Replies: 4
Views: 2442

uasyncio on 1M ESP-01 with 1.13

I've flashed the 2M+ version of 1.13 to my 4M D1 and as per the docs, asyncio v3 is frozen in, ready to go, however when I flash the 1M version of the same to my ESP-01 (1M) it's not there. I did try the stable 1.13 and a couple of the daily builds, with the same result. I can upip install the v2 to...
by pic-man
Wed May 06, 2020 2:46 pm
Forum: ESP32 boards
Topic: ESP32 Sparkfun Thing Plus - flash read err, 1000
Replies: 8
Views: 6716

Re: ESP32 Sparkfun Thing Plus - flash read err, 1000

Edit: I have a board here which also shows this warning. Adding that value does not change anything. Thanks for that. CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=5000 has no obvious effect either, but as long as this is a harmless warning I'll ignore it now. I've wrapped this up with nicer BOARD and MCU n...
by pic-man
Wed May 06, 2020 12:38 pm
Forum: ESP32 boards
Topic: ESP32 Sparkfun Thing Plus - flash read err, 1000
Replies: 8
Views: 6716

Re: ESP32 Sparkfun Thing Plus - flash read err, 1000

Whoops! I'd failed to notice "flash read err, 1000" still occurs. A quick dig around the sources (micropython and espidf) doesn't find ets_main.c, so I can't chase line 371 to attempt to establish what the error really means. Guessing it's about not quite using every byte of flash as per the 2M issu...
by pic-man
Tue May 05, 2020 8:40 pm
Forum: ESP32 boards
Topic: ESP32 Sparkfun Thing Plus - flash read err, 1000
Replies: 8
Views: 6716

Re: ESP32 Sparkfun Thing Plus - flash read err, 1000

Thanks.. partitions.csv indeed seems to be the way to go at the moment. Setting it to 0x1000000 rather predictably overcommitted the space and failed, so I set it to (size - offset) = ( 0x1000000 - 0x200000 ) = 0xE00000 thus: vfs, data, fat, 0x200000, 0xE00000, a quick 'make -j4 deploy' later and I ...
by pic-man
Mon May 04, 2020 5:59 pm
Forum: ESP32 boards
Topic: ESP32 Sparkfun Thing Plus - flash read err, 1000
Replies: 8
Views: 6716

Re: ESP32 Sparkfun Thing Plus - flash read err, 1000

The problem is in the SD card driver flashbdev.py at https://github.com/micropython/micropython/blob/master/ports/esp32/modules/flashbdev.py. The last line sets a fixed file of the file system: bdev = FlashBdev(2048 * 1024 // FlashBdev.SEC_SIZE) The following change will use all available flash: bd...