Description
Generaing Go types for reading and parsing svd files by using the CMSIS-SVD.xsd file.
Steps to reproduce the issue:
xgen -i ./CMSIS-SVD.xsd -o ./svd/types.go -l Go -p svd generates this file types.go.txt
- compiling a Go app that reads in an svd ARM_Example.svd
- run the app.
Describe the results you received:
2024/12/22 16:17:53 ERRO xml: name "cpu" in tag of svd.Device.Cpu conflicts with name "cpuType" in *svd.CpuType.XMLName
Describe the results you expected:
No errors.
Output of go version:
go version go1.23.4 linux/amd64
xgen version or commit ID:
Environment details (OS, physical, etc.):
Distributor ID: Neon
Description: KDE neon 6.2
Release: 24.04
Codename: noble
Description
Generaing Go types for reading and parsing svd files by using the CMSIS-SVD.xsd file.
Steps to reproduce the issue:
xgen -i ./CMSIS-SVD.xsd -o ./svd/types.go -l Go -p svdgenerates this file types.go.txtDescribe the results you received:
Describe the results you expected:
No errors.
Output of
go version:xgen version or commit ID:
Environment details (OS, physical, etc.):
Distributor ID: Neon
Description: KDE neon 6.2
Release: 24.04
Codename: noble