File tree 3 files changed +21
-0
lines changed
3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ jobs:
101
101
- fqbn : arduino:mbed_edge:edge_control
102
102
platform-name : arduino:mbed_edge
103
103
artifact-name-suffix : arduino-mbed_edge-edge_control
104
+ - fqbn : " rp2040:rp2040:rpipicow"
105
+ platform-name : rp2040:rp2040
106
+ artifact-name-suffix : rp2040-rp2040-rpipicow
104
107
105
108
# Make board type-specific customizations to the matrix jobs
106
109
include :
@@ -181,6 +184,14 @@ jobs:
181
184
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
182
185
sketch-paths : |
183
186
- examples/ConnectionHandlerDemo-Notecard
187
+ - board :
188
+ platform-name : rp2040:rp2040
189
+ platforms : |
190
+ # Install rp2040 platform via Boards Manager
191
+ - name: rp2040:rp2040
192
+ source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
193
+ sketch-paths : |
194
+ - examples/ConnectionHandlerDemo-Notecard
184
195
185
196
steps :
186
197
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 144
144
#define NETWORK_HARDWARE_ERROR
145
145
#endif
146
146
147
+ #if defined(ARDUINO_RASPBERRY_PI_PICO_W )
148
+ #define BOARD_HAS_WIFI
149
+ #define NETWORK_HARDWARE_ERROR WL_NO_SHIELD
150
+ #define NETWORK_IDLE_STATUS WL_IDLE_STATUS
151
+ #define NETWORK_CONNECTED WL_CONNECTED
152
+ #endif
153
+
147
154
#endif // BOARD_HAS_NOTECARD
148
155
149
156
/******************************************************************************
Original file line number Diff line number Diff line change 46
46
#include < WiFiUdp.h>
47
47
#elif defined(ARDUINO_UNOR4_WIFI)
48
48
#include < WiFiS3.h>
49
+ #elif defined(ARDUINO_RASPBERRY_PI_PICO_W)
50
+ #include < WiFi.h>
51
+ #include < WiFiUdp.h>
49
52
#endif
50
53
51
54
#ifndef BOARD_HAS_WIFI
You can’t perform that action at this time.
0 commit comments