mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 20:13:40 +00:00
tools/gen-device-svd: fix script filename in output
This commit is contained in:
@@ -205,7 +205,7 @@ def writeGo(outdir, device):
|
||||
pkgName = os.path.basename(outdir.rstrip('/'))
|
||||
out.write('''\
|
||||
// Automatically generated file. DO NOT EDIT.
|
||||
// Generated by gen-device.py from {file}, see {descriptorSource}
|
||||
// Generated by gen-device-svd.py from {file}, see {descriptorSource}
|
||||
|
||||
// +build {pkgName},{nameLower}
|
||||
|
||||
@@ -305,7 +305,7 @@ def writeAsm(outdir, device):
|
||||
out = open(outdir + '/' + device.metadata['nameLower'] + '.s', 'w')
|
||||
out.write('''\
|
||||
// Automatically generated file. DO NOT EDIT.
|
||||
// Generated by gen-device.py from {file}, see {descriptorSource}
|
||||
// Generated by gen-device-svd.py from {file}, see {descriptorSource}
|
||||
|
||||
// {description}
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user