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

This commit is contained in:
but0n 2016-12-15 22:13:50 +08:00
commit ec0cd6d5c0
2 changed files with 2 additions and 1 deletions

View File

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

View File

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