Flash guide · Method 5 of 5
Build from source with PlatformIO
PlatformIO is the build-from-source route: clone a firmware repository, compile it, and flash the result to your Xteink. It's for contributors and developers who want to modify firmware, build a custom fork, or run unreleased code. If you just want to install CrossPoint, use the web flasher instead. It's much faster.
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 from source
-
1
Clone the repository with submodules. The
--recursiveflag is required to pull them.git clone --recursive <repo-url> -
2
Open the project in VS Code with the PlatformIO extension, or build and flash in one step from the terminal.
pio run --target upload -
3
Monitor serial output to see boot logs and debug output.
pio device monitor
Good to know: PlatformIO is the required build path for Microreader, and it's how every fork is compiled before release.
Build uploaded? Load your books next
Once your build boots, send your library over with Calibre or OPDS, then add custom fonts, themes and sleep screens.
Troubleshooting PlatformIO builds
Build fails with missing dependencies
pio pkg update to update libraries, and check you're on a compatible PlatformIO version (each project's README lists the required one). git submodule errors
git submodule update --init --recursiveUpload fails after build
Build takes very long
Still stuck, or hit a different error? Browse every fix in the Xteink firmware help & FAQ — searchable by problem.
Most owners don't need this
Just want to install CrossPoint?
The web flasher installs CrossPoint in about a minute. No terminal, no Python, no build tools.