diff options
Diffstat (limited to 'tools/gen-device-svd/gen-device-svd.go')
-rwxr-xr-x | tools/gen-device-svd/gen-device-svd.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/gen-device-svd/gen-device-svd.go b/tools/gen-device-svd/gen-device-svd.go index c547af586..1a3d53962 100755 --- a/tools/gen-device-svd/gen-device-svd.go +++ b/tools/gen-device-svd/gen-device-svd.go @@ -909,8 +909,9 @@ func writeGo(outdir string, device *Device, interruptSystem string) error { //go:build {{.pkgName}} && {{.device.Metadata.NameLower}} +/* {{.device.Metadata.Description}} -// +*/ {{.device.Metadata.LicenseBlock}} package {{.pkgName}} @@ -1357,8 +1358,10 @@ func writeAsm(outdir string, device *Device) error { t := template.Must(template.New("go").Parse(`// Automatically generated file. DO NOT EDIT. // Generated by gen-device-svd.go from {{.File}}, see {{.DescriptorSource}} +/* {{.Description}} -// +*/ + {{.LicenseBlock}} .syntax unified |