Skip to content

Commit 4af6913

Browse files
author
Taylor.An
authored
Merge pull request #15 from WIZnet-ArduinoEthernet/20230519-2
20230519 2
2 parents 64af679 + 0f447c8 commit 4af6913

File tree

292 files changed

+27394
-6322
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+27394
-6322
lines changed

.github/workflows/pull-request.yml

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ name: Arduino-Pico CI
66
on:
77
pull_request:
88

9+
env:
10+
TRAVIS_BUILD_DIR: ${{ github.workspace }}
11+
TRAVIS_TAG: ${{ github.ref }}
12+
913

1014
jobs:
1115

@@ -20,7 +24,7 @@ jobs:
2024
- name: Run codespell
2125
uses: codespell-project/actions-codespell@master
2226
with:
23-
skip: ./ArduinoCore-API,./libraries/ESP8266SdFat,./libraries/Adafruit_TinyUSB_Arduino,./libraries/LittleFS/lib,./libraries/Ethernet,./tools/pyserial,./pico-sdk,./.github,./docs/i2s.rst,./cores/rp2040/api,./libraries/FreeRTOS,./tools/libbearssl/bearssl,./include,./libraries/WiFi/examples/BearSSL_Server,./ota/uzlib
27+
skip: ./ArduinoCore-API,./libraries/ESP8266SdFat,./libraries/Adafruit_TinyUSB_Arduino,./libraries/LittleFS/lib,./libraries/Ethernet,./tools/pyserial,./pico-sdk,./.github,./docs/i2s.rst,./cores/rp2040/api,./libraries/FreeRTOS,./tools/libbearssl/bearssl,./include,./libraries/WiFi/examples/BearSSL_Server,./ota/uzlib,./libraries/http-parser/lib,./libraries/WebServer/examples/HelloServerBearSSL/HelloServerBearSSL.ino,./libraries/HTTPUpdateServer/examples/SecureBearSSLUpdater/SecureBearSSLUpdater.ino,./.git
2428
ignore_words_list: ser,dout
2529

2630
# Consistent style
@@ -46,37 +50,31 @@ jobs:
4650
./tests/restyle.sh
4751
# If anything changed, GIT should return an error and fail the test
4852
git diff --exit-code
49-
# - name: Check Arduino API copy is clean
50-
# run: |
51-
# git submodule update --init ./ArduinoCore-API
52-
# diff -r ./cores/rp2040/api ./ArduinoCore-API/api
5353
5454
# Build all examples on linux (core and Arduino IDE)
5555
build-linux:
5656
name: Build ${{ matrix.chunk }}
5757
runs-on: ubuntu-latest
5858
strategy:
5959
matrix:
60-
chunk: [0, 1, 2, 3]
60+
chunk: [0, 1, 2, 3, 4, 5]
6161
steps:
6262
- uses: actions/checkout@v3
6363
with:
6464
submodules: true
65-
- uses: actions/setup-python@v2
65+
- uses: actions/setup-python@v4
6666
with:
6767
python-version: '3.x'
6868
- name: Cache Linux toolchain
6969
id: cache-linux
70-
uses: actions/cache@v2
70+
uses: actions/cache@v3
7171
with:
7272
path: ./tools/dist
7373
key: ${{ runner.os }}-${{ hashFiles('package/package_pico_index.template.json', 'tests/common.sh') }}
7474
- name: Build Sketches
7575
env:
76-
TRAVIS_BUILD_DIR: ${{ github.workspace }}
77-
TRAVIS_TAG: ${{ github.ref }}
7876
BUILD_PARITY: custom
79-
mod: 4
77+
mod: 6
8078
rem: ${{ matrix.chunk }}
8179
run: |
8280
cd pico-sdk
@@ -92,19 +90,17 @@ jobs:
9290
- uses: actions/checkout@v3
9391
with:
9492
submodules: true
95-
- uses: actions/setup-python@v2
93+
- uses: actions/setup-python@v4
9694
with:
9795
python-version: '3.x'
9896
- name: Cache Linux toolchain
9997
id: cache-linux
100-
uses: actions/cache@v2
98+
uses: actions/cache@v3
10199
with:
102100
path: ./tools/dist
103101
key: ${{ runner.os }}-${{ hashFiles('package/package_pico_index.template.json', 'tests/common.sh') }}
104102
- name: Build Sketches
105103
env:
106-
TRAVIS_BUILD_DIR: ${{ github.workspace }}
107-
TRAVIS_TAG: ${{ github.ref }}
108104
BUILD_PARITY: custom
109105
run: |
110106
cd pico-sdk
@@ -120,19 +116,17 @@ jobs:
120116
- uses: actions/checkout@v3
121117
with:
122118
submodules: true
123-
- uses: actions/setup-python@v2
119+
- uses: actions/setup-python@v4
124120
with:
125121
python-version: '3.x'
126122
- name: Cache Windows toolchain
127123
id: cache-windows
128-
uses: actions/cache@v2
124+
uses: actions/cache@v3
129125
with:
130126
path: ./tools/dist
131127
key: ${{ runner.os }}-${{ hashFiles('package/package_pico_index.template.json', 'tests/common.sh') }}
132128
- name: Build Sketch
133129
env:
134-
TRAVIS_BUILD_DIR: ${{ github.workspace }}
135-
TRAVIS_TAG: ${{ github.ref }}
136130
WINDOWS: 1
137131
BUILD_PARITY: custom
138132
mod: 500
@@ -150,24 +144,22 @@ jobs:
150144
# Single build under macOS to ensure the Mac toolchain is good.
151145
build-mac:
152146
name: Mac
153-
runs-on: macOS-latest
147+
runs-on: macOS-12
154148
steps:
155149
- uses: actions/checkout@v3
156150
with:
157151
submodules: true
158-
- uses: actions/setup-python@v2
152+
- uses: actions/setup-python@v4
159153
with:
160154
python-version: '3.x'
161155
- name: Cache Mac toolchain
162156
id: cache-mac
163-
uses: actions/cache@v2
157+
uses: actions/cache@v3
164158
with:
165159
path: ./tools/dist
166160
key: ${{ runner.os }}-${{ hashFiles('package/package_pico_index.template.json', 'tests/common.sh') }}
167161
- name: Build Sketch
168162
env:
169-
TRAVIS_BUILD_DIR: ${{ github.workspace }}
170-
TRAVIS_TAG: ${{ github.ref }}
171163
MACOSX: 1
172164
BUILD_PARITY: custom
173165
mod: 500
@@ -194,19 +186,21 @@ jobs:
194186
git submodule update --init
195187
cd ../..
196188
- name: Cache pip
197-
uses: actions/cache@v2
189+
uses: actions/cache@v3
198190
with:
199191
path: ~/.cache/pip
200192
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
201193
restore-keys: |
202194
${{ runner.os }}-pip-
203195
- name: Cache PlatformIO
204-
uses: actions/cache@v2
196+
uses: actions/cache@v3
205197
with:
206198
path: ~/.platformio
207199
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
208200
- name: Set up Python
209-
uses: actions/setup-python@v2
201+
uses: actions/setup-python@v4
202+
with:
203+
python-version: '3.x'
210204
- name: Install PlatformIO
211205
run: |
212206
python -m pip install --upgrade pip

.github/workflows/release-to-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ jobs:
99
name: Update master JSON file
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
with:
1414
submodules: true
1515
- name: Cache pip
16-
uses: actions/cache@v2
16+
uses: actions/cache@v3
1717
with:
1818
path: ~/.cache/pip
1919
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
2020
restore-keys: |
2121
${{ runner.os }}-pip-
2222
- name: Cache PlatformIO
23-
uses: actions/cache@v2
23+
uses: actions/cache@v3
2424
with:
2525
path: ~/.platformio
2626
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
27-
- uses: actions/setup-python@v2
27+
- uses: actions/setup-python@v4
2828
with:
2929
python-version: '3.x'
3030
- name: Install PlatformIO

.github/workflows/tag-to-draft-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
name: Package
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919
with:
2020
submodules: true
2121
fetch-depth: 0
22-
- uses: actions/setup-python@v2
22+
- uses: actions/setup-python@v4
2323
with:
2424
python-version: '3.x'
2525
- name: Build package JSON

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ system
33
tools/dist
44
docs/_build
55
ota/build
6-
tools/libpico/build
6+
tools/libpico/build
7+
platform.local.txt

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@
4141
[submodule "libraries/WizFi360_arduino_library"]
4242
path = libraries/WizFi360_arduino_library
4343
url = https://github.com/Wiznet/WizFi360_arduino_library.git
44+
[submodule "libraries/http_parser/lib/http-parser"]
45+
path = libraries/http-parser/lib/http-parser
46+
url = https://github.com/nodejs/http-parser.git

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,23 @@ See https://arduino-pico.readthedocs.io/en/latest/ along with the examples for m
1313
* Raspberry Pi Pico
1414
* Raspberry Pi Pico W
1515
* Adafruit Feather RP2040
16+
* Adafruit Feather RP2040 SCORPIO
1617
* Adafruit ItsyBitsy RP2040
1718
* Adafruit KB2040
1819
* Adafruit Macropad RP2040
1920
* Adafruit QTPy RP2040
2021
* Adafruit STEMMA Friend RP2040
2122
* Adafruit Trinkey RP2040 QT
2223
* Arduino Nano RP2040 Connect
24+
* BridgeTek IDM2040-7A
2325
* Cytron Maker Pi RP2040
2426
* Cytron Maker Nano RP2040
27+
* DatanoiseTV PicoADK+
28+
* Degz Mizu
2529
* DeRuiLab FlyBoard2040 Core
2630
* DFRobot Beetle RP2040
2731
* ElectronicCats Hunter Cat NFC
32+
* ExtremeElectronics RC2040
2833
* Invector Labs Challenger RP2040 WiFi
2934
* Invector Labs Challenger RP2040 WiFi/BLE
3035
* Invector Labs Challenger NB RP2040 WiFi
@@ -33,12 +38,19 @@ See https://arduino-pico.readthedocs.io/en/latest/ along with the examples for m
3338
* Invector Labs Challenger RP2040 SubGHz
3439
* Invector Labs Challenger RP2040 SD/RTC
3540
* Invector Labs RPICO32
41+
* Melopero Cookie RP2040
3642
* Melopero Shake RP2040
43+
* Pimoroni PGA2040
3744
* Seeed XIAO RP2040
3845
* Solder Party RP2040 Stamp
3946
* SparkFun ProMicro RP2040
4047
* SparkFun Thing Plus RP2040
4148
* uPesy RP2040 DevKit
49+
* Waveshare RP2040 Zero
50+
* Waveshare RP2040 One
51+
* Waveshare RP2040 Plus
52+
* Waveshare RP2040 LCD 0.96
53+
* Waveshare RP2040 LCD 1.28
4254
* WIZnet W5100S-EVB-Pico
4355
* WIZnet W5500-EVB-Pico
4456
* WIZnet W6100-EVB-Pico
@@ -148,6 +160,8 @@ The installed tools include a version of OpenOCD (in the pqt-openocd directory)
148160
* Adafruit TinyUSB Arduino (USB mouse, keyboard, flash drive, generic HID, CDC Serial, MIDI, WebUSB, others)
149161
* Generic Arduino USB Serial, Keyboard, and Mouse emulation
150162
* WiFi (Pico W)
163+
* HTTP client and server (WebServer)
164+
* SSL/TLS/HTTPS
151165
* Over-the-Air (OTA) upgrades
152166
* Filesystems (LittleFS and SD/SDFS)
153167
* Multicore support (setup1() and loop1())
@@ -171,6 +185,7 @@ Here are some links to coverage and additional tutorials for using `arduino-pico
171185
* Pre-release Adafruit QT Py RP2040 - https://www.youtube.com/watch?v=sfC1msqXX0I
172186
* Adafruit Feather RP2040 running LCD + TMP117 - https://www.youtube.com/watch?v=fKDeqZiIwHg
173187
* Demonstration of Servos and I2C in Korean - https://cafe.naver.com/arduinoshield/1201
188+
* Home Assistant Pico W integration starter project using Arduino - https://github.com/daniloc/PicoW_HomeAssistant_Starter
174189
175190
# Contributing
176191
If you want to contribute or have bugfixes, drop me a note at <[email protected]> or open an issue/PR here.
@@ -188,7 +203,10 @@ If you want to contribute or have bugfixes, drop me a note at <earlephilhower@ya
188203
* [lwIP](https://savannah.nongnu.org/projects/lwip/) is (c) the Swedish Institute of Computer Science and licenced under the BSD license.
189204
* [BearSSL](https://bearssl.org) library written by Thomas Pornin, is distributed under the [MIT License](https://bearssl.org/#legal-details).
190205
* [UZLib](https://github.com/pfalcon/uzlib) is copyright (c) 2003 Joergen Ibsen and distributed under the zlib license.
191-
* [LEAmDMS](https://github.com/LaborEtArs/ESP8266mDNS) is copyright multiple authors and distributed under the MIT license.
206+
* [LEAmDNS](https://github.com/LaborEtArs/ESP8266mDNS) is copyright multiple authors and distributed under the MIT license.
207+
* [http-parser](https://github.com/nodejs/http-parser) is copyright Joyent, Inc. and other Node contributors.
208+
* WebServer code modified from the [ESP32 WebServer](https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer) and is copyright (c) 2015 Ivan Grokhotkov and others
209+
192210
193211
-Earle F. Philhower, III
194212

0 commit comments

Comments
 (0)