Skip to content

Firmware

Serg74 edited this page Sep 3, 2024 · 24 revisions

Firmware compiled from source for Wemos D1 mini (ESP8266) board and ESP32 Wemos D1 board

You can always copy WLED_wemos_shield branch and build your own .bin file.

Please use VSCode + PlatformIO IDE instead of Arduino IDE

Flashing firmware to ESP32 boards using Esptool

  • Download Espressif ESPtool and install it
  • Download bootloader, we using bootloader_dio_40m.bin
  • Download partitions file regarding your board
  • Download firmware file regarding your project
  • Create folder Flash and copy all files downloaded to folder
  • First erase flash memory

./esptool.py --port /dev/YOUR_SERIAL_PORT erase_flash

  • Now you can flash all files to flash memory. Example given is for 4mb partition. For different memory size use different partition_YOUR-MEMORY-SIZE.bin file

Unix command:

./esptool.py --port /dev/YOUR_SERIAL_PORT -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect 0x00001000 bootloader_dio_40m.bin 0x00008000 partition_4mb.bin 0x00010000 esp32_no_mods.bin

Windows command:

esptool.exe --port YOUR_SERIAL_PORT -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect 0x00001000 bootloader_dio_40m.bin 0x00008000 partition_4mb.bin 0x00010000 esp32_no_mods.bin

  • Wait few moments and done!