Skip to content

Commit

Permalink
netlink, examples: use 'ninafw' tag instead of individual board tags …
Browse files Browse the repository at this point in the history
…to simplify maintenence. Also see PR #4085 in the main TinyGo repo

Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Jan 17, 2024
1 parent 0262122 commit 3c5e174
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion examples/net/http-get/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// examples/net/webclient (for HTTP)
// examples/net/tlsclient (for HTTPS)

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/http-head/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// examples/net/webclient (for HTTP)
// examples/net/tlsclient (for HTTPS)

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/http-post/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// examples/net/webclient (for HTTP)
// examples/net/tlsclient (for HTTPS)

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/http-postform/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// examples/net/webclient (for HTTP)
// examples/net/tlsclient (for HTTPS)

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/mqttclient/natiu/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Note: It may be necessary to increase the stack size when using
// paho.mqtt.golang. Use the -stack-size=4KB command line option.

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040
//go:build ninafw || wioterminal || challenger_rp2040

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/mqttclient/paho/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Note: It may be necessary to increase the stack size when using
// paho.mqtt.golang. Use the -stack-size=4KB command line option.

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040
//go:build ninafw || wioterminal || challenger_rp2040

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/ntpclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// It creates a UDP connection to request the current time and parse the
// response from a NTP server. The system time is set to NTP time.

//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040
//go:build ninafw || wioterminal || challenger_rp2040

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/socket/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// nc -lk 8080

//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040
//go:build ninafw || wioterminal || challenger_rp2040

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/tcpclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// nc -lk 8080

//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal || challenger_rp2040 || pico
//go:build ninafw || wioterminal || challenger_rp2040 || pico

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/tcpecho/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//
// $ nc 10.0.0.2 8080 <file >copy ; cmp file copy

//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/tlsclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/webclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// }
// ---------------------------------------------------------------------------

//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/webserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Note: It may be necessary to increase the stack size when using "net/http".
// Use the -stack-size=4KB command line option.

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/websocket/dial/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Note: It may be necessary to increase the stack size when using
// "golang.org/x/net/websocket". Use the -stack-size=4KB command line option.

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/websocket/handler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Note: It may be necessary to increase the stack size when using
// "golang.org/x/net/websocket". Use the -stack-size=4KB command line option.

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion examples/net/webstatic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Note: It may be necessary to increase the stack size when using "net/http".
// Use the -stack-size=4KB command line option.

//go:build pyportal || nano_rp2040 || metro_m4_airlift || arduino_mkrwifi1010 || matrixportal_m4 || wioterminal
//go:build ninafw || wioterminal

package main

Expand Down
2 changes: 1 addition & 1 deletion netlink/probe/wifinina.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build pyportal || arduino_nano33 || nano_rp2040 || metro_m4_airlift || matrixportal_m4
//go:build ninafw && !arduino_mkrwifi1010

package probe

Expand Down

0 comments on commit 3c5e174

Please sign in to comment.