From a70af4d7af095797d2c814efd7d96bc2a52f0831 Mon Sep 17 00:00:00 2001 From: Fazana <52551480+FazanaJ@users.noreply.github.com> Date: Tue, 7 Dec 2021 01:02:36 +0000 Subject: [PATCH] deleted linker failsafe --- tools/python/generate_ld.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/python/generate_ld.py b/tools/python/generate_ld.py index f22f776c..1164ad4c 100644 --- a/tools/python/generate_ld.py +++ b/tools/python/generate_ld.py @@ -228,6 +228,11 @@ class GenerateLD: files.sort(key = lambda x: (x[2], x[3])) # Sort tuples by RAM address and prioritize src files first. return files +if os.path.exists('./dkr.ld'): + print("") +else: + os.remove('./assets/' + VERSION + '/md5.txt') + if os.path.exists('./assets/' + VERSION + '/md5.txt'): with open('./assets/' + VERSION + '/md5.txt', "rt") as a_file: with open('./assets/' + VERSION + '/assets.json',"rb") as f: