From c347974f6e0f9270b72293a2eebc656510d0833c Mon Sep 17 00:00:00 2001 From: Bastien BUIL Date: Fri, 13 Dec 2024 11:17:29 +0100 Subject: [PATCH] Add a check to transform examples path into the app category --- cosy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cosy.py b/cosy.py index 371144b..10f55a8 100755 --- a/cosy.py +++ b/cosy.py @@ -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()