lpc176x: Add support for flashing via "make flash"
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
6ffbaa46c5
commit
f5b10f0c13
|
@ -1,11 +1,6 @@
|
||||||
# This file contains common pin mappings for the Azteeg X5 Mini v3. To use
|
# This file contains common pin mappings for the Azteeg X5 Mini v3. To use
|
||||||
# this config, the firmware should be compiled for the LPC176x.
|
# this config, the firmware should be compiled for the LPC176x.
|
||||||
|
|
||||||
# The "make flash" command does not work on the Azteeg X5 Mini v3.
|
|
||||||
# Instead, after running "make", copy the generated "out/klipper.bin"
|
|
||||||
# file to a file named "firmware.bin" on an SD card and then restart
|
|
||||||
# the Azteeg X5 Mini v3 with that SD card.
|
|
||||||
|
|
||||||
# See the example.cfg file for a description of available parameters.
|
# See the example.cfg file for a description of available parameters.
|
||||||
|
|
||||||
[stepper_x]
|
[stepper_x]
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
# This file contains common pin mappings for Re-Arm. To use this
|
# This file contains common pin mappings for Re-Arm. To use this
|
||||||
# config, the firmware should be compiled for the LPC176x.
|
# config, the firmware should be compiled for the LPC176x.
|
||||||
|
|
||||||
# The "make flash" command does not work on the Re-Arm. Instead,
|
|
||||||
# after running "make", copy the generated "out/klipper.bin" file to a
|
|
||||||
# file named "firmware.bin" on an SD card and then restart the Re-Arm
|
|
||||||
# with that SD card.
|
|
||||||
|
|
||||||
# See the example.cfg file for a description of available parameters.
|
# See the example.cfg file for a description of available parameters.
|
||||||
|
|
||||||
[stepper_x]
|
[stepper_x]
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
# This file contains common pin mappings for Smoothieboard. To use
|
# This file contains common pin mappings for Smoothieboard. To use
|
||||||
# this config, the firmware should be compiled for the LPC176x.
|
# this config, the firmware should be compiled for the LPC176x.
|
||||||
|
|
||||||
# The "make flash" command does not work on the Smoothieboard.
|
|
||||||
# Instead, after running "make", copy the generated "out/klipper.bin"
|
|
||||||
# file to a file named "firmware.bin" on an SD card and then restart
|
|
||||||
# the Smoothieboard with that SD card.
|
|
||||||
|
|
||||||
# See the example.cfg file for a description of available parameters.
|
# See the example.cfg file for a description of available parameters.
|
||||||
|
|
||||||
[stepper_x]
|
[stepper_x]
|
||||||
|
|
|
@ -45,9 +45,5 @@ $(OUT)klipper.bin: $(OUT)klipper.elf
|
||||||
$(Q)$(OBJCOPY) -O binary $< $@
|
$(Q)$(OBJCOPY) -O binary $< $@
|
||||||
|
|
||||||
flash: $(OUT)klipper.bin
|
flash: $(OUT)klipper.bin
|
||||||
@echo ""
|
@echo " Flashing $< to $(FLASH_DEVICE)"
|
||||||
@echo " The LPC176x build does not currently support 'make flash'"
|
$(Q)$(PYTHON) ./scripts/flash_usb.py -t lpc176x -d "$(FLASH_DEVICE)" $(OUT)klipper.bin
|
||||||
@echo ""
|
|
||||||
@echo " To flash a Smoothieboard, copy the $(OUT)klipper.bin to a file"
|
|
||||||
@echo " named firmware.bin on an SD card and then restart the"
|
|
||||||
@echo " Smoothieboard with that SD card."
|
|
||||||
|
|
Loading…
Reference in New Issue