pru: Add support for "make flash" rule
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -31,3 +31,7 @@ $(OUT)pru0.elf: $(patsubst %.c, $(OUT)src/%.o,$(pru0-y))
|
||||
$(OUT)pru1.elf: $(OUT)klipper.elf
|
||||
@echo " Linking $@"
|
||||
$(Q)$(CC) $(CFLAGS_pru1.elf) $^ -o $@
|
||||
|
||||
flash: $(OUT)pru0.elf $(OUT)pru1.elf
|
||||
@echo " Flashing"
|
||||
$(Q)sudo ./scripts/flash-pru.sh
|
||||
|
||||
Reference in New Issue
Block a user