Skip to content

Commit

Permalink
Merge pull request #92 from hideakitai/feature/change-unor4-wifi-to-w…
Browse files Browse the repository at this point in the history
…ifis3

Feature/change unor4 wifi to wifis3
  • Loading branch information
hideakitai authored Feb 7, 2024
2 parents 33d1c26 + 44c9ee3 commit cce19de
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,39 @@ jobs:
- name: FastLED
verbose: true

build-wifis3:
name: "Build Test (WiFiS3): ${{matrix.board.arch}}:${{matrix.board.name}}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
board:
- vendor: arduino
arch: renesas_uno
name: unor4wifi
include:
- index: https://downloads.arduino.cc/packages/package_index.json
board:
vendor: arduino
steps:
- uses: actions/checkout@v4
- name: compile example sketchs
uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{matrix.board.vendor}}:${{matrix.board.arch}}:${{matrix.board.name}}
platforms: |
- name: ${{matrix.board.vendor}}:${{matrix.board.arch}}
source-url: ${{matrix.index}}
sketch-paths: |
- examples/WiFi/receiver
- examples/WiFi/sender
libraries: |
- source-path: ./
- name: ArxContainer
- name: ArxTypeTraits
verbose: true

build-ethernet:
name: "Build Test (Ethernet): ${{matrix.board.arch}}:${{matrix.board.name}}"
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion ArtnetWiFi.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#elif defined(ARDUINO_AVR_UNO_WIFI_REV2) || defined(ARDUINO_SAMD_MKRWIFI1010) || defined(ARDUINO_SAMD_MKRVIDOR4000) \
|| defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_UNOR4_WIFI)
|| defined(ARDUINO_SAMD_NANO_33_IOT)
#include <SPI.h>
#include <WiFiNINA.h>
#include <WiFiUdp.h>
#elif defined(ARDUINO_SAMD_MKR1000)
#include <SPI.h>
#include <WiFi101.h>
#include <WiFiUdp.h>
#elif defined(ARDUINO_UNOR4_WIFI)
#include <WiFiS3.h>
#endif
#include "Artnet/Manager.h"

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ If you have already installed this library before v0.3.0, please follow:
- Supports multiple WiFi/Ethernet libraries
- WiFi
- WiFiNINA
- WiFiS3 (Arduino Uno R4 WiFi)
- Ethernet
- EthernetENC
- ETH (ESP32)
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/hideakitai",
"maintainer": true
},
"version": "0.4.1",
"version": "0.4.2",
"license": "MIT",
"frameworks": "*",
"platforms": "*",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ArtNet
version=0.4.1
version=0.4.2
author=hideakitai
maintainer=hideakitai
sentence=Art-Net Sender/Receiver for Arduino (Ethernet, WiFi)
Expand Down

0 comments on commit cce19de

Please sign in to comment.