Flash guide · Method 5 of 5
Build from source with PlatformIO
PlatformIO clones a firmware repo, compiles it, and flashes the build onto your Xteink. Use it to edit firmware or run a custom fork. If you only want CrossPoint installed, use the web flasher instead.
What you need
- PlatformIO IDE or PlatformIO Core (CLI) installed
- Python 3.x
- Git with submodule support
- USB-C data cable and an unlocked Xteink
How to build and flash Xteink firmware with PlatformIO
-
1
Clone the repository with submodules. The
--recursiveflag is required.git clone --recursive <repo-url> -
2
Open the project in VS Code with the PlatformIO extension, or build and flash from the terminal in one command.
pio run --target upload -
3
Open the serial monitor for boot logs.
pio device monitor
Microreader and forks. PlatformIO is the required build path for Microreader. Every fork compiles here before a release.
Build booted? Load your books next
Once the build boots, send your library with Calibre or OPDS. Then add fonts, themes, and sleep screens.
Troubleshooting PlatformIO builds
Build fails with missing dependencies
pio pkg update to update libraries. Check the project README for the required PlatformIO version. git submodule errors
git submodule update --init --recursiveUpload fails after build
Build takes very long
Still stuck? Search the Xteink firmware help and FAQ by problem.
Most owners don't need this
Install CrossPoint without compiling
The web flasher puts CrossPoint on the Xteink in about a minute. You skip the terminal and the compile.
Owner kit
A light and a case after setup
X3 and X4 ship without a front light. A clip-on is the usual first add-on.
Kit it on accessories .