tools/gen-device-svd: fix script filename in output
Этот коммит содержится в:
родитель
b09f7a5e6c
коммит
3076ad470e
1 изменённых файлов: 2 добавлений и 2 удалений
|
@ -205,7 +205,7 @@ def writeGo(outdir, device):
|
||||||
pkgName = os.path.basename(outdir.rstrip('/'))
|
pkgName = os.path.basename(outdir.rstrip('/'))
|
||||||
out.write('''\
|
out.write('''\
|
||||||
// Automatically generated file. DO NOT EDIT.
|
// 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}
|
// +build {pkgName},{nameLower}
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ def writeAsm(outdir, device):
|
||||||
out = open(outdir + '/' + device.metadata['nameLower'] + '.s', 'w')
|
out = open(outdir + '/' + device.metadata['nameLower'] + '.s', 'w')
|
||||||
out.write('''\
|
out.write('''\
|
||||||
// Automatically generated file. DO NOT EDIT.
|
// 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}
|
// {description}
|
||||||
//
|
//
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче