From 2e15a47cee333b37154e36ebda76fcc0f895efa2 Mon Sep 17 00:00:00 2001 From: StefanSchoof <4662023+StefanSchoof@users.noreply.github.com> Date: Fri, 17 Nov 2023 10:31:53 +0100 Subject: [PATCH] chore: document cross-compile (#10811) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index ca421a3ef..476464e97 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,14 @@ make ./evcc ``` +### Cross Compile + +To compile a version for an ARM device like a Raspberry Pi set GO command variables as needed, eg: + +```sh +GOOS=linux GOARCH=arm GOARM=6 make +``` + ### UI development For frontend development start the Vue toolchain in dev-mode. Open http://127.0.0.1:7071/ to get to the livelreloading development server. It pulls its data from port 7070 (see above).