Skip to content
Snippets Groups Projects
Commit 26d813d8 authored by Daniel Willmann's avatar Daniel Willmann
Browse files

profiling: Move address conversion to Contiki

The address in the AVR is given in words not in bytes. Previously the
script handled conversion, but doing it in Contiki should be cleaner.
parent 5241bccf
No related branches found
No related tags found
No related merge requests found
......@@ -113,10 +113,6 @@ def ignore_site(site, onlyfile=False, onlyname=False):
def lookup_symbol(symbol, funcptr=False):
# AVR stores the address in words, correct that
if options.prefix == "avr":
symbol = 2*symbol
if symbol in func_table:
return func_table[symbol]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment