Search found 18 matches

by leosok
Tue Jul 05, 2022 10:49 pm
Forum: ESP32 boards
Topic: Building micropython with 240mhz
Replies: 9
Views: 2768

Re: Building micropython with 240mhz

Hi jimmo,
happy to let you know that I built the firmware using

Code: Select all

make BOARD=... USER_C_MODULES=...
and it worked!
by leosok
Thu Jun 23, 2022 2:50 pm
Forum: ESP32 boards
Topic: Building micropython with 240mhz
Replies: 9
Views: 2768

Re: Building micropython with 240mhz

Thanks! I will try this once I'm back home (in a week)
by leosok
Thu Jun 23, 2022 12:31 pm
Forum: ESP32 boards
Topic: Building micropython with 240mhz
Replies: 9
Views: 2768

Re: Building micropython with 240mhz

I do. I seem to be using the "GENERIC" though. But makeimg.py is only combining the bin-files from what I understand?! BUILD_DIR="/mpbuilder/micropython_src/ports/esp32/build" # build the firmware python3 makeimg.py \ $BUILD_DIR/sdkconfig \ $BUILD_DIR/bootloader/bootloader.bin \ $BUILD_DIR/partition...
by leosok
Thu Jun 23, 2022 12:16 pm
Forum: ESP32 boards
Topic: Building micropython with 240mhz
Replies: 9
Views: 2768

Re: Building micropython with 240mhz

I think the problem is actually my build-directions. I'm doing it all with a bash-script running inside a docker, which has all the build-setup. # Build command is here: cd /mpbuilder/micropython_src/ports/esp32 idf.py -D MICROPY_BOARD="$MICROPY_BOARD" -D USER_C_MODULES=/mpbuilder/st7789_mpy/st7789/...
by leosok
Wed Jun 22, 2022 10:28 pm
Forum: ESP32 boards
Topic: Building micropython with 240mhz
Replies: 9
Views: 2768

Re: Building micropython with 240mhz

Not really, and I did it. But compared to a "stock" build with 240mhz I still lose some time, because everything loaded before boot.py is worked on with 160mhz. I could even put it in _boot.py (which will be frozen). Mostly I want to know how to do it "right". There must be a reason, why there is a ...
by leosok
Wed Jun 22, 2022 8:08 pm
Forum: ESP32 boards
Topic: Building micropython with 240mhz
Replies: 9
Views: 2768

Building micropython with 240mhz

Hi, I use a own build, to freeze my modules into the firmware. I copied GENERIC and changed appropriately, and my firmware builds and works. (Using the Boardname) ---mpconfigboard.h--- #define MICROPY_HW_BOARD_NAME "ESP32 TTGO T-Display" #define MICROPY_HW_MCU_NAME "ESP32" Unfortunately this builds ...
by leosok
Mon Jun 20, 2022 11:21 pm
Forum: General Discussion and Questions
Topic: Loading json very slow
Replies: 5
Views: 1358

[solved] Re: Loading json very slow

Hi jimmo, thanks for testing it yourself! I did a lot of printing and finally found the problem. Depending on where I called BoardConfig it took seconds (as described) or milliseconds (as you measured). When called at the very start of boot.py it took long, while higher up in main.py it took just mi...
by leosok
Sun Jun 19, 2022 2:53 am
Forum: General Discussion and Questions
Topic: Loading json very slow
Replies: 5
Views: 1358

Loading json very slow

Hello, I'm working with MP 1.18 on a ESP32 TTGO-Display Board (with a small TFT) using st7789py_mpy library by russhughes . When my module is loading, I want to show a splash-screen. Inizializing the screen takes around 1,3 seconds, which I find ok. My Problem is the following code, which loads the ...
by leosok
Thu Jan 27, 2022 5:10 pm
Forum: ESP32 boards
Topic: No REPL on ESP32-S2
Replies: 22
Views: 24186

Re: No REPL on ESP32-S2

:D :D :D TL;DR: Your command worked: idf.py -D MICROPY_BOARD=ESP32_S2_WROVER build The module I'm using is the Lilygo ESP32_S2 module Honestly, I think I tried all commands for building before, starting with just "make", than, "make BOARD=GENERIC_S2", than "idf.py -D MICROPY_BOARD=GENERIC_S2 -B buil...
by leosok
Wed Jan 26, 2022 11:23 pm
Forum: ESP32 boards
Topic: No REPL on ESP32-S2
Replies: 22
Views: 24186

Re: No REPL on ESP32-S2

Your last reply helped me a lot. "idf.py set-target esp32s2" did copy stuff, and after I could see/turn off TinyUSB in "idf.py menuconfig" - which seems to be off by default. "make BOARD=GENERIC_S2" did build a micropython.bin, which I found out, I needed to flash with the code from provided by make...