Skip to content

Commit ef9df08

Browse files
committed
Merge branch 'master' into Serial_attachInterrupt
2 parents eb648c1 + 6154b7a commit ef9df08

Some content is hidden

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

55 files changed

+1069
-186
lines changed

Diff for: .codespellrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# See: https://github.com/codespell-project/codespell#using-a-config-file
2+
[codespell]
3+
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
4+
ignore-words-list = hart,pullrequest
5+
builtin = clear
6+
check-filenames =
7+
check-hidden =
8+
skip = ./.git,./firmwares/arduinoISP,./firmwares/wifishield,./bootloaders

Diff for: .github/dependabot.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#about-the-dependabotyml-file
2+
version: 2
3+
4+
updates:
5+
# Configure check for outdated GitHub Actions actions in workflows.
6+
# See: https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
7+
- package-ecosystem: github-actions
8+
directory: / # Check the repository's workflows under /.github/workflows/
9+
schedule:
10+
interval: daily

Diff for: .github/workflows/check-arduino.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Check Arduino
2+
3+
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4+
on:
5+
push:
6+
pull_request:
7+
schedule:
8+
# Run every Tuesday at 8 AM UTC to catch breakage caused by new rules added to Arduino Lint.
9+
- cron: "0 8 * * TUE"
10+
workflow_dispatch:
11+
repository_dispatch:
12+
13+
jobs:
14+
lint:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
20+
21+
- name: Arduino Lint
22+
uses: arduino/arduino-lint-action@v1
23+
with:
24+
compliance: specification
25+
# Always use this setting for official repositories. Remove for 3rd party projects.
26+
official: true
27+
project-type: platform

Diff for: .github/workflows/compile-platform-examples.yml

+206
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
name: Compile Examples
2+
3+
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
4+
on:
5+
push:
6+
paths:
7+
- ".github/workflows/compile-platform-examples.ya?ml"
8+
- "cores/**"
9+
- "libraries/**"
10+
- "variants/**"
11+
- "boards.txt"
12+
- "platform.txt"
13+
pull_request:
14+
paths:
15+
- ".github/workflows/compile-platform-examples.ya?ml"
16+
- "cores/**"
17+
- "libraries/**"
18+
- "variants/**"
19+
- "boards.txt"
20+
- "platform.txt"
21+
workflow_dispatch:
22+
repository_dispatch:
23+
24+
jobs:
25+
build:
26+
name: ${{ matrix.board.fqbn }}
27+
runs-on: ubuntu-latest
28+
29+
env:
30+
SKETCHES_REPORTS_PATH: sketches-reports
31+
32+
strategy:
33+
fail-fast: false
34+
35+
matrix:
36+
board:
37+
- fqbn: arduino:avr:yun
38+
serial: true
39+
softwareserial: true
40+
- fqbn: arduino:avr:uno
41+
serial: true
42+
softwareserial: true
43+
- fqbn: arduino:avr:diecimila:cpu=atmega328
44+
serial: true
45+
softwareserial: true
46+
- fqbn: arduino:avr:diecimila:cpu=atmega168
47+
serial: true
48+
softwareserial: true
49+
- fqbn: arduino:avr:nano:cpu=atmega328
50+
serial: true
51+
softwareserial: true
52+
- fqbn: arduino:avr:nano:cpu=atmega328old
53+
serial: true
54+
softwareserial: true
55+
- fqbn: arduino:avr:nano:cpu=atmega168
56+
serial: true
57+
softwareserial: true
58+
- fqbn: arduino:avr:mega:cpu=atmega2560
59+
serial: true
60+
softwareserial: true
61+
- fqbn: arduino:avr:mega:cpu=atmega1280
62+
serial: true
63+
softwareserial: true
64+
- fqbn: arduino:avr:megaADK
65+
serial: true
66+
softwareserial: true
67+
- fqbn: arduino:avr:leonardo
68+
serial: true
69+
softwareserial: true
70+
- fqbn: arduino:avr:leonardoeth
71+
serial: true
72+
softwareserial: true
73+
- fqbn: arduino:avr:micro
74+
serial: true
75+
softwareserial: true
76+
- fqbn: arduino:avr:esplora
77+
serial: true
78+
softwareserial: true
79+
- fqbn: arduino:avr:mini:cpu=atmega328
80+
serial: true
81+
softwareserial: true
82+
- fqbn: arduino:avr:mini:cpu=atmega168
83+
serial: true
84+
softwareserial: true
85+
- fqbn: arduino:avr:ethernet
86+
serial: true
87+
softwareserial: true
88+
- fqbn: arduino:avr:fio
89+
serial: true
90+
softwareserial: true
91+
- fqbn: arduino:avr:bt:cpu=atmega328
92+
serial: true
93+
softwareserial: true
94+
- fqbn: arduino:avr:bt:cpu=atmega168
95+
serial: true
96+
softwareserial: true
97+
- fqbn: arduino:avr:LilyPadUSB
98+
serial: true
99+
softwareserial: true
100+
- fqbn: arduino:avr:lilypad:cpu=atmega328
101+
serial: true
102+
softwareserial: true
103+
- fqbn: arduino:avr:lilypad:cpu=atmega168
104+
serial: true
105+
softwareserial: true
106+
- fqbn: arduino:avr:pro:cpu=16MHzatmega328
107+
serial: true
108+
softwareserial: true
109+
- fqbn: arduino:avr:pro:cpu=8MHzatmega328
110+
serial: true
111+
softwareserial: true
112+
- fqbn: arduino:avr:pro:cpu=16MHzatmega168
113+
serial: true
114+
softwareserial: true
115+
- fqbn: arduino:avr:pro:cpu=8MHzatmega168
116+
serial: true
117+
softwareserial: true
118+
- fqbn: arduino:avr:atmegang:cpu=atmega168
119+
serial: true
120+
softwareserial: true
121+
- fqbn: arduino:avr:atmegang:cpu=atmega8
122+
serial: true
123+
softwareserial: false
124+
- fqbn: arduino:avr:robotControl
125+
serial: true
126+
softwareserial: false
127+
- fqbn: arduino:avr:robotMotor
128+
serial: true
129+
softwareserial: false
130+
- fqbn: arduino:avr:gemma
131+
serial: false
132+
softwareserial: false
133+
- fqbn: arduino:avr:circuitplay32u4cat
134+
serial: true
135+
softwareserial: true
136+
- fqbn: arduino:avr:yunmini
137+
serial: true
138+
softwareserial: true
139+
- fqbn: arduino:avr:chiwawa
140+
serial: true
141+
softwareserial: true
142+
- fqbn: arduino:avr:one
143+
serial: true
144+
softwareserial: true
145+
- fqbn: arduino:avr:unowifi
146+
serial: true
147+
softwareserial: true
148+
149+
# Make board type-specific customizations to the matrix jobs
150+
include:
151+
- board:
152+
# Boards with Serial interface
153+
serial: true
154+
# Compile these sketches in addition to the ones compiled for all boards
155+
serial-sketch-paths: |
156+
- libraries/EEPROM/examples/eeprom_crc
157+
- libraries/EEPROM/examples/eeprom_get
158+
- libraries/EEPROM/examples/eeprom_put
159+
- libraries/EEPROM/examples/eeprom_read
160+
- libraries/SPI
161+
- libraries/Wire
162+
- board:
163+
serial: false
164+
serial-sketch-paths: ""
165+
- board:
166+
# Boards compatible with the SoftwareSerial library
167+
softwareserial: true
168+
softwareserial-sketch-paths: |
169+
- libraries/SoftwareSerial
170+
- board:
171+
softwareserial: false
172+
softwareserial-sketch-paths: ""
173+
174+
steps:
175+
- name: Checkout repository
176+
uses: actions/checkout@v2
177+
178+
- name: Compile examples
179+
uses: arduino/compile-sketches@v1
180+
with:
181+
github-token: ${{ secrets.GITHUB_TOKEN }}
182+
fqbn: ${{ matrix.board.fqbn }}
183+
platforms: |
184+
# Use Boards Manager to install the latest release of the platform to get the toolchain.
185+
- name: arduino:avr
186+
# Overwrite the Boards Manager installation with the platform from the repository.
187+
- source-path: ./
188+
name: arduino:avr
189+
sketch-paths: |
190+
# Compile these sketches for all boards
191+
- libraries/EEPROM/examples/eeprom_clear
192+
- libraries/EEPROM/examples/eeprom_iteration
193+
- libraries/EEPROM/examples/eeprom_update
194+
- libraries/EEPROM/examples/eeprom_write
195+
# Board-specific sketches
196+
${{ matrix.serial-sketch-paths }}
197+
${{ matrix.softwareserial-sketch-paths }}
198+
enable-deltas-report: true
199+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
200+
201+
- name: Save sketches report as workflow artifact
202+
uses: actions/upload-artifact@v2
203+
with:
204+
if-no-files-found: error
205+
path: ${{ env.SKETCHES_REPORTS_PATH }}
206+
name: ${{ env.SKETCHES_REPORTS_PATH }}

Diff for: .github/workflows/report-size-deltas.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Report Size Deltas
2+
3+
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4+
on:
5+
push:
6+
paths:
7+
- ".github/workflows/report-size-deltas.yml"
8+
schedule:
9+
# Run at the minimum interval allowed by GitHub Actions.
10+
# Note: GitHub Actions periodically has outages which result in workflow failures.
11+
# In this event, the workflows will start passing again once the service recovers.
12+
- cron: "*/5 * * * *"
13+
workflow_dispatch:
14+
repository_dispatch:
15+
16+
jobs:
17+
report:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Comment size deltas reports to PRs
21+
uses: arduino/report-size-deltas@v1
22+
with:
23+
# The name of the workflow artifact created by the sketch compilation workflow
24+
sketches-reports-source: sketches-reports

Diff for: .github/workflows/spell-check.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Spell Check
2+
3+
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4+
on:
5+
push:
6+
pull_request:
7+
schedule:
8+
# Run every Tuesday at 8 AM UTC to catch new misspelling detections resulting from dictionary updates.
9+
- cron: "0 8 * * TUE"
10+
workflow_dispatch:
11+
repository_dispatch:
12+
13+
jobs:
14+
spellcheck:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
20+
21+
- name: Spell check
22+
uses: codespell-project/actions-codespell@master

Diff for: README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Arduino AVR Boards
2+
3+
[![Check Arduino status](https://github.com/arduino/ArduinoCore-avr/actions/workflows/check-arduino.yml/badge.svg)](https://github.com/arduino/ArduinoCore-avr/actions/workflows/check-arduino.yml)
4+
[![Compile Examples status](https://github.com/arduino/ArduinoCore-avr/actions/workflows/compile-platform-examples.yml/badge.svg)](https://github.com/arduino/ArduinoCore-avr/actions/workflows/compile-platform-examples.yml)
5+
[![Spell Check status](https://github.com/arduino/ArduinoCore-avr/actions/workflows/spell-check.yml/badge.svg)](https://github.com/arduino/ArduinoCore-avr/actions/workflows/spell-check.yml)
6+
7+
This repository contains the source code and configuration files of the Arduino AVR Boards
8+
[platform](https://arduino.github.io/arduino-cli/latest/platform-specification/).

0 commit comments

Comments
 (0)