Merge pull request #2397 from openmv/alif_tools_update

tools/alif: Update tools.
This commit is contained in:
Ibrahim Abdelkader 2024-08-29 20:38:37 +03:00 committed by GitHub
commit b6650f3b9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -351,6 +351,7 @@ def createOemTocPackage(fwsections, metadata_flags, outputFile):
# generate debug script file
dsFile = 'bin/application_package.ds' # Was bin/oempackage.ds
try:
os.makedirs(os.path.dirname(dsFile), exist_ok=True)
ds = open(dsFile, 'w')
#f.write('reset system\n')
ds.write('set semihosting args ' + debugScript + '\n' )