summaryrefslogtreecommitdiff
path: root/examples/build_system
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-08-15 14:36:31 +0700
committerhathach <[email protected]>2024-08-15 14:36:31 +0700
commit1402e6ec0d5ed60375c9deb1add9061fcb37e590 (patch)
tree3ed6793dadffd87c563122d4113c243b0a65957c /examples/build_system
parent0be427bae95ef0fe94cb6f0b405eb5c3bbae160a (diff)
add flash-uniflash support for ti tm4c
Diffstat (limited to 'examples/build_system')
-rw-r--r--examples/build_system/make/rules.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/build_system/make/rules.mk b/examples/build_system/make/rules.mk
index f322dbae6..86de17b6c 100644
--- a/examples/build_system/make/rules.mk
+++ b/examples/build_system/make/rules.mk
@@ -166,6 +166,11 @@ flash-bmp: $(BUILD)/$(PROJECT).elf
debug-bmp: $(BUILD)/$(PROJECT).elf
$(GDB) -ex 'target extended-remote $(BMP)' -ex 'monitor swdp_scan' -ex 'attach 1' $<
+# --------------- TI Uniflash -----------------
+DSLITE ?= dslite.sh
+flash-uniflash: $(BUILD)/$(PROJECT).hex
+ ${DSLITE} ${UNIFLASH_OPTION} -f $<
+
#-------------- Artifacts --------------
# Create binary directory