Clone
3
Build AP firmware
Marcin Juszkiewicz edited this page 2025-09-29 14:44:28 +02:00

Requirements

You need to have PlatformIO Core installed. The simplest way to install it:

python3 -m pip install -U platformio

Check PlatformIO Core Installation documentation for other methods.

You also need to have a local copy of OpenEPaperLink repository.

Building firmware

Change directory to "ESP32_AP-Flasher/" in the OpenEPaperLink repository.

Select AP environment

Then you may want to select your build target (to not build everything). To check for defined "environments":

:~/OpenEPaperLink/ESP32_AP-Flasher$ grep "^\[env:" platformio.ini 
[env:OpenEPaperLink_AP_and_Flasher]
[env:ESP32_S3_16_8_YELLOW_AP]
[env:ESP32_S3_16_8_LILYGO_AP]
[env:ESP32_S3_16_8_4inch_AP]
[env:ESP32_S3_C6_BIG_AP]
[env:ESP32_S3_C6_NANO_AP]
[env:ESP32_S3_SIMPLE_AP]
[env:OpenEPaperLink_Nano_TLSR]
[env:OpenEPaperLink_Nano_TLSR_C6]
[env:BLE_ONLY_AP]
[env:OpenEPaperLink_PoE_AP]
[env:OpenEPaperLink_Mini_AP_v4]
[env:ESP32_S3_16_8_ELECROW_ADV_2_8]
[env:OpenEPaperLink_ESP32-PoE-ISO_AP]

Choose your AP. For YellowAP (like "Spaghetti AP") you need "ESP32_S3_16_8_YELLOW_AP" value.

Build and upload firmware

To build and upload firmware one command is needed:

$ pio run -e ESP32_S3_16_8_YELLOW_AP -t upload 

This will fetch all required toolchains, libraries, build what is needed and then connect to your AP via serial port (/dev/ttyUSB0 on Linux).