Skip to content

Commit 0dc7e00

Browse files
committed
Add WAN attribute to compile also examples from MKRWAN library for MKRWAN1300 and MKRWAN1310
1 parent 857c994 commit 0dc7e00

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.github/workflows/compile-examples.yml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,23 @@ jobs:
6060

6161
matrix:
6262
board: [
63-
{"fqbn": "arduino:samd:arduino_zero_edbg", "type": "usb"},
64-
{"fqbn": "arduino:samd:arduino_zero_native", "type": "usb"},
65-
{"fqbn": "arduino:samd:mkr1000", "type": "usb"},
66-
{"fqbn": "arduino:samd:mkrzero", "type": "usb"},
67-
{"fqbn": "arduino:samd:mkrwifi1010", "type": "mkrWiFi1010"},
68-
{"fqbn": "arduino:samd:nano_33_iot", "type": "nano33IoT"},
69-
{"fqbn": "arduino:samd:mkrfox1200", "type": "usb"},
70-
{"fqbn": "arduino:samd:mkrwan1300", "type": "usb"},
71-
{"fqbn": "arduino:samd:mkrwan1310", "type": "mkrwan1310"},
72-
{"fqbn": "arduino:samd:mkrgsm1400", "type": "usb"},
73-
{"fqbn": "arduino:samd:mkrnb1500", "type": "mkrNB1500"},
74-
{"fqbn": "arduino:samd:mkrvidor4000", "type": "vidor"},
75-
{"fqbn": "arduino:samd:adafruit_circuitplayground_m0", "type": "adafruit_playg"},
76-
{"fqbn": "arduino:samd:mzero_pro_bl_dbg", "type": "mzero"},
77-
{"fqbn": "arduino:samd:mzero_pro_bl", "type": "mzero"},
78-
{"fqbn": "arduino:samd:mzero_bl", "type": "mzero"},
79-
{"fqbn": "arduino:samd:tian", "type": "tian"}
63+
{"fqbn": "arduino:samd:arduino_zero_edbg", "type": "usb", "WAN": "false"},
64+
{"fqbn": "arduino:samd:arduino_zero_native", "type": "usb", "WAN": "false"},
65+
{"fqbn": "arduino:samd:mkr1000", "type": "usb", "WAN": "false"},
66+
{"fqbn": "arduino:samd:mkrzero", "type": "usb", "WAN": "false"},
67+
{"fqbn": "arduino:samd:mkrwifi1010", "type": "mkrWiFi1010", "WAN": "false"},
68+
{"fqbn": "arduino:samd:nano_33_iot", "type": "nano33IoT", "WAN": "false"},
69+
{"fqbn": "arduino:samd:mkrfox1200", "type": "usb", "WAN": "false"},
70+
{"fqbn": "arduino:samd:mkrwan1300", "type": "usb", "WAN": "true"},
71+
{"fqbn": "arduino:samd:mkrwan1310", "type": "mkrwan1310", "WAN": "true"},
72+
{"fqbn": "arduino:samd:mkrgsm1400", "type": "usb", "WAN": "false"},
73+
{"fqbn": "arduino:samd:mkrnb1500", "type": "mkrNB1500", "WAN": "false"},
74+
{"fqbn": "arduino:samd:mkrvidor4000", "type": "vidor", "WAN": "false"},
75+
{"fqbn": "arduino:samd:adafruit_circuitplayground_m0", "type": "adafruit_playg", "WAN": "false"},
76+
{"fqbn": "arduino:samd:mzero_pro_bl_dbg", "type": "mzero", "WAN": "false"},
77+
{"fqbn": "arduino:samd:mzero_pro_bl", "type": "mzero", "WAN": "false"},
78+
{"fqbn": "arduino:samd:mzero_bl", "type": "mzero", "WAN": "false"},
79+
{"fqbn": "arduino:samd:tian", "type": "tian", "WAN": "false"}
8080
]
8181

8282
# make board type-specific customizations to the matrix jobs
@@ -171,8 +171,8 @@ jobs:
171171
- ~/Arduino/libraries/MKRNB/examples
172172
# MKRWAN board
173173
- board:
174-
fqbn: '"arduino:samd:mkrwan1300" "arduino:samd:mkrwan1310"'
175-
additional-sketch-paths: |
174+
WAN: "true"
175+
wan-sketch-paths: |
176176
- ~/Arduino/libraries/MKRWAN/examples
177177
178178
steps:
@@ -257,6 +257,7 @@ jobs:
257257
${{ env.UNIVERSAL_SKETCH_PATHS }}
258258
${{ matrix.additional-sketch-paths }}
259259
${{ matrix.mkrgsm1400-sketch-paths }}
260+
${{ matrix.wan-sketch-paths }}
260261
enable-deltas-report: 'true'
261262
verbose: 'true'
262263

0 commit comments

Comments
 (0)