device: add build tag for go1.17

This commit is contained in:
sago35
2021-11-16 07:56:36 +09:00
committed by Ayke
parent 2f4f3bd1ba
commit 7b41d92198
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@
// Hardfault aliases for definitions that have inconsistent naming (which are
// auto-generated by gen-device-svd.go) among devices in package nxp.
//go:build nxp && !mimxrt1062
// +build nxp,!mimxrt1062
package nxp
+1
View File
@@ -2,6 +2,7 @@
// Type definitions, fields, and constants associated with various clocks and
// peripherals of the NXP MIMXRT1062.
//go:build nxp && mimxrt1062
// +build nxp,mimxrt1062
package nxp
+1
View File
@@ -2,6 +2,7 @@
// Hardfault aliases for definitions that have inconsistent naming (which are
// auto-generated by gen-device-svd.go) among devices in package nxp.
//go:build nxp && mimxrt1062
// +build nxp,mimxrt1062
package nxp
+1
View File
@@ -1,6 +1,7 @@
// Hand created file. DO NOT DELETE.
// atsamd51x bitfield definitions that are not auto-generated by gen-device-svd.go
//go:build sam && atsamd51
// +build sam,atsamd51
// These are the supported pchctrl function numberings on the atsamd51x
+1
View File
@@ -1,6 +1,7 @@
// Hand created file. DO NOT DELETE.
// atsamd51x bitfield definitions that are not auto-generated by gen-device-svd.go
//go:build sam && atsame5x
// +build sam,atsame5x
// These are the supported pchctrl function numberings on the atsamd51x