commit d0c9e5caf9cdb2f8365c1f108468811566814e4d
parent 8814a540561ad066ba6155aeaccae86900bac2a8
Author: Matsuda Kenji <info@mtkn.jp>
Date: Sat, 9 Mar 2024 09:01:49 +0900
add objdump to Makefile
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/ex3/Makefile b/ex3/Makefile
@@ -2,6 +2,7 @@ CC = arm-none-eabi-gcc
AS = arm-none-eabi-as
LD = arm-none-eabi-ld
OBJCOPY = arm-none-eabi-objcopy
+OBJDUMP = arm-none-eabi-objdump
BINCRC = ../tools/bincrc
BIN2UF2 = ../tools/bin2uf2
@@ -40,3 +41,6 @@ flash: all
tools:
cd ../tools && make
+
+dump: a.elf
+ $(OBJDUMP) -D $<