mirror of
https://github.com/mkuf/prind.git
synced 2025-10-26 15:56:18 +01:00
scripts: remove build-mcu.sh; update docs
This commit is contained in:
@@ -25,11 +25,11 @@ Follow the official Guides on how to get them up and running.
|
|||||||
|
|
||||||
### Build the MCU Code
|
### Build the MCU Code
|
||||||
Before using Klipper, you'll have to build and flash the microcontroller-code for your printers mainboard.
|
Before using Klipper, you'll have to build and flash the microcontroller-code for your printers mainboard.
|
||||||
The `scripts` directory contains a wrapper that can be used as an alias for `make`. After setting this alias, follow the Instructions on finding your printer, building and flashing the microcontroller found in the [Klipper Docs](https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller).
|
As this can be accomplished via docker, we can create an alias that replaces `make` with the appropriate docker compose command. After setting this alias, follow the Instructions on finding your printer, building and flashing the microcontroller found in the [Klipper Docs](https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller).
|
||||||
|
|
||||||
Adapted from the official Docs, a generic Build would look like this.
|
Adapted from the official Docs, a generic Build would look like this.
|
||||||
```
|
```
|
||||||
alias make="./scripts/build-mcu.sh"
|
alias make="docker compose -f docker-compose.mcu.yaml run --rm make"
|
||||||
|
|
||||||
make menuconfig
|
make menuconfig
|
||||||
make
|
make
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
docker compose -f docker-compose.mcu.yaml run --rm make "${@}"
|
|
||||||
Reference in New Issue
Block a user