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