Add 'filteroutput.py' tool to automatically do addr2line lookups on likely hex values
This commit is contained in:
parent
f9fb0f212c
commit
b414e0b946
2 changed files with 109 additions and 1 deletions
|
|
@ -75,6 +75,9 @@ FLAVOR ?= release # or debug
|
|||
# Compiler names, etc. assume gdb
|
||||
CROSS ?= xtensa-lx106-elf-
|
||||
|
||||
# Path to the filteroutput.py tool
|
||||
FILTEROUTPUT ?= $(ROOT)/utils/filteroutput.py
|
||||
|
||||
AR = $(CROSS)ar
|
||||
CC = $(CROSS)gcc
|
||||
CPP = $(CROSS)cpp
|
||||
|
|
@ -385,7 +388,7 @@ size: $(PROGRAM_OUT)
|
|||
$(Q) $(CROSS)size --format=sysv $(PROGRAM_OUT)
|
||||
|
||||
test: flash
|
||||
screen $(ESPPORT) 115200
|
||||
$(FILTEROUTPUT) --port $(ESPPORT) --baud 115200 --elf $(PROGRAM_OUT)
|
||||
|
||||
# the rebuild target is written like this so it can be run in a parallel build
|
||||
# environment without causing weird side effects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue