Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit be5af44

Browse files
authored
v1.3.0 to add support to Nano_RP2040_Connect
### Releases v1.3.0 1. Add support to RP2040-based **Nano_RP2040_Connect** boards using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
1 parent 5e3393a commit be5af44

File tree

13 files changed

+116
-53
lines changed

13 files changed

+116
-53
lines changed

README.md

Lines changed: 59 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* [Features](#features)
1717
* [Currently Supported Boards](#currently-supported-boards)
1818
* [Changelog](#changelog)
19+
* [Releases v1.3.0](#releases-v130)
1920
* [Releases v1.2.0](#releases-v120)
2021
* [Releases v1.1.0](#releases-v110)
2122
* [Releases v1.0.0](#releases-v100)
@@ -118,16 +119,23 @@ This [**ESP_AT_Lib** library](https://github.com/khoih-prog/ESP_AT_Lib) currentl
118119
- Generic Flight Controllers
119120
- Midatronics boards
120121

121-
7. RP2040-based boards, such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040** using [**Earle Philhower's arduino-pico** core v1.4.0+](https://github.com/earlephilhower/arduino-pico) or [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
122+
7. **SIPEED_MAIX_DUINO** boards
122123

123-
8. **SIPEED_MAIX_DUINO** boards
124+
8. RP2040-based boards, such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040** using [**Earle Philhower's arduino-pico** core v1.4.0+](https://github.com/earlephilhower/arduino-pico) or [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
125+
126+
9. RP2040-based boards, such as **Nano_RP2040_Connect** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
124127

125128

126129
---
127130
---
128131

129132
### Changelog
130133

134+
### Releases v1.3.0
135+
136+
1. Add support to RP2040-based **Nano_RP2040_Connect** boards using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
137+
138+
131139
### Releases v1.2.0
132140

133141
1. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO boards** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
@@ -158,10 +166,10 @@ This [**ESP_AT_Lib** library](https://github.com/khoih-prog/ESP_AT_Lib) currentl
158166
4. [`Teensy core 1.53+`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.1, 4.0, 3.6, 3.5, 3,2, 3.1, 3.0, LC) boards
159167
5. [`Arduino SAM DUE core v1.6.12+`](https://github.com/arduino/ArduinoCore-sam) for SAM DUE ARM Cortex-M3 boards.
160168
6. [`Arduino SAMD core 1.8.11+`](https://github.com/arduino/ArduinoCore-samd) for SAMD ARM Cortex-M0+ boards. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-samd.svg)](https://github.com/arduino/ArduinoCore-samd/releases/latest)
161-
7. [`Adafruit SAMD core 1.6.8+`](https://github.com/adafruit/ArduinoCore-samd) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.). [![GitHub release](https://img.shields.io/github/release/adafruit/ArduinoCore-samd.svg)](https://github.com/adafruit/ArduinoCore-samd/releases/latest)
169+
7. [`Adafruit SAMD core 1.7.2+`](https://github.com/adafruit/ArduinoCore-samd) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.). [![GitHub release](https://img.shields.io/github/release/adafruit/ArduinoCore-samd.svg)](https://github.com/adafruit/ArduinoCore-samd/releases/latest)
162170
8. [`Seeeduino SAMD core 1.8.1+`](https://github.com/Seeed-Studio/ArduinoCore-samd) for SAMD21/SAMD51 boards (XIAO M0, Wio Terminal, etc.). [![Latest release](https://img.shields.io/github/release/Seeed-Studio/ArduinoCore-samd.svg)](https://github.com/Seeed-Studio/ArduinoCore-samd/releases/latest/)
163-
9. [`Adafruit nRF52 v0.21.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [![GitHub release](https://img.shields.io/github/release/adafruit/Adafruit_nRF52_Arduino.svg)](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest)
164-
10. [`Earle Philhower's arduino-pico core v1.4.0+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest)
171+
9. [`Adafruit nRF52 v0.22.1+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [![GitHub release](https://img.shields.io/github/release/adafruit/Adafruit_nRF52_Arduino.svg)](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest)
172+
10. [`Earle Philhower's arduino-pico core v1.6.2+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest)
165173
11. [`Arduino mbed_rp2040 core 2.1.0+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as RASPBERRY_PI_PICO. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
166174
12. [`Ai-Thinker AT Firmware v1.5.4`](AT_Firmwares/At_firmware_bin1.54.zip) or [`AT Firmware v1.7.4.0`](AT_Firmwares/AT_Firmware_bin_1.7.4.0.zip) for ESP8266-AT shields.
167175
13. [`AT version_2.1.0.0_dev`](AT_Firmwares/AT_version_2.1.0.0_dev.zip) for ESP32-AT shields.
@@ -268,16 +276,16 @@ Another way to install is to:
268276
269277
#### 1. For Adafruit nRF52840 and nRF52832 boards
270278
271-
**To be able to compile, run and automatically detect and display BOARD_NAME on nRF52840/nRF52832 boards**, you have to copy the whole [nRF52 0.21.0](Packages_Patches/adafruit/hardware/nrf52/0.21.0) directory into Adafruit nRF52 directory (~/.arduino15/packages/adafruit/hardware/nrf52/0.21.0).
279+
**To be able to compile, run and automatically detect and display BOARD_NAME on nRF52840/nRF52832 boards**, you have to copy the whole [nRF52 0.22.0](Packages_Patches/adafruit/hardware/nrf52/0.22.0) directory into Adafruit nRF52 directory (~/.arduino15/packages/adafruit/hardware/nrf52/0.22.0).
272280
273-
Supposing the Adafruit nRF52 version is 0.21.0. These files must be copied into the directory:
274-
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.21.0/platform.txt`
275-
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.21.0/boards.txt`
276-
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.21.0/variants/NINA_B302_ublox/variant.h`
277-
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.21.0/variants/NINA_B302_ublox/variant.cpp`
278-
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.21.0/variants/NINA_B112_ublox/variant.h`
279-
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.21.0/variants/NINA_B112_ublox/variant.cpp`
280-
- **`~/.arduino15/packages/adafruit/hardware/nrf52/0.21.0/cores/nRF5/Udp.h`**
281+
Supposing the Adafruit nRF52 version is 0.22.0. These files must be copied into the directory:
282+
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.22.0/platform.txt`
283+
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.22.0/boards.txt`
284+
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.22.0/variants/NINA_B302_ublox/variant.h`
285+
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.22.0/variants/NINA_B302_ublox/variant.cpp`
286+
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.22.0/variants/NINA_B112_ublox/variant.h`
287+
- `~/.arduino15/packages/adafruit/hardware/nrf52/0.22.0/variants/NINA_B112_ublox/variant.cpp`
288+
- **`~/.arduino15/packages/adafruit/hardware/nrf52/0.22.0/cores/nRF5/Udp.h`**
281289
282290
Whenever a new version is installed, remember to copy these files into the new version directory. For example, new version is x.yy.z
283291
These files must be copied into the directory:
@@ -324,7 +332,7 @@ This file must be copied into the directory:
324332
325333
#### 4. For Arduino SAMD boards
326334
327-
***To be able to compile without error and automatically detect and display BOARD_NAME on Arduino SAMD (Nano-33-IoT, etc) boards***, you have to copy the whole [Arduino SAMD cores 1.8.10](Packages_Patches/arduino/hardware/samd/1.8.10) directory into Arduino SAMD directory (~/.arduino15/packages/arduino/hardware/samd/1.8.10).
335+
***To be able to compile without error and automatically detect and display BOARD_NAME on Arduino SAMD (Nano-33-IoT, etc) boards***, you have to copy the whole [Arduino SAMD cores 1.8.11](Packages_Patches/arduino/hardware/samd/1.8.11) directory into Arduino SAMD directory (~/.arduino15/packages/arduino/hardware/samd/1.8.11).
328336
329337
#### For core version v1.8.10+
330338
@@ -363,11 +371,11 @@ Whenever the above-mentioned compiler error issue is fixed with the new Arduino
363371
364372
#### 5. For Adafruit SAMD boards
365373
366-
***To be able to automatically detect and display BOARD_NAME on Adafruit SAMD (Itsy-Bitsy M4, etc) boards***, you have to copy the file [Adafruit SAMD platform.txt](Packages_Patches/adafruit/hardware/samd/1.6.7) into Adafruit samd directory (~/.arduino15/packages/adafruit/hardware/samd/1.6.7).
374+
***To be able to automatically detect and display BOARD_NAME on Adafruit SAMD (Itsy-Bitsy M4, etc) boards***, you have to copy the file [Adafruit SAMD platform.txt](Packages_Patches/adafruit/hardware/samd/1.7.1) into Adafruit samd directory (~/.arduino15/packages/adafruit/hardware/samd/1.7.1).
367375
368-
Supposing the Adafruit SAMD core version is 1.6.7. This file must be copied into the directory:
376+
Supposing the Adafruit SAMD core version is 1.7.1. This file must be copied into the directory:
369377
370-
- `~/.arduino15/packages/adafruit/hardware/samd/1.6.7/platform.txt`
378+
- `~/.arduino15/packages/adafruit/hardware/samd/1.7.1/platform.txt`
371379
372380
Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz
373381
This file must be copied into the directory:
@@ -426,7 +434,6 @@ theses files must be copied into the corresponding directory:
426434
- `~/.arduino15/packages/STM32/hardware/stm32/x.yy.zz/variants/NUCLEO_F767ZI/variant.h`
427435
- `~/.arduino15/packages/STM32/hardware/stm32/x.yy.zz/variants/NUCLEO_L053R8/variant.h`
428436
429-
430437
#### 8. For RP2040-based boards using [Earle Philhower arduino-pico core](https://github.com/earlephilhower/arduino-pico)
431438
432439
#### 8.1 To use BOARD_NAME
@@ -442,7 +449,7 @@ This file must be copied into the directory:
442449
443450
- `~/.arduino15/packages/rp2040/hardware/rp2040/x.yy.zz/platform.txt`
444451
445-
With core after v1.4.0, this step is not necessary anymore thanks to the PR [Add -DBOARD_NAME="{build.board}" #136](https://github.com/earlephilhower/arduino-pico/pull/136).
452+
With core after v1.5.0, this step is not necessary anymore thanks to the PR [Add -DBOARD_NAME="{build.board}" #136](https://github.com/earlephilhower/arduino-pico/pull/136).
446453
447454
#### 8.2 To avoid compile error relating to microsecondsToClockCycles
448455
@@ -457,8 +464,7 @@ This file must be copied to replace:
457464
458465
- `~/.arduino15/packages/rp2040/hardware/rp2040/x.yy.zz/cores/rp2040/Arduino.h`
459466
460-
With core after v1.4.0, this step is not necessary anymore thanks to the PR [Add defs for compatibility #142](https://github.com/earlephilhower/arduino-pico/pull/142).
461-
467+
With core after v1.5.0, this step is not necessary anymore thanks to the PR [Add defs for compatibility #142](https://github.com/earlephilhower/arduino-pico/pull/142).
462468
463469
---
464470
@@ -813,12 +819,33 @@ Please take a look at other examples, as well.
813819

814820
#define EspSerial Serial1
815821

816-
#elif ( defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) )
822+
#elif ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || \
823+
defined(ARDUINO_GENERIC_RP2040) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) )
817824

818825
#warning RASPBERRY_PI_PICO board selected
819-
#define BOARD_TYPE "RASPBERRY_PI_PICO"
826+
827+
#if defined(ARDUINO_ARCH_MBED)
828+
829+
#if defined(BOARD_NAME)
830+
#undef BOARD_NAME
831+
#endif
832+
833+
#if defined(ARDUINO_RASPBERRY_PI_PICO)
834+
#define BOARD_TYPE "MBED RASPBERRY_PI_PICO"
835+
#elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
836+
#define BOARD_TYPE "MBED DAFRUIT_FEATHER_RP2040"
837+
#elif defined(ARDUINO_GENERIC_RP2040)
838+
#define BOARD_TYPE "MBED GENERIC_RP2040"
839+
#elif defined(ARDUINO_NANO_RP2040_CONNECT)
840+
#define BOARD_NAME "MBED NANO_RP2040_CONNECT"
841+
#else
842+
#define BOARD_TYPE "MBED Unknown RP2040"
843+
#endif
844+
#else
845+
#define BOARD_TYPE "RASPBERRY_PI_PICO"
846+
#endif
820847

821-
#define EspSerial Serial1
848+
#define EspSerial Serial1
822849

823850
#elif (ESP_AT_USE_AVR)
824851

@@ -985,7 +1012,7 @@ This is the terminal output when running [HTTPGET](examples/HTTPGET) example on
9851012
9861013
```
9871014
Start HTTPGET on RASPBERRY_PI_PICO
988-
ESP_AT_Lib v1.2.0
1015+
ESP_AT_Lib v1.3.0
9891016
FW Version:AT+GMR
9901017
AT version:1.7.4.0(May 11 2020 19:13:04)
9911018
SDK version:3.0.4(9532ceb)
@@ -1048,7 +1075,7 @@ This is the terminal output when running [HTTPGET](examples/HTTPGET) example on
10481075
10491076
```
10501077
Start HTTPGET on MBED RASPBERRY_PI_PICO
1051-
ESP_AT_Lib v1.2.0
1078+
ESP_AT_Lib v1.3.0
10521079
FW Version:AT version:1.7.4.0(May 11 2020 19:13:04)
10531080
SDK version:3.0.4(9532ceb)
10541081
compile time:May 27 2020 10:12:17
@@ -1140,6 +1167,10 @@ Sometimes, the library will only work if you update the `ESP8266/ESP32-AT shield
11401167

11411168
### Releases
11421169

1170+
### Releases v1.3.0
1171+
1172+
1. Add support to RP2040-based **Nano_RP2040_Connect** boards using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
1173+
11431174
### Releases v1.2.0
11441175

11451176
1. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO boards** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
@@ -1187,6 +1218,7 @@ Submit issues to: [ESP_AT_Lib issues](https://github.com/khoih-prog/ESP_AT_Lib/i
11871218
9. Add Version String
11881219
10. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO boards** using [Earle Philhower's arduino-pico core](https://github.com/earlephilhower/arduino-pico)
11891220
11. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO boards** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed)
1221+
12. Add support to RP2040-based boards, such as **Nano_RP2040_Connect** using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed).
11901222

11911223
---
11921224
---

examples/ConnectWiFi/ConnectWiFi.ino

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@
2727
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2828
THE SOFTWARE.
2929
30-
Version: 1.2.0
30+
Version: 1.3.0
3131
3232
Version Modified By Date Comments
3333
------- ----------- ---------- -----------
3434
1.0.0 K Hoang 12/02/2020 Initial coding for ESP8266/ESP32-AT shields to support Mega, nRF52, SAMD, DUE, STM32, etc.
3535
1.1.0 K Hoang 10/05/2021 Add support to BOARD_SIPEED_MAIX_DUINO and RASPBERRY_PI_PICO
3636
1.2.0 K Hoang 17/05/2021 Add support to RP2040-based boards using Arduino-mbed RP2040 core. Fix compiler warnings
37+
1.3.0 K Hoang 29/05/2021 Add support to RP2040-based Nano_RP2040_Connect using Arduino-mbed RP2040 core
3738
*****************************************************************************************************************************/
3839

3940
/* Comment this out to disable prints and save space */
@@ -231,7 +232,8 @@
231232

232233
#define EspSerial Serial1
233234

234-
#elif ( defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) )
235+
#elif ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || \
236+
defined(ARDUINO_GENERIC_RP2040) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) )
235237

236238
#warning RASPBERRY_PI_PICO board selected
237239

@@ -247,6 +249,8 @@
247249
#define BOARD_TYPE "MBED DAFRUIT_FEATHER_RP2040"
248250
#elif defined(ARDUINO_GENERIC_RP2040)
249251
#define BOARD_TYPE "MBED GENERIC_RP2040"
252+
#elif defined(ARDUINO_NANO_RP2040_CONNECT)
253+
#define BOARD_NAME "MBED NANO_RP2040_CONNECT"
250254
#else
251255
#define BOARD_TYPE "MBED Unknown RP2040"
252256
#endif

examples/HTTPGET/HTTPGET.ino

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@
2727
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2828
THE SOFTWARE.
2929
30-
Version: 1.2.0
30+
Version: 1.3.0
3131
3232
Version Modified By Date Comments
3333
------- ----------- ---------- -----------
3434
1.0.0 K Hoang 12/02/2020 Initial coding for ESP8266/ESP32-AT shields to support Mega, nRF52, SAMD, DUE, STM32, etc.
3535
1.1.0 K Hoang 10/05/2021 Add support to BOARD_SIPEED_MAIX_DUINO and RASPBERRY_PI_PICO
3636
1.2.0 K Hoang 17/05/2021 Add support to RP2040-based boards using Arduino-mbed RP2040 core. Fix compiler warnings
37+
1.3.0 K Hoang 29/05/2021 Add support to RP2040-based Nano_RP2040_Connect using Arduino-mbed RP2040 core
3738
*****************************************************************************************************************************/
3839

3940
/* Comment this out to disable prints and save space */
@@ -231,7 +232,8 @@
231232

232233
#define EspSerial Serial1
233234

234-
#elif ( defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) )
235+
#elif ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || \
236+
defined(ARDUINO_GENERIC_RP2040) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) )
235237

236238
#warning RASPBERRY_PI_PICO board selected
237239

@@ -247,14 +249,16 @@
247249
#define BOARD_TYPE "MBED DAFRUIT_FEATHER_RP2040"
248250
#elif defined(ARDUINO_GENERIC_RP2040)
249251
#define BOARD_TYPE "MBED GENERIC_RP2040"
252+
#elif defined(ARDUINO_NANO_RP2040_CONNECT)
253+
#define BOARD_NAME "MBED NANO_RP2040_CONNECT"
250254
#else
251255
#define BOARD_TYPE "MBED Unknown RP2040"
252256
#endif
253257
#else
254258
#define BOARD_TYPE "RASPBERRY_PI_PICO"
255259
#endif
256260

257-
#define EspSerial Serial1
261+
#define EspSerial Serial1
258262

259263
#elif (ESP_AT_USE_AVR)
260264

examples/TCPClientMultiple/TCPClientMultiple.ino

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@
2727
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2828
THE SOFTWARE.
2929
30-
Version: 1.2.0
30+
Version: 1.3.0
3131
3232
Version Modified By Date Comments
3333
------- ----------- ---------- -----------
3434
1.0.0 K Hoang 12/02/2020 Initial coding for ESP8266/ESP32-AT shields to support Mega, nRF52, SAMD, DUE, STM32, etc.
3535
1.1.0 K Hoang 10/05/2021 Add support to BOARD_SIPEED_MAIX_DUINO and RASPBERRY_PI_PICO
3636
1.2.0 K Hoang 17/05/2021 Add support to RP2040-based boards using Arduino-mbed RP2040 core. Fix compiler warnings
37+
1.3.0 K Hoang 29/05/2021 Add support to RP2040-based Nano_RP2040_Connect using Arduino-mbed RP2040 core
3738
*****************************************************************************************************************************/
3839

3940
/* Comment this out to disable prints and save space */
@@ -231,7 +232,8 @@
231232

232233
#define EspSerial Serial1
233234

234-
#elif ( defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) )
235+
#elif ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || \
236+
defined(ARDUINO_GENERIC_RP2040) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) )
235237

236238
#warning RASPBERRY_PI_PICO board selected
237239

@@ -247,6 +249,8 @@
247249
#define BOARD_TYPE "MBED DAFRUIT_FEATHER_RP2040"
248250
#elif defined(ARDUINO_GENERIC_RP2040)
249251
#define BOARD_TYPE "MBED GENERIC_RP2040"
252+
#elif defined(ARDUINO_NANO_RP2040_CONNECT)
253+
#define BOARD_NAME "MBED NANO_RP2040_CONNECT"
250254
#else
251255
#define BOARD_TYPE "MBED Unknown RP2040"
252256
#endif

0 commit comments

Comments
 (0)