Skip to content

Commit

Permalink
Add a check to transform examples path into the app category
Browse files Browse the repository at this point in the history
  • Loading branch information
bastien-buil committed Dec 13, 2024
1 parent ef6d63e commit c347974
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cosy.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ def parse_elffile(elffile, prefix, appdir, riot_base=None):
d['path'][0] = "app"
else:
d['path'].insert(0, "app")
if d['path'][0] == "examples":
d['path'][0] = "app"
d['line'] = int(d['line'])
d['addr'] = int(d['addr'], 16)
d['type'] = d['type'].lower()
Expand Down

0 comments on commit c347974

Please sign in to comment.