2023-12-05 11:14:43 +03:00
|
|
|
PLATFORMIO = nix shell nixpkgs\#platformio --command platformio
|
2023-12-05 11:33:48 +03:00
|
|
|
MARLIN_DIR := $(PWD)/../Marlin-VERSION
|
2023-12-05 11:36:13 +03:00
|
|
|
MARLIN_2.0.9.7 := $(MARLIN_DIR:%-VERSION=%-2.0.9.7)
|
2023-12-05 11:14:43 +03:00
|
|
|
|
|
|
|
.PHONY: ender3v2
|
|
|
|
ender3v2:
|
2023-12-05 11:33:48 +03:00
|
|
|
cp Creality-Ender3-V2/*.h $(MARLIN_2.0.9.7)/Marlin
|
|
|
|
cd $(MARLIN_2.0.9.7) &&\
|
2023-12-05 11:14:43 +03:00
|
|
|
$(PLATFORMIO) run --target upload --silent -e STM32F103RE_creality ; echo "done" >|"/run/user/1001/ipc"
|
|
|
|
|
2023-12-05 11:19:27 +03:00
|
|
|
.PHONY: gparted
|
|
|
|
gparted:
|
|
|
|
sudo nix shell nixpkgs#gparted --command gparted
|
|
|
|
|
2023-12-05 11:14:43 +03:00
|
|
|
.PHONY: help
|
|
|
|
help:
|
|
|
|
bat Makefile
|