Please look at the website and manual for more information about how to flash.
👉 Website: https://yasolr.carbou.me/
Please make sure to download the firmware matching your board from these locations:
latest
(latest development version)
Firmware files are named as follow:
YaSolR-<VERSION>-oss--<BOARD>.bin
: for the firmware used to updateYaSolR-<VERSION>-oss-<BOARD>.factory.bin
: for the firmware used to flash for the first time or to do a factory reset
Where:
VERSION
: YaS☀️lR version, ormain
for the latest development buildBOARD
: the board name, from the list of Compatible ESP32 boards
Images ending with -debug
are for development purpose or to troubleshoot issues: they are not optimized and output a lot of debug logs.
.github
: CI/CD workflowsdata
: Build components added to the firmwareinclude
: Firmware include codelib
: Firmware librariespio
: pio scriptssrc
: Firmware source codetest
: Firmware teststools
: Some random toolspartitions.csv
: ESP32 custom partition tableplatformio_override.ini.template
(to copy toplatformio_override.ini
): PlatformIO configuration overrideplatformio.ini
: PlatformIO configuration
-
Configure
platformio_override.ini
to your needs (you can copy the template fileplatformio_override.ini.template
toplatformio_override.ini
for that) -
Build the file system and the firmware:
pio run -t build
First time, flash the entire firmware which includes the partition table and all partitions:
esptool.py --port /dev/ttyUSB0 \
--chip esp32 \
--before default_reset \
--after hard_reset \
write_flash \
--flash_mode dout \
--flash_freq 40m \
--flash_size detect \
0x0 YaSolR-VERSION-MODEL-CHIP.factory.bin
Next time, just upload the partition you modify
pio run -t upload
pio run -t monitor