mirror of
https://github.com/mkuf/prind.git
synced 2025-10-26 07:46:19 +01:00
add README.md
This commit is contained in:
23
README.md
Normal file
23
README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
## Building MCU Code
|
||||
Build the Docker Image
|
||||
```
|
||||
docker build \
|
||||
--file klipper.Dockerfile \
|
||||
--target mcu \
|
||||
--tag klipper-mcu \
|
||||
.
|
||||
```
|
||||
|
||||
Build the mcu binary.
|
||||
|
||||
This example mounts an existing build config at `klipper/.config`. One may want to initially create this file via `make menuconfig`
|
||||
```
|
||||
docker run \
|
||||
--rm \
|
||||
--volume /opt/docker-sparkcube/config/config.udoo:/opt/klipper/.config \
|
||||
--volume /opt/docker-sparkcube/out:/opt/klipper/out \
|
||||
--interactive \
|
||||
--tty \
|
||||
klipper-mcu \
|
||||
bash -c "cd /opt/klipper; make"
|
||||
```
|
||||
Reference in New Issue
Block a user