marlin-configs/Makefile

17 lines
477 B
Makefile

PLATFORMIO = nix shell nixpkgs\#platformio --command platformio
MARLIN_DIR := $(PWD)/../Marlin-VERSION
MARLIN_2.0.9.7 := $(MARLIN_DIR:%-VERSION=%-2.0.9.7)
.PHONY: ender3v2
ender3v2:
cp Creality-Ender3-V2/*.h $(MARLIN_2.0.9.7)/Marlin
cd $(MARLIN_2.0.9.7) &&\
$(PLATFORMIO) run --target upload --silent -e STM32F103RE_creality ; echo "done" >|"/run/user/1001/ipc"
.PHONY: gparted
gparted:
sudo nix shell nixpkgs#gparted --command gparted
.PHONY: help
help:
bat Makefile