Search found 27 matches

by bertel
Wed Mar 10, 2021 10:57 am
Forum: ESP32 boards
Topic: Trouble with CMake and flash > 4 MB
Replies: 13
Views: 1406

Re: Trouble with CMake and flash > 4 MB

When I change (only) the flash size to 8MB (leaving partitions.csv unchanged) , copy build/sdkconfig to boards/sdkconfig.base, run make and make deploy, the boot process of the ESP32 gets into a loop, ..... I haven't tried your suggestion for the partition change yet. Well, you absolutely need to c...
by bertel
Sat Mar 06, 2021 2:24 pm
Forum: ESP32 boards
Topic: gc.collect() may cause panic
Replies: 1
Views: 249

Re: gc.collect() may cause panic

False alar, pilot error.
by bertel
Fri Mar 05, 2021 5:52 am
Forum: ESP32 boards
Topic: gc.collect() may cause panic
Replies: 1
Views: 249

gc.collect() may cause panic

With recent uploads of GENERIC esp32 firmware., gc.collect() can cause panic and lead to a hard reboot. I have observed this with all esp32 GENERIC firmwares since and including esp32-20210222-unstable-v1.14-80-g75db0b907.bin, using a standard esp32-WROOM. An issue has been raised https://github.com...
by bertel
Fri Mar 05, 2021 3:56 am
Forum: ESP32 boards
Topic: Trouble with CMake and flash > 4 MB
Replies: 13
Views: 1406

Re: Trouble with CMake and flash > 4 MB

@robh: With a properly set-up IDF4 environment, idf.py menuconfig will (well, should) take you into a menu structure that allows you to make various settings before the compile. “Serial flasher config” for instance allows you to choose FLASH size up to 16MB. Menuconfig produces an sdkconfig file in ...
by bertel
Thu Feb 25, 2021 4:16 am
Forum: ESP32 boards
Topic: multi-threading question
Replies: 17
Views: 1373

Re: multi-threading question

Thank you, @Jimmo
by bertel
Wed Feb 24, 2021 5:26 am
Forum: ESP32 boards
Topic: Trouble with CMake and flash > 4 MB
Replies: 13
Views: 1406

Re: Trouble with CMake and flash > 4 MB

I think this is the case. You will need to copy whatever menuconfig generates for you into sdkconfig.board Thank you. I have copied the menuconfig file to .../ports/esp32/boards/GENERIC_SPIRAM/sdkconfig.board (I guess that's where it's supposed to go) which contains the proper instructions: # CONFI...
by bertel
Wed Feb 24, 2021 4:40 am
Forum: ESP32 boards
Topic: multi-threading question
Replies: 17
Views: 1373

Re: multi-threading question

Live ad learn, and unlearn ... So the reason that MicroPython on the Pico is special isn't that _thread behaves differently, rather that it runs without a GIL. If you turned off the GIL on the ESP32 port (and disabled core pinning) then it would behave the same way. Interesting. Could you provide so...
by bertel
Mon Feb 22, 2021 4:10 pm
Forum: ESP32 boards
Topic: Trouble with CMake and flash > 4 MB
Replies: 13
Views: 1406

Re: Trouble with CMake and flash > 4 MB

I found what is happening, but I don’t why: /esp32/boards/sdkconfig.base is being used instead of the sdkconfig file produced by menuconfig. In /esp32/boards/sdkconfig.base, if I make this edit, the compile finishes successfully: #CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y Th...
by bertel
Mon Feb 22, 2021 2:36 pm
Forum: ESP32 boards
Topic: Trouble with CMake and flash > 4 MB
Replies: 13
Views: 1406

Trouble with CMake and flash > 4 MB

I am still (see my comment in https://forum.micropython.org/viewtopic.php?f=18&t=9820 battling with the new Cmake version when it comes to larger flash sizes. It simply won’t compile for anything larger than 4MB Previously, I put these into Makefile BOARD ?= GENERIC_SPIRAM FLASH_SIZE ?= 16MB My part...
by bertel
Mon Feb 22, 2021 7:24 am
Forum: ESP32 boards
Topic: multi-threading question
Replies: 17
Views: 1373

Re: multi-threading question

@Jimmo: Yes, the Swiss Guy is in the video. As for _threading using multiple cores on the Pico: Very confusing. It has been drummed into Python coders that with Python, multithreading is not what one would expect, and that Python multithreading uses the same core, and that for multiple cores, one ne...