device: add build tag for go1.17
Этот коммит содержится в:
родитель
2f4f3bd1ba
коммит
7b41d92198
5 изменённых файлов: 5 добавлений и 0 удалений
|
@ -2,6 +2,7 @@
|
||||||
// Hardfault aliases for definitions that have inconsistent naming (which are
|
// Hardfault aliases for definitions that have inconsistent naming (which are
|
||||||
// auto-generated by gen-device-svd.go) among devices in package nxp.
|
// auto-generated by gen-device-svd.go) among devices in package nxp.
|
||||||
|
|
||||||
|
//go:build nxp && !mimxrt1062
|
||||||
// +build nxp,!mimxrt1062
|
// +build nxp,!mimxrt1062
|
||||||
|
|
||||||
package nxp
|
package nxp
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// Type definitions, fields, and constants associated with various clocks and
|
// Type definitions, fields, and constants associated with various clocks and
|
||||||
// peripherals of the NXP MIMXRT1062.
|
// peripherals of the NXP MIMXRT1062.
|
||||||
|
|
||||||
|
//go:build nxp && mimxrt1062
|
||||||
// +build nxp,mimxrt1062
|
// +build nxp,mimxrt1062
|
||||||
|
|
||||||
package nxp
|
package nxp
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// Hardfault aliases for definitions that have inconsistent naming (which are
|
// Hardfault aliases for definitions that have inconsistent naming (which are
|
||||||
// auto-generated by gen-device-svd.go) among devices in package nxp.
|
// auto-generated by gen-device-svd.go) among devices in package nxp.
|
||||||
|
|
||||||
|
//go:build nxp && mimxrt1062
|
||||||
// +build nxp,mimxrt1062
|
// +build nxp,mimxrt1062
|
||||||
|
|
||||||
package nxp
|
package nxp
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// Hand created file. DO NOT DELETE.
|
// Hand created file. DO NOT DELETE.
|
||||||
// atsamd51x bitfield definitions that are not auto-generated by gen-device-svd.go
|
// atsamd51x bitfield definitions that are not auto-generated by gen-device-svd.go
|
||||||
|
|
||||||
|
//go:build sam && atsamd51
|
||||||
// +build sam,atsamd51
|
// +build sam,atsamd51
|
||||||
|
|
||||||
// These are the supported pchctrl function numberings on the atsamd51x
|
// These are the supported pchctrl function numberings on the atsamd51x
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// Hand created file. DO NOT DELETE.
|
// Hand created file. DO NOT DELETE.
|
||||||
// atsamd51x bitfield definitions that are not auto-generated by gen-device-svd.go
|
// atsamd51x bitfield definitions that are not auto-generated by gen-device-svd.go
|
||||||
|
|
||||||
|
//go:build sam && atsame5x
|
||||||
// +build sam,atsame5x
|
// +build sam,atsame5x
|
||||||
|
|
||||||
// These are the supported pchctrl function numberings on the atsamd51x
|
// These are the supported pchctrl function numberings on the atsamd51x
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче