device: add build tag for go1.17

Этот коммит содержится в:
sago35 2021-11-16 07:56:36 +09:00 коммит произвёл Ayke
родитель 2f4f3bd1ba
коммит 7b41d92198
5 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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,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,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