-
• #27
For the last test, instead of wsl windows, I want to test in Linux virtual box, if it gives the same error again, I will say goodbye to espruino.
But if I could, I would make powerful style libraries for it, because I'm good at esp-idf, especially on screen to improve its speed.
-
• #28
read this flashing detail
https://github.com/espruino/Espruino/blob/master/targets/esp32/README_flash.txt
-
• #29
and this too
-
• #30
this describes the buid process
https://github.com/espruino/Espruino/blob/master/README_Building.md
-
• #31
before flash new firmware run
make erase_flash
-
• #33
what is the reason for building your own firmware?
-
• #34
esp32 firmware is very little maintained over the last few years.
check the issue list https://github.com/espruino/Espruino/issues/1777
-
• #35
So I took some ESP32 board with wroom32 module from drawer, cloned current Espruino repo and had zero issuses with building and running Espruino
git clone https://github.com/espruino/Espruino cd Espruino . scripts/provision.sh ESP32 make -j BOARD=ESP32 RELEASE=1 make -j BOARD=ESP32 RELEASE=1 flash
And it flashed the board just fine and espruino runs. It does print same PSRAM failed message (there is no psram in wroom32 module) but it works pretty fine
ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:2984 load:0x40078000,len:10700 load:0x40080400,len:5236 entry 0x40080658 E (29) boot: ota data partition invalid, falling back to factory E (326) psram: PSRAM ID read error: 0xffffffff E (326) spiram: SPI RAM enabled but initialization failed. Bailing out. E (326) spiram: SPI RAM not initialized ____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 2v16.152 (c) 2021 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate WARNING: Wifi:startMDNS - espressif >
-
• #36
it's interesting. Until now, I have not seen this command model for making firmware anywhere
make -j BOARD=ESP32 RELEASE=1 make -j BOARD=ESP32 RELEASE=1 flash
I mean (
make -j
), I will definitely test that as wellHave you flashed the javascript code to see if it is saved and executable?
-
• #37
Adding more features and improving its speed in (screen, SPI) and adding more and useful commands. I'm currently working with esp idf, but I'm primarily a javascript developer. I like to design mostly with javascript, but esp idf is great too.
And
With esp idf I wrote code that is really fast on STXXXX and ILIXXXX series displays and works perfectly with 16-bit RGB colors without slowing down. I want to add these features to Espruino.
-
• #38
I already tested all these links. But unfortunately, Espruino does not work well with me, however, thank you for sending these links
thank you for this link, but i not problem in flash i problem in create new framework and in this link not defined tutorial for create framework esp32