summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/rules.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index 4cc35cb22..6314380ec 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -182,6 +182,11 @@ flash-jlink: $(BUILD)/$(PROJECT).hex
flash-stlink: $(BUILD)/$(PROJECT).elf
STM32_Programmer_CLI --connect port=swd --write $< --go
+flash-xfel: $(BUILD)/$(PROJECT).bin
+ xfel ddr
+ xfel write 0x80000000 $<
+ xfel exec 0x80000000
+
# Flash using pyocd
PYOCD_OPTION ?=
flash-pyocd: $(BUILD)/$(PROJECT).hex