Skip to content

Commit 3c5e174

Browse files
committed
netlink, examples: use 'ninafw' tag instead of individual board tags to simplify maintenence. Also see PR #4085 in the main TinyGo repo
Signed-off-by: deadprogram <[email protected]>
1 parent 0262122 commit 3c5e174

File tree

17 files changed

+17
-17
lines changed

17 files changed

+17
-17
lines changed

examples/net/http-get/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// examples/net/webclient (for HTTP)
1010
// examples/net/tlsclient (for HTTPS)
1111

12-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
12+
//go:build ninafw || wioterminal
1313

1414
package main
1515

examples/net/http-head/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// examples/net/webclient (for HTTP)
1010
// examples/net/tlsclient (for HTTPS)
1111

12-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
12+
//go:build ninafw || wioterminal
1313

1414
package main
1515

examples/net/http-post/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// examples/net/webclient (for HTTP)
1010
// examples/net/tlsclient (for HTTPS)
1111

12-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
12+
//go:build ninafw || wioterminal
1313

1414
package main
1515

examples/net/http-postform/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// examples/net/webclient (for HTTP)
1010
// examples/net/tlsclient (for HTTPS)
1111

12-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
12+
//go:build ninafw || wioterminal
1313

1414
package main
1515

examples/net/mqttclient/natiu/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Note: It may be necessary to increase the stack size when using
55
// paho.mqtt.golang. Use the -stack-size=4KB command line option.
66

7-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040
7+
//go:build ninafw || wioterminal || challenger_rp2040
88

99
package main
1010

examples/net/mqttclient/paho/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Note: It may be necessary to increase the stack size when using
55
// paho.mqtt.golang. Use the -stack-size=4KB command line option.
66

7-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040
7+
//go:build ninafw || wioterminal || challenger_rp2040
88

99
package main
1010

examples/net/ntpclient/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// It creates a UDP connection to request the current time and parse the
44
// response from a NTP server. The system time is set to NTP time.
55

6-
//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040
6+
//go:build ninafw || wioterminal || challenger_rp2040
77

88
package main
99

examples/net/socket/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// nc -lk 8080
66

7-
//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040
7+
//go:build ninafw || wioterminal || challenger_rp2040
88

99
package main
1010

examples/net/tcpclient/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//
66
// nc -lk 8080
77

8-
//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040 || pico
8+
//go:build ninafw || wioterminal || challenger_rp2040 || pico
99

1010
package main
1111

examples/net/tcpecho/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
// $ nc 10.0.0.2 8080 <file >copy ; cmp file copy
99

10-
//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
10+
//go:build ninafw || wioterminal
1111

1212
package main
1313

examples/net/tlsclient/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//
66
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
77

8-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
8+
//go:build ninafw || wioterminal
99

1010
package main
1111

examples/net/webclient/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// }
1818
// ---------------------------------------------------------------------------
1919

20-
//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
20+
//go:build ninafw || wioterminal
2121

2222
package main
2323

examples/net/webserver/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Note: It may be necessary to increase the stack size when using "net/http".
77
// Use the -stack-size=4KB command line option.
88

9-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
9+
//go:build ninafw || wioterminal
1010

1111
package main
1212

examples/net/websocket/dial/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Note: It may be necessary to increase the stack size when using
77
// "golang.org/x/net/websocket". Use the -stack-size=4KB command line option.
88

9-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
9+
//go:build ninafw || wioterminal
1010

1111
package main
1212

examples/net/websocket/handler/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Note: It may be necessary to increase the stack size when using
77
// "golang.org/x/net/websocket". Use the -stack-size=4KB command line option.
88

9-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
9+
//go:build ninafw || wioterminal
1010

1111
package main
1212

examples/net/webstatic/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Note: It may be necessary to increase the stack size when using "net/http".
44
// Use the -stack-size=4KB command line option.
55

6-
//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
6+
//go:build ninafw || wioterminal
77

88
package main
99

netlink/probe/wifinina.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || matrixportal_m4
1+
//go:build ninafw && !arduino_mkrwifi1010
22

33
package probe
44

0 commit comments

Comments
 (0)