Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
6ad770e
No fixed value for USB power current.
awatterott Nov 13, 2017
0c5aa78
Add `bitToggle` macro to complement `bitSet` etc
jamadagni Aug 11, 2018
c6ce36d
Add placement new operator
Pharap Aug 18, 2018
b410611
Prevent possible compiler warning
Pharap Aug 18, 2018
6a71747
Add noexcept specifier to placement new operator
Pharap Oct 26, 2018
d518be6
Removed historic Arduino-0012 workaround
florian-schweiger Nov 26, 2018
c87bc7b
Add USBDevice.isSuspended()
algernon Dec 10, 2018
a901b08
Revert "Updated Arduino as ISP setting"
per1234 Dec 19, 2018
98c8a13
Add ATmega32U4-compatible Arduino as ISP programmer
per1234 Dec 19, 2018
4efd686
Merge pull request #56 from per1234/arduino-as-isp-atmega32u4-programmer
facchinm Dec 19, 2018
6ba4fd3
Merge pull request #54 from algernon/pull/wakeup-suspend-hooks
facchinm Dec 19, 2018
c27aef0
Remove commented out code for I2C interrupts on WInterrupts.c
paulo-raca Jan 4, 2019
5755dde
Merge pull request #59 from paulo-raca/wiring_private_i2c
facchinm Jan 7, 2019
8f752bf
Add parameters names to common prototypes
paulrnash Jan 22, 2019
9e9f54d
Define descriptor return var in pluggable block
dmadison Feb 17, 2019
649f978
Minor optimization in shiftOut function
luco5826 Apr 26, 2019
4d074e8
Fixed shiftOut in MSBFIRST mode HIGH/LOW
luco5826 Apr 26, 2019
7a2e1cd
Merge pull request #51 from florian-schweiger/patch-1
facchinm May 16, 2019
b237dcc
Do not claim AT-protocol in CDC interface descriptor
matthijskooijman Jun 8, 2019
e715ebf
Cast pins to signed integers to avoid Wtype-limits compile warning
jrowberg Jul 22, 2019
c270eaa
Add null pointer test to String destructor
jrowberg Jul 29, 2019
d908f32
rename yunmini.bootloader.file on boards.txt
gigoh Aug 2, 2019
13bace4
Update twi.c
CombiesGit Aug 16, 2019
29bfd08
remove unnecessary if branch
zakkie Sep 4, 2019
317513b
Merge pull request #103 from zakkie/fix/remove_if
aentinger Sep 16, 2019
815d311
Merge pull request #76 from dmadison/pluggable-unused
aentinger Sep 16, 2019
becb995
Adding parenthesis around 'bitvalue' allowing correct macro expansion…
aentinger Sep 16, 2019
ffe7ae0
Merge pull request #64 from paulrnash/paulrnash-intellisense
aentinger Sep 16, 2019
742abcd
Merge pull request #33 from Pharap/add-placement-new
aentinger Sep 16, 2019
366b1b8
Merge branch 'master' into patch-1
aentinger Sep 16, 2019
5ed329e
Merge pull request #31 from jamadagni/patch-1
aentinger Sep 16, 2019
786e405
Merge pull request #100 from CombiesGit/patch-1
aentinger Sep 16, 2019
3718970
Merge pull request #99 from gigoh/fix-bootloader-path
aentinger Sep 16, 2019
cc8daac
Merge pull request #92 from matthijskooijman/cdc-no-prototocol-at
aentinger Sep 16, 2019
ffeca15
Merge pull request #95 from jrowberg/master
aentinger Sep 16, 2019
3883e49
Merge pull request #82 from luco5826/master
aentinger Sep 16, 2019
41f15a1
Changed linking order, so precompiled libraries can use the Arduino c…
Corjan85 Sep 16, 2019
319be02
Add i2c_scanner to example of Wire (#93)
asukiaaa Sep 16, 2019
c0b0803
Merge pull request #4 from awatterott/master
aentinger Sep 16, 2019
56486ab
Revert "Changed linking order, so precompiled libraries can use the A…
aentinger Sep 18, 2019
464bfc4
Merge pull request #284 from arduino/revert-52-master
aentinger Sep 18, 2019
71c366f
Remove Genuino Occurrences
mastrolinux Sep 19, 2019
95867b5
Removed Genuino Micro and set to replace it with Arduino Micro on upload
cmaglie Sep 20, 2019
f9cadc5
Merge pull request #286 from arduino/remove-genuino
facchinm Sep 20, 2019
2f67c91
Added SERIAL_PORT_MONITOR define to Arduino Ethernet
giampiero7 Dec 14, 2017
c8d6aef
Interrupt ordering for 32u2 and 16u2 MCU (#66)
M-Reimer Sep 25, 2019
0e7fae8
Release 1.8.2
cmaglie Dec 2, 2019
9e5ab3d
Fix sine -> since typo in HardwareSerial files
e28eta Mar 18, 2020
0f3d4da
Merge pull request #318 from e28eta/typos
facchinm Mar 19, 2020
bca2493
Added precompiled lib support
cmaglie Apr 28, 2020
4438bb7
Update comment on wiring_analog.c
Max-Leopold May 2, 2020
58081c0
Merge pull request #337 from Max-Leopold/patch-1
facchinm May 4, 2020
d1ae194
Add "new" proxy header for compatibility with c++-standard #include<new>
eudoxos May 13, 2020
9568c63
Merge pull request #335 from cmaglie/add-precomp-lib-support
facchinm Jun 11, 2020
71c3f99
Merge pull request #340 from eudoxos/header-new
facchinm Jun 11, 2020
deea929
Introduce non compulsory Wire timeout
greyltc Feb 28, 2018
38ff552
Wire: add sensible defaults to setWireTimeout
facchinm Jun 11, 2020
f1fe5e8
Wire: improve comments on timeout
matthijskooijman Jun 11, 2020
e4611a1
Publish 1.8.3
facchinm Jun 11, 2020
3055c1e
Wire: apply last suggested comment from @matthijskooijman
facchinm Jun 11, 2020
9a02bd8
Swap new and new.h header files
matthijskooijman Sep 17, 2020
07b6bd1
Clean up and complete `<new>` header
matthijskooijman Sep 17, 2020
4e469e0
Allow overriding selected operator new and delete functions
matthijskooijman Sep 17, 2020
b8c6c85
Add weak `std::terminate()` implementation
matthijskooijman Sep 17, 2020
66d06b0
Call std::terminate on pure or deleted virtual functions
matthijskooijman Sep 17, 2020
6e0fb1e
Make zero-sized new standards-compliant
matthijskooijman Sep 17, 2020
1a885ce
Optionally let new terminate on allocation failure
matthijskooijman Sep 17, 2020
6d29250
Use std::size_t in new/delete
matthijskooijman Sep 17, 2020
6ec8015
Merge pull request #361 from matthijskooijman/improve-new
facchinm Oct 15, 2020
4fd3801
Improve reading ADC result
VitSh7 May 28, 2020
87236bc
Merge pull request #345 from Vitve4/pr_344
facchinm Nov 2, 2020
18a9e3d
Update platform specification URLs in configuration files
per1234 Nov 2, 2020
60f0d0b
Merge pull request #369 from per1234/update-platform-docs-urls
facchinm Nov 2, 2020
8e823d2
Allow disabling CDC with -DCDC_DISABLED
DanielGibson Jan 5, 2021
bbc017f
fix twi_manageTimeoutFlag function description
greyltc Jan 9, 2021
9f8d27f
Merge pull request #385 from greyltc/patch-1
facchinm Jan 12, 2021
4b35c44
Declare TwoWire functions as virtual
ArkadyGamza Feb 25, 2021
cfeb616
Use established KEYWORD_TOKENTYPE for Wire keyword
per1234 Apr 4, 2021
5fb6220
Merge pull request #396 from ArkadyGamza/make_TwoWire_functions_virtual
aentinger May 25, 2021
ec2b495
Provide a brief description of the project
per1234 May 26, 2021
de717ce
Configure Dependabot to check for outdated actions used in workflows
per1234 May 26, 2021
1ac42f7
Revert "Declare TwoWire functions as virtual" (#412)
aentinger May 26, 2021
5ec42f9
Add CI workflow to check for commonly misspelled words
per1234 May 26, 2021
8b327d7
Correct typos in comments and documentation
per1234 May 26, 2021
d990c93
Add CI workflow to do Arduino project-specific linting
per1234 May 26, 2021
05b7d7a
Add "smoke test" examples compilation CI workflow
per1234 May 26, 2021
20dc2e5
Report changes in memory usage that would result from merging a PR
per1234 May 26, 2021
24e6edd
Merge pull request #413 from per1234/ci
facchinm May 26, 2021
4899e50
Don't use codespell's "rare" dictionary for CI spell check
per1234 Jun 30, 2021
8f8df16
Merge pull request #417 from per1234/ignore-word
silvanocerza Sep 8, 2021
44dc454
Merge pull request #383 from DanielGibson/disable-cdc
facchinm Oct 1, 2021
c34151f
Added pluggable discovery/monitor definitions
cmaglie Oct 13, 2021
65e63bf
Inserted cast to unsigned int in available method in order to avoid c…
Oct 18, 2021
6507dfe
Merge pull request #433 from felias-fogg/master
facchinm Nov 17, 2021
c92a544
Merge pull request #426 from arduino/scerza/pluggable-discovery-support
facchinm Nov 23, 2021
514d504
Add Uno mini board
facchinm Nov 23, 2021
a1c76c0
Release 1.8.4
facchinm Nov 23, 2021
525be9e
Fix legacy upload.network_pattern rule
silvanocerza Nov 30, 2021
6154b7a
Merge pull request #440 from arduino/scerza/fix-java-ide-network-upload
silvanocerza Dec 1, 2021
2685b9b
initial import from https://github.com/arduino/Arduino/tree/master/bu…
umbynos Dec 16, 2021
ae4c7ec
modify post_install.bat according to https://github.com/arduino/Ardui…
umbynos Dec 16, 2021
6bb264b
add install for arduino gemma drivers: they are in another directory
umbynos Dec 17, 2021
2cb9107
add drivers for Uno Mini
umbynos Dec 22, 2021
330e026
Merge pull request #442 from umbynos/umbynos/add_drivers_install
umbynos Dec 27, 2021
8ef856f
Add unomini to sketch compilation CI workflow
per1234 Jan 1, 2022
6690a38
Merge pull request #448 from per1234/add-unomini-ci
per1234 Jan 3, 2022
5259cff
Use more logical Boards menu placement for Uno Mini
per1234 Jan 1, 2022
2cebe62
Merge pull request #449 from per1234/unomini-menu-location
facchinm Jan 10, 2022
b324381
Release 1.8.5
facchinm Feb 16, 2022
987e874
Bump actions/checkout from 2 to 3
dependabot[bot] Mar 1, 2022
0d4f175
Merge pull request #465 from arduino/dependabot/github_actions/action…
per1234 Mar 1, 2022
14ea1ca
Bump actions/upload-artifact from 2 to 3
dependabot[bot] Apr 8, 2022
7e33c29
Merge pull request #470 from arduino/dependabot/github_actions/action…
per1234 Apr 11, 2022
bc792a9
Merge pull request #404 from per1234/patch-1
per1234 Apr 19, 2022
e5f88a6
[ArduinoAPI] initial porting
facchinm Nov 16, 2017
6bddc5f
Fix compile errors
leg0 May 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# See: https://github.com/codespell-project/codespell#using-a-config-file
[codespell]
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
ignore-words-list = hart,pullrequest
builtin = clear
check-filenames =
check-hidden =
skip = ./.git,./firmwares/arduinoISP,./firmwares/wifishield,./bootloaders
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# See: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#about-the-dependabotyml-file
version: 2

updates:
# Configure check for outdated GitHub Actions actions in workflows.
# See: https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
- package-ecosystem: github-actions
directory: / # Check the repository's workflows under /.github/workflows/
schedule:
interval: daily
27 changes: 27 additions & 0 deletions .github/workflows/check-arduino.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Check Arduino

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
on:
push:
pull_request:
schedule:
# Run every Tuesday at 8 AM UTC to catch breakage caused by new rules added to Arduino Lint.
- cron: "0 8 * * TUE"
workflow_dispatch:
repository_dispatch:

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Arduino Lint
uses: arduino/arduino-lint-action@v1
with:
compliance: specification
# Always use this setting for official repositories. Remove for 3rd party projects.
official: true
project-type: platform
209 changes: 209 additions & 0 deletions .github/workflows/compile-platform-examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
name: Compile Examples

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
push:
paths:
- ".github/workflows/compile-platform-examples.ya?ml"
- "cores/**"
- "libraries/**"
- "variants/**"
- "boards.txt"
- "platform.txt"
pull_request:
paths:
- ".github/workflows/compile-platform-examples.ya?ml"
- "cores/**"
- "libraries/**"
- "variants/**"
- "boards.txt"
- "platform.txt"
workflow_dispatch:
repository_dispatch:

jobs:
build:
name: ${{ matrix.board.fqbn }}
runs-on: ubuntu-latest

env:
SKETCHES_REPORTS_PATH: sketches-reports

strategy:
fail-fast: false

matrix:
board:
- fqbn: arduino:avr:yun
serial: true
softwareserial: true
- fqbn: arduino:avr:uno
serial: true
softwareserial: true
- fqbn: arduino:avr:diecimila:cpu=atmega328
serial: true
softwareserial: true
- fqbn: arduino:avr:diecimila:cpu=atmega168
serial: true
softwareserial: true
- fqbn: arduino:avr:nano:cpu=atmega328
serial: true
softwareserial: true
- fqbn: arduino:avr:nano:cpu=atmega328old
serial: true
softwareserial: true
- fqbn: arduino:avr:nano:cpu=atmega168
serial: true
softwareserial: true
- fqbn: arduino:avr:mega:cpu=atmega2560
serial: true
softwareserial: true
- fqbn: arduino:avr:mega:cpu=atmega1280
serial: true
softwareserial: true
- fqbn: arduino:avr:megaADK
serial: true
softwareserial: true
- fqbn: arduino:avr:leonardo
serial: true
softwareserial: true
- fqbn: arduino:avr:leonardoeth
serial: true
softwareserial: true
- fqbn: arduino:avr:micro
serial: true
softwareserial: true
- fqbn: arduino:avr:esplora
serial: true
softwareserial: true
- fqbn: arduino:avr:mini:cpu=atmega328
serial: true
softwareserial: true
- fqbn: arduino:avr:mini:cpu=atmega168
serial: true
softwareserial: true
- fqbn: arduino:avr:ethernet
serial: true
softwareserial: true
- fqbn: arduino:avr:fio
serial: true
softwareserial: true
- fqbn: arduino:avr:bt:cpu=atmega328
serial: true
softwareserial: true
- fqbn: arduino:avr:bt:cpu=atmega168
serial: true
softwareserial: true
- fqbn: arduino:avr:LilyPadUSB
serial: true
softwareserial: true
- fqbn: arduino:avr:lilypad:cpu=atmega328
serial: true
softwareserial: true
- fqbn: arduino:avr:lilypad:cpu=atmega168
serial: true
softwareserial: true
- fqbn: arduino:avr:pro:cpu=16MHzatmega328
serial: true
softwareserial: true
- fqbn: arduino:avr:pro:cpu=8MHzatmega328
serial: true
softwareserial: true
- fqbn: arduino:avr:pro:cpu=16MHzatmega168
serial: true
softwareserial: true
- fqbn: arduino:avr:pro:cpu=8MHzatmega168
serial: true
softwareserial: true
- fqbn: arduino:avr:atmegang:cpu=atmega168
serial: true
softwareserial: true
- fqbn: arduino:avr:atmegang:cpu=atmega8
serial: true
softwareserial: false
- fqbn: arduino:avr:robotControl
serial: true
softwareserial: false
- fqbn: arduino:avr:robotMotor
serial: true
softwareserial: false
- fqbn: arduino:avr:gemma
serial: false
softwareserial: false
- fqbn: arduino:avr:circuitplay32u4cat
serial: true
softwareserial: true
- fqbn: arduino:avr:yunmini
serial: true
softwareserial: true
- fqbn: arduino:avr:chiwawa
serial: true
softwareserial: true
- fqbn: arduino:avr:one
serial: true
softwareserial: true
- fqbn: arduino:avr:unowifi
serial: true
softwareserial: true
- fqbn: arduino:avr:unomini
serial: true
softwareserial: true

# Make board type-specific customizations to the matrix jobs
include:
- board:
# Boards with Serial interface
serial: true
# Compile these sketches in addition to the ones compiled for all boards
serial-sketch-paths: |
- libraries/EEPROM/examples/eeprom_crc
- libraries/EEPROM/examples/eeprom_get
- libraries/EEPROM/examples/eeprom_put
- libraries/EEPROM/examples/eeprom_read
- libraries/SPI
- libraries/Wire
- board:
serial: false
serial-sketch-paths: ""
- board:
# Boards compatible with the SoftwareSerial library
softwareserial: true
softwareserial-sketch-paths: |
- libraries/SoftwareSerial
- board:
softwareserial: false
softwareserial-sketch-paths: ""

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Compile examples
uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.board.fqbn }}
platforms: |
# Use Boards Manager to install the latest release of the platform to get the toolchain.
- name: arduino:avr
# Overwrite the Boards Manager installation with the platform from the repository.
- source-path: ./
name: arduino:avr
sketch-paths: |
# Compile these sketches for all boards
- libraries/EEPROM/examples/eeprom_clear
- libraries/EEPROM/examples/eeprom_iteration
- libraries/EEPROM/examples/eeprom_update
- libraries/EEPROM/examples/eeprom_write
# Board-specific sketches
${{ matrix.serial-sketch-paths }}
${{ matrix.softwareserial-sketch-paths }}
enable-deltas-report: true
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}

- name: Save sketches report as workflow artifact
uses: actions/upload-artifact@v3
with:
if-no-files-found: error
path: ${{ env.SKETCHES_REPORTS_PATH }}
name: ${{ env.SKETCHES_REPORTS_PATH }}
24 changes: 24 additions & 0 deletions .github/workflows/report-size-deltas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Report Size Deltas

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
on:
push:
paths:
- ".github/workflows/report-size-deltas.yml"
schedule:
# Run at the minimum interval allowed by GitHub Actions.
# Note: GitHub Actions periodically has outages which result in workflow failures.
# In this event, the workflows will start passing again once the service recovers.
- cron: "*/5 * * * *"
workflow_dispatch:
repository_dispatch:

jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Comment size deltas reports to PRs
uses: arduino/report-size-deltas@v1
with:
# The name of the workflow artifact created by the sketch compilation workflow
sketches-reports-source: sketches-reports
22 changes: 22 additions & 0 deletions .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Spell Check

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
on:
push:
pull_request:
schedule:
# Run every Tuesday at 8 AM UTC to catch new misspelling detections resulting from dictionary updates.
- cron: "0 8 * * TUE"
workflow_dispatch:
repository_dispatch:

jobs:
spellcheck:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Spell check
uses: codespell-project/actions-codespell@master
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Arduino AVR Boards

[![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)
[![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)
[![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)

This repository contains the source code and configuration files of the Arduino AVR Boards
[platform](https://arduino.github.io/arduino-cli/latest/platform-specification/).
Loading