From 802338f3a9553a71e39db60311a7d86464779d88 Mon Sep 17 00:00:00 2001 From: Henny022p Date: Wed, 26 Apr 2023 13:48:54 +0200 Subject: [PATCH] fix progress.py for new makefile --- progress.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/progress.py b/progress.py index bd248d2e..f0b8fdf2 100755 --- a/progress.py +++ b/progress.py @@ -2,7 +2,6 @@ import argparse import json -import git import os import re @@ -26,7 +25,7 @@ def parse_map(non_matching_funcs): data = 0 non_matching = 0 - with open('tmc.map', 'r') as map: + with open('build/USA/tmc.map', 'r') as map: # Skip to the linker script section line = map.readline() while not line.startswith('Linker script and memory map'): @@ -119,6 +118,7 @@ def main(): if args.format == 'csv': + import git version = 2 git_object = git.Repo().head.object timestamp = str(git_object.committed_date)