marlin-configs/Makefile

17 lines
450 B
Makefile

PLATFORMIO_DIR := $(PWD)/..
PLATFORMIO = nix shell nixpkgs\#platformio --command platformio
MARLIN_CONFIGS_DIR := $(PWD)/../Marlin
.PHONY: ender3v2
ender3v2:
cp Creality-Ender3-V2/*.h $(MARLIN_CONFIGS_DIR)
cd $(PLATFORMIO_DIR) &&\
$(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