[refactor]:(objdump) Merge Pull Requets from but0n/dev

This commit is contained in:
but0n 2016-12-15 22:14:28 +08:00
commit 649aead7b9
2 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,7 @@ tshow:
flash:
stm32flash -w $(TOP)/main.bin -v -g 0 /dev/tty.SLAB_USBtoUART
dump:
arm-none-eabi-objdump -D main.elf > DUMP.s
$(OBJDUMP) -D main.elf > DUMP.s
open DUMP.s
tty: flash
screen /dev/tty.SLAB_USBtoUART 115200

View File

@ -48,6 +48,7 @@ TC=arm-none-eabi
CC=$(TC)-gcc
LD=$(TC)-ld -v
OBJCOPY=$(TC)-objcopy
OBJDUMP=$(TC)-objdump
AR=$(TC)-ar
GDB=$(TC)-gdb
INCLUDE=-I$(TOP)/inc