Replies: 3 comments 2 replies
-
Custom building on Linux1. Install toolchainThe following tools are required:
2. Setup Python envRequires Python 3.10 or higher, and pip Create a venv at the project root: python -m venv .venvActivate the venv: source ./.venv/bin/activateInstall dependencies: pip install -r requirements.txtThe building process is performed under the venv environment! 3. Build!Modify the Configure: cmake -B build/Custom --preset CustomBuild: cmake --build build/CustomThen you will find firmware binaries (*.bin, *.elf etc) in |
Beta Was this translation helpful? Give feedback.
-
|
Hello muzkr. |
Beta Was this translation helpful? Give feedback.
-
Build with Docker (x64)Clone this repository: git clone https://github.com/muzkr/uv-k5-firmware-custom.git && cd uv-k5-firmware-customBuild a docker image: docker build -f Dockerfile-x64 -t build:latestRun a container: docker run -it -v .:/build/src build:latestNow you are in the command line of the container. The source code is mounted at /build/src. Do your building there. Ref to linux building instructions above cd /build/src
cmake -B ... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The V2 branch has switched to CMake, but I haven't had time to update the README or refine the Docker-based build infrastructure yet. As a workaround, I'm adding brief build instructions here so those interested in custom builds can get started. Feel free to contribute additional build guidance for other platforms/environments!
Quick links:
Beta Was this translation helpful? Give feedback.
All reactions