change root directory for marlin configs
This commit is contained in:
parent
8639ef9036
commit
f16851d6a2
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -1,11 +1,11 @@
|
||||||
PLATFORMIO_DIR := $(PWD)/..
|
|
||||||
PLATFORMIO = nix shell nixpkgs\#platformio --command platformio
|
PLATFORMIO = nix shell nixpkgs\#platformio --command platformio
|
||||||
MARLIN_CONFIGS_DIR := $(PWD)/../Marlin
|
MARLIN_DIR := $(PWD)/../Marlin-VERSION
|
||||||
|
MARLIN_2.0.9.7 := $(patsubst %-VERSION,%-2.0.9.7,$(MARLIN_DIR))
|
||||||
|
|
||||||
.PHONY: ender3v2
|
.PHONY: ender3v2
|
||||||
ender3v2:
|
ender3v2:
|
||||||
cp Creality-Ender3-V2/*.h $(MARLIN_CONFIGS_DIR)
|
cp Creality-Ender3-V2/*.h $(MARLIN_2.0.9.7)/Marlin
|
||||||
cd $(PLATFORMIO_DIR) &&\
|
cd $(MARLIN_2.0.9.7) &&\
|
||||||
$(PLATFORMIO) run --target upload --silent -e STM32F103RE_creality ; echo "done" >|"/run/user/1001/ipc"
|
$(PLATFORMIO) run --target upload --silent -e STM32F103RE_creality ; echo "done" >|"/run/user/1001/ipc"
|
||||||
|
|
||||||
.PHONY: gparted
|
.PHONY: gparted
|
||||||
|
|
Loading…
Reference in a new issue