marlin-configs/Makefile

14 lines
374 B
Makefile
Raw Normal View History

2023-12-05 11:14:43 +03:00
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: help
help:
bat Makefile