Skip to content

Commit

Permalink
parse_elffile: fix riot_base
Browse files Browse the repository at this point in the history
  • Loading branch information
Jana Eisoldt authored and chrysn committed Dec 6, 2024
1 parent a19b2a2 commit cad085a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cosy.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ def parse_elffile(elffile, prefix, appdir, riot_base=None):
rbase = ["riotbuild/riotproject"]
if riot_base:
rbase.append(riot_base.strip("/"))
else:
rbase.append("RIOT")
rbase.append("riotbuild/riotbase")

rbase.append("RIOT")
rbase.append("riotbuild/riotbase")
riot_base = "|".join([f'{p}/build|{p}' for p in rbase])

c = re.compile(r"(?P<addr>[0-9a-f]+) "
Expand Down

0 comments on commit cad085a

Please sign in to comment.