scripts: remove build-mcu.sh; update docs

This commit is contained in:
Markus Küffner
2022-07-08 15:32:03 +02:00
parent c472abbd5b
commit 9d5432f435
2 changed files with 2 additions and 7 deletions

View File

@@ -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

View File

@@ -1,5 +0,0 @@
#!/bin/bash
set -x
docker compose -f docker-compose.mcu.yaml run --rm make "${@}"