You can compile an individual project by running make <project>
or make <project>_docker
to build the project inside a docker container.
You can change whether you are compiling for the remarkable or a PC by
adjusting the ARCH
environment variable. See src/actions.make
for the list
of architectures, which include (but is not limited to) dev
and arm
This is the easiest way to compile for the tablet if you have docker installed.
- install docker
- run
make docker
from root of the git repo - look in artifacts/ for the binaries and release files
- install okp:
pip install okp
- install resim viewer:
pip install remarkable_sim
with image framebuffer:
- compile with fake framebuffer:
ARCH=dev make harmony
- run harmony with
resim ./src/build/harmony
with real framebuffer:
- compile with real framebuffer:
ARCH=x86 make harmony
- switch to virtual terminal and run
sudo ./src/build/harmony
NOTE: sudo is necessary because 1) the framebuffer capabilities are queried via ioctl to figure out the proper width and height to use and 2) the keyboard / mouse are opened for reading
- install okp:
sudo pip install okp
- install arm toolchain
- on ubuntu:
sudo apt install g++-arm-linux-gnueabihf
- on archlinux: install
arm-linux-gnueabihf-gcc
from AUR
- on ubuntu:
- compile harmony for remarkable:
make harmony
- test on remarkable:
make run_harmony
- assumes that the remarkable is plugged in on USB - test on remarkable over wifi:
HOST=192.168.1.10 make run_harmony