Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from arduino #20

Open
wants to merge 1,409 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1409 commits
Select commit Hold shift + click to select a range
b0eb400
Merge pull request #456 from arduino/remove-genuino
facchinm Sep 20, 2019
eef7c6f
Revert "Temporarily remove mkrwan1310 from boards list"
facchinm May 31, 2019
142814a
Publish 1.8.4
facchinm Oct 9, 2019
f9521bb
Updated faulty gcc path
nmaas87 Oct 24, 2019
2ca7f75
Merge pull request #466 from nmaas87/master
facchinm Oct 24, 2019
895740f
Added I2S definitions for NANO 33 IoT
agdl Nov 27, 2019
f6faf48
Modified the nano 33 Iot variant
Rocketct Dec 9, 2019
5dced38
Merge pull request #475 from Rocketct/master
facchinm Dec 10, 2019
e538930
Enable PWM on D4
Rocketct Jan 9, 2020
663b71d
increase the current software limit to 3A in such way that the limit …
Rocketct Jan 14, 2020
ccfcc89
added SDA and SCL Variables
Rocketct Jan 15, 2020
e34e937
added define for PMIC_IRQ pin where needed
Rocketct Jan 24, 2020
fe349e4
Merge pull request #490 from Rocketct/master
facchinm Jan 24, 2020
b77f2cd
Publish 1.8.5
Rocketct Feb 4, 2020
b2fce4c
Merge pull request #471 from agdl/I2SDefinitionsNano
agdl Feb 7, 2020
2547154
fix example to support nano_33_iot
umbynos Feb 10, 2020
46a6bb9
Merge pull request #495 from Rocketct/master
facchinm Feb 10, 2020
e7b7923
Adding documentation for pinout of MKRWAN1310/SPI1
aentinger Jan 31, 2020
58dde98
Merge pull request #498 from umbynos/i2s_nano_33_iot
facchinm Feb 17, 2020
d0c2f0b
Fix comment on sd SPI MKRZERO
Rocketct Feb 18, 2020
d78ab37
Merge pull request #501 from Rocketct/master
facchinm Feb 18, 2020
e6af98a
Added gdb recipe for openocd
cmaglie Feb 17, 2020
1b07f50
add elf file to debug recipe
Feb 17, 2020
97f896a
Add support for debugger to all Arduino samd/bossac boards
Feb 18, 2020
fd074dc
Disable pagination in gdb config
Feb 20, 2020
4a74304
Refined gdb command line based on debugger tests
Feb 20, 2020
cf72acf
Add compiler.optimization_flags properties
Feb 21, 2020
f852a08
Added notice for 'alpha' features
cmaglie Feb 24, 2020
f7b24ec
Fix flash size regex
matthijskooijman Mar 4, 2020
1857cce
Add size regex for used RAM
matthijskooijman Mar 4, 2020
0ec018e
Merge pull request #503 from matthijskooijman/fix-size-regexes
facchinm Mar 4, 2020
918d0e1
Release 1.8.6
aentinger Mar 16, 2020
614a8f3
Correct MKR Vidor 4000 PB09 notes
sameer Mar 18, 2020
57d73ad
Merge pull request #505 from sameer/patch-1
facchinm Mar 19, 2020
44b6d01
Update clockout comments, add synchronization spin
sameer Mar 28, 2020
703b87e
Merge pull request #508 from sameer/master
facchinm Mar 30, 2020
d96b9b3
Set USB SRAM QoS to sensitive latency
sameer Apr 2, 2020
4587fc5
Merge pull request #509 from sameer/master
facchinm Apr 7, 2020
53fa17b
Initial commit of SFU library which allows to update a MKR board via …
aentinger Apr 15, 2020
d79c18f
Byte array SFU_BOOT[] is optimised away when defined const
aentinger Apr 15, 2020
79a7f38
Improve comments
aentinger Apr 16, 2020
ee435d5
Adding sketch for loading binary to the MKRMEM shield
aentinger Apr 16, 2020
4fe266d
Merge pull request #513 from arduino/SFU
aentinger Apr 21, 2020
9cc2ee4
Changing NONA WLAN in Nano 33 IoT
Apr 27, 2020
4d12c30
Define upload.maximum_data_size property (#517)
per1234 May 4, 2020
46f6cad
Fix crash when calling tone() with frequency 0 (#520)
adriaanb May 11, 2020
429bee8
Add timeout option to debug recipe and minor string nitpicks
Mar 19, 2020
6993d73
Add interpreter parameter
Mar 19, 2020
f68e529
Rename debug recipe in gdb-openocd and add default console value for …
Mar 20, 2020
246292f
Align debug tool in boards.txt
Mar 20, 2020
166478f
Fixed program (upload-with-programmer) recipe.
cmaglie Jun 4, 2020
6e049f7
Add section sketch_boot for nano 33 IoT
giulcioffi Jun 15, 2020
db83eb4
SFU support for OTA on SaraU210 module
Rocketct Jun 23, 2020
0a6b46e
Added file check to prevent erroneus upgrade
Rocketct Jun 23, 2020
481e54f
Add SNU (for OTA backed by NINA storage)
facchinm Jun 13, 2018
cdf7899
Use arduinoOTA 1.3.0 for MKRWiFi1010
facchinm Dec 14, 2018
05784bd
Removing all boards which have no NINA W102 module and therefore a SN…
aentinger Nov 20, 2019
ae6648a
Correcting designation for MKR VIDOR 4000 in build script
aentinger Nov 20, 2019
265b8b4
Include SNU second stage bootloader for MKR VIDOR 4000 which also has…
aentinger Nov 20, 2019
b2824ae
Adding support for Arduino Vidor 4000
aentinger Nov 20, 2019
2f6c709
Adding freshly compiled SNU binaries for WiFi 1010 and Vidor 4000
aentinger Nov 20, 2019
6467612
SNU - fixing keywords file
aentinger Nov 21, 2019
d943dcb
Limit output of binary hex dump to 16k (0x4000) bytes since thats the…
aentinger Nov 21, 2019
509cb77
Adding support for Arduino Nano 33 IoT
aentinger Apr 15, 2020
76d9208
Import SSU and add minor changes (#1)
manchoz Jun 25, 2020
f4e8cab
Added regenerated BL binary
Rocketct Jun 25, 2020
970877b
added httpota example
Rocketct Jun 29, 2020
44d354b
Merge pull request #534 from Rocketct/GSMOTA
aentinger Jun 30, 2020
761e1e6
Merge pull request #512 from arduino/SNU
aentinger Jul 1, 2020
6371be0
fix high speed communication issue
ROBOTIS-Will Jul 9, 2020
1dfca16
Adding lzss.c as provided in the public domain by Haruhiko Okumura
aentinger Jul 14, 2020
807f450
Rewriting SSUBoot to allow decompression of LZSS compressed binary fi…
aentinger Jul 15, 2020
6bff0b2
Merge pull request #544 from arduino/ssu-lzss
aentinger Jul 15, 2020
c04b8fd
Add SSU LZSS HTTP OTA example (#546)
manchoz Jul 15, 2020
3f464a0
Adding capability for decompressing LZSS compressed binaries during u…
aentinger Jul 16, 2020
13b6e68
Add SBU for MKRNB1500 - initial commit
giulcioffi Jul 9, 2020
8b23f15
Fixes to let SBUBoot always find UPDATE.OK when present
giulcioffi Jul 15, 2020
9a9d91d
Delete only files for boot
giulcioffi Jul 16, 2020
0e178fe
Adjust bin size to use sketch.ino.mkrnb1500.bin and NOT sketch.ino.wi…
giulcioffi Jul 17, 2020
c7c3746
Begin the File System withouth restarting SARA module
giulcioffi Jul 21, 2020
6e4b0ac
Wait for Serial
giulcioffi Jul 21, 2020
0f502c7
Merge pull request #549 from giulcioffi/SBU
aentinger Jul 22, 2020
8755881
Initial commit to add LZSS decompression at reboot
giulcioffi Jul 20, 2020
4544e2e
Don't use RESET_N pin (#550)
janakelarsson Jul 23, 2020
084cd95
Add SBU_LoadLZSS.ino sketch + support for LZSS encoding
giulcioffi Jul 23, 2020
c4a103c
Remove lzss files
giulcioffi Jul 24, 2020
b05f4bc
Add lzss libraries in SBUBoot for decode and SBU_LoadLZSS for encode
giulcioffi Jul 24, 2020
768d754
Cleanup lzss libraries and rename to lzssEncode inside SBU_LoadLZSS
giulcioffi Jul 24, 2020
71b410b
Merge pull request #551 from giulcioffi/sbu-lzss
aentinger Jul 24, 2020
9b8098f
Release 1.8.7
aentinger Jul 27, 2020
07471a7
Since the nina-fw OTA has been rewritten to directly download the OTA…
aentinger Aug 4, 2020
e7d39c3
Adding comment separators for better readability
aentinger Aug 4, 2020
c5033b3
Merge pull request #553 from arduino/nina-download-ota
aentinger Aug 6, 2020
68e7fa2
Perform a check of the nina fw version before performing flash update.
aentinger Aug 17, 2020
bde0785
Release SNU:v1.0.1
aentinger Aug 17, 2020
8be46b9
Merge pull request #554 from arduino/snu-check-min-version
aentinger Aug 17, 2020
f5dfda8
Fixed a typo (#533)
ashpande Aug 17, 2020
356a11a
Release 1.8.8
facchinm Aug 17, 2020
2e29c3c
Bugfix: Use correct length of LZSS compressed file for decompression/…
aentinger Sep 22, 2020
0b87b1b
Merge pull request #562 from arduino/fix-nina-lzss-length
aentinger Sep 22, 2020
2f5cb01
Extending OTA header to incorporate magic number/version field
aentinger Aug 27, 2020
af46cef
Increment SNU version number to 1.0.2
aentinger Sep 22, 2020
87dc69b
Checking header field magic number (VID/PID) for occurence of right v…
aentinger Sep 23, 2020
d81df81
Merge pull request #558 from arduino/snu-new-ota-header
aentinger Oct 1, 2020
45726bb
Fixing inaccessible individual header version member - does not chang…
aentinger Oct 2, 2020
9f92bee
Merge pull request #564 from arduino/snu-fix-inaccessible-field
aentinger Oct 2, 2020
4a64bfe
Temporary disable download via nina until the new header structure ha…
aentinger Oct 5, 2020
b9b84b6
Release 1.8.9
aentinger Oct 5, 2020
cc557a4
Add compile example for CI
giulcioffi Sep 1, 2020
2691b30
Use branch namespaced_api_Hardware of ArduinoCore-API
giulcioffi Sep 2, 2020
64f2aee
Disable size-delta-report and use arduino path for compile example step
giulcioffi Sep 2, 2020
3139e35
Use official branch of ArduinoCore-API
giulcioffi Oct 15, 2020
f7c8d00
Add MKRGSM, MKRNB, MKRWAN, WiFi101
giulcioffi Sep 2, 2020
e9e9e8b
Compile all the libraries + WiFi101 from namespaced_api branch
giulcioffi Sep 2, 2020
1a6ef45
Install ArduinoIoTCloud + dependencies from the repository instead of…
giulcioffi Sep 3, 2020
7d18af8
Install Arduino_ConnectionHandler from the repository instead of Boar…
giulcioffi Sep 3, 2020
0ed98c2
Compile LoRa library
giulcioffi Sep 3, 2020
4f861fd
Remove intallation of libraries which are dependencies of ArduinoIoTC…
giulcioffi Sep 4, 2020
c3f8a97
Compile only when a relevant file is modified
giulcioffi Sep 10, 2020
c8693a3
Remove examples from extras and add step to download them
giulcioffi Sep 10, 2020
0bff8ae
Use list mode for sketches
giulcioffi Sep 10, 2020
00dca72
Remove universal libraries entry
giulcioffi Sep 10, 2020
f2dd55a
Remove WiFiNINA step and compile its examples
giulcioffi Sep 10, 2020
2990e4c
Assign a unique type to mkrwifi1010, nano33IoT, mkrwan1310 and mkrNB1500
giulcioffi Sep 10, 2020
6db378e
Remove comments
giulcioffi Sep 10, 2020
d7d471b
Add report-size-delta action + step to upload artifact
giulcioffi Oct 15, 2020
01f3e74
Update names and paths for compile-sketches and report-size-deltas ac…
giulcioffi Oct 16, 2020
b47b2af
Add VidorPeripherals to tesk sketches for MKR Vidor
giulcioffi Nov 23, 2020
da63a92
Use master branch of library WiFi101
giulcioffi Nov 23, 2020
dbf2e79
Use new mkrgsm1400-sketch-paths for MKR GSM1400
giulcioffi Nov 23, 2020
857c994
Update inputs for upload-artifact entries
giulcioffi Nov 23, 2020
0dc7e00
Add WAN attribute to compile also examples from MKRWAN library for MK…
giulcioffi Nov 23, 2020
fb59c13
Remove redundant matrix entry for MKRNB1500
giulcioffi Nov 23, 2020
50d5867
Use release version of Keyboard library
giulcioffi Nov 23, 2020
6769704
Fix wrong core name in a comment
giulcioffi Nov 23, 2020
e62bb96
Mv ArduinoCore-API only if included inplatform
giulcioffi Nov 24, 2020
c7369ba
Merge pull request #567 from giulcioffi/CIworkflowWithAPI
aentinger Nov 25, 2020
8c2e672
Modify ArduinoCore-samd to use API
facchinm Nov 17, 2017
374131a
Fix HID porting
facchinm Nov 17, 2017
9c7635b
Initial porting of TwoWire to API
giulcioffi May 4, 2020
7cb8eec
Fix shift* functions
facchinm Nov 17, 2017
4837b90
Explicitely include itoa and friends
facchinm Nov 17, 2017
edaf6ae
Expose USBDevice object in USBAPI header
facchinm Jan 4, 2019
29f7f37
Fix Tone signature
facchinm Jan 4, 2019
9d81be6
Port to namespaced ArduinoAPI
facchinm Jan 4, 2019
2d27337
Fix min/max undefined in user sketch
facchinm Jan 28, 2019
6568acf
Port SPI to ArduinoAPI
giulcioffi Apr 10, 2020
6b9676d
Port Wire to namespaced API
facchinm Jan 28, 2019
4222d30
Modification in platform.txt to include paths with spaces
giulcioffi Apr 10, 2020
4c9c60d
Modify class Serial_ for the new PluggableUSB API
giulcioffi May 4, 2020
0a55883
Remove delay.h because in api/Common.h
giulcioffi Sep 1, 2020
9fe9901
Include dtostrf.c.impl
giulcioffi Sep 1, 2020
9e5e8fc
Undefine stdlib's abs
giulcioffi Sep 1, 2020
932329d
Remove includes to wiring_constants.h + declare missing analog functi…
giulcioffi Sep 2, 2020
28f9517
Fix arduino::RingBuffer error
giulcioffi Nov 23, 2020
458c192
Removing confusing defines due to their potential to overwrite the SP…
aentinger Nov 25, 2020
0fa5cae
Bugfix: Ensure that the initial values of member variable 'settings' …
aentinger Nov 25, 2020
25fea52
Merge pull request #560 from giulcioffi/namespaced_api
aentinger Nov 25, 2020
30e5b3f
Include samd.h instead of sam.h
matthijskooijman Aug 27, 2020
32f7ac6
Remove -Wno-expansion-to-defined
matthijskooijman Aug 27, 2020
56e13aa
Merge pull request #557 from matthijskooijman/remove-no-expansion-to-…
aentinger Nov 26, 2020
ac51448
Removed experimental debugger definitions
cmaglie Oct 13, 2020
ebac2b4
Upgrades for debugging support on arduino-cli (alpha)
cmaglie Dec 1, 2020
1d07ca4
Merge pull request #516 from luigigubello/rename_nona_wlan
aentinger Dec 10, 2020
70b6a5a
Fix requestFrom() return type for 16-bit lengths (#442)
jrowberg Dec 10, 2020
203c290
Merge pull request #572 from cmaglie/debug_take_2
aentinger Dec 10, 2020
75bc2ba
Action for core release from tag - Initial commit
giulcioffi Nov 17, 2020
19acb21
Use latest action version
giulcioffi Dec 14, 2020
8cdcc3f
Check from platform.txt if ArduinoCore-API should be integrated
giulcioffi Dec 14, 2020
96fba00
Merge pull request #573 from giulcioffi/action_core_release
aentinger Dec 14, 2020
661b128
Release v1.8.10
aentinger Dec 14, 2020
b99d2eb
Package the core with ArduinoCore-API latest release
giulcioffi Dec 14, 2020
4c15cd0
Checkout ArduinoCore-API latest tag, even without GitHub release
giulcioffi Dec 15, 2020
d5d336c
Merge pull request #574 from giulcioffi/APIintegration
aentinger Dec 15, 2020
738a0e9
Limit max SPI clock frequency to F_CPU/2
facchinm Dec 17, 2020
a110c0b
Provide irq safe implementation of RingBuffer
facchinm Dec 18, 2020
29ab27c
Use www subdomain in arduino.cc URLs
per1234 Dec 17, 2020
ad95d3c
Merge pull request #541 from ROBOTIS-Will/patch-1
facchinm Dec 18, 2020
182a28a
Merge pull request #579 from facchinm/spi_fix_maxclock
facchinm Dec 18, 2020
a0fcb66
Fix all warnings
facchinm Dec 18, 2020
07d61ea
Merge pull request #583 from facchinm/fix_warnings
facchinm Dec 22, 2020
738af17
Merge pull request #582 from facchinm/saferingbuffer
facchinm Dec 22, 2020
99711df
Add deprecated-avr-comp folder to include list
facchinm Dec 23, 2020
86cf01b
Add AceTime to compile-examples github action
facchinm Dec 23, 2020
7d69dd6
Make bootloaders check for the MCU Security Bit.
ksmith3036 Dec 23, 2020
9cb10ad
Bootloader protection of flash memory may also be turned on by settin…
ksmith3036 Dec 23, 2020
efcc5c9
To allow the MKR VIDOR 4000 loader to build to less than 8 KByte, the…
ksmith3036 Dec 23, 2020
aafa688
Sometimes an Arduino sketch needs to reset the MCU, but still wants t…
ksmith3036 Dec 23, 2020
245da70
Configure CI workflow to compile AceTime library example
per1234 Dec 23, 2020
678d57d
Merge pull request #3 from per1234/pgmspace
facchinm Dec 24, 2020
f35f157
Merge pull request #586 from ksmith3036/master
facchinm Dec 24, 2020
214c775
Merge pull request #588 from facchinm/pgmspace
facchinm Dec 24, 2020
0b60a79
Release 1.8.11
facchinm Dec 24, 2020
11dbf85
Update SERCOM.cpp
agprimatic Dec 30, 2020
f6148c3
Use authenticated API requests in "Compile Examples" CI workflow (#584)
per1234 Feb 11, 2021
6f93f9b
Pin Ace* libraries at last compatible version in CI workflow
per1234 Feb 22, 2021
a3cc04d
Don't spill arduino namespace in headers
facchinm Mar 29, 2021
ed76cf5
Merge pull request #607 from per1234/pin-ace-libs
facchinm Mar 29, 2021
f99e452
Fix compiler warning from useless volatile
henrygab Mar 29, 2021
34ead75
Disable verbose output in sketch compilation CI logs
per1234 Apr 1, 2021
eb0a10a
Merge pull request #617 from per1234/non-verbose-ci
facchinm Apr 1, 2021
9d55719
SafeRingBuffer.h: Prevent compiler warning about reaching end of non-…
bxparks Apr 2, 2021
d681383
Use established KEYWORD_TOKENTYPE for global instance keywords
per1234 Apr 4, 2021
7f72619
Document SAMD_AnalogCorrection library's 12 bit resolution requirement
per1234 Apr 5, 2021
cfa2899
Merge pull request #618 from bxparks/saferingbuffer
facchinm Apr 6, 2021
d1ac732
Merge pull request #619 from per1234/fix-keywords
facchinm Apr 6, 2021
af726a7
Merge pull request #613 from henrygab/patch-4
facchinm Apr 6, 2021
9f91acc
Merge pull request #612 from facchinm/no_forced_namespace
facchinm Apr 6, 2021
aa21f4f
SPI: restore 12MHz as maximum frequency
facchinm Apr 7, 2021
b73c582
Fix naming in comments.
JDuchniewicz May 21, 2021
52b4a2d
Restructure programmers by removing hardcoded build.openocdscript
facchinm Jun 23, 2021
b49b07f
add architecture specific flag to compiler.S.flags
xiongyu0523 Jul 31, 2021
eb27f47
Merge pull request #642 from xiongyu0523/improve-gcc-flag-for-s
facchinm Aug 2, 2021
678e3ff
UART: restore default buffer size to 256 bytes
facchinm Oct 18, 2021
b0ba1ee
fix Serial.flush() blocks forever #597
Oct 18, 2021
96ce5f9
Remove AceTime from CI compile-examples
facchinm Oct 18, 2021
1fe47dc
Merge pull request #636 from facchinm/restructure_programmers
facchinm Oct 20, 2021
5c3f7f3
Merge pull request #629 from JDuchniewicz/nano_pin_fix
facchinm Oct 20, 2021
1a7d8d0
Merge pull request #622 from facchinm/spi_divider
facchinm Oct 20, 2021
a38aba7
Merge pull request #591 from agprimatic/master
facchinm Oct 20, 2021
dda98e5
Merge pull request #620 from per1234/improve-SAMD_AnalogCorrection-docs
facchinm Oct 20, 2021
3b9a5e7
Merge pull request #651 from facchinm/uart_ringbuffer_256
facchinm Oct 20, 2021
a5d52db
Merge pull request #652 from facchinm/fix_flush_locks_on_startup
facchinm Oct 20, 2021
39f483e
Added rules for pluggable discoveries and monitor (#648)
cmaglie Oct 20, 2021
000db0c
SPI: allow inheritance from SPIClass
facchinm Nov 9, 2021
beffd08
Release 1.8.12
facchinm Nov 9, 2021
2d1fb48
Add AWS_REGION env variable to fix deploy
facchinm Nov 9, 2021
719d9c6
Remove programmer properties from openocd upload pattern
per1234 Nov 28, 2021
70c7125
Merge pull request #655 from per1234/fix-openocd-upload-pattern
facchinm Nov 29, 2021
e163544
Fix legacy upload.network_pattern rules
silvanocerza Nov 30, 2021
104f07f
Merge pull request #656 from arduino/scerza/fix-java-ide-network-upload
silvanocerza Dec 1, 2021
7e2d627
Make SerialCDC inherit from HardwareSerial
facchinm Dec 3, 2021
ed21e12
Create LICENSE
alranel Feb 8, 2022
b2102c8
Fix USBDevice.connected()
pillilz Feb 18, 2022
86d2463
Merge pull request #664 from pillilz/master
facchinm Feb 22, 2022
dc99cd2
Merge pull request #657 from facchinm/serial_cdc_inherit_hardwarserial
facchinm Feb 22, 2022
3fd369e
Update HID.h with report types (#602)
Spegs21 Feb 22, 2022
5ae2f68
Release 1.8.13
facchinm Feb 23, 2022
b52412e
Fixed Serial_::begin(..) definition to match arduino::HardwareSerial
cmaglie Jun 8, 2022
8983308
Document how to add the required link to ArduinoCore-API. (#676)
aentinger Aug 8, 2022
84e222f
Update I2S.cpp to work with RTCZero library
Khosos Jan 21, 2023
26f2d48
Merge pull request #692 from Khosos/patch-1
facchinm Jan 23, 2023
afeba43
Updated naming of MKR boards
jhansson-ard Feb 20, 2023
db94399
Updated naming of boards
jhansson-ard Feb 20, 2023
b0f7110
Merge pull request #696 from jhansson-ard/patch-2
facchinm Feb 24, 2023
84c09b3
Merge pull request #695 from jhansson-ard/patch-1
facchinm Feb 24, 2023
73ab098
Merge branch 'mysensors:master' into master
tbowmo Jul 4, 2023
ea65fa9
Merge remote-tracking branch 'arduino/master' into updateFromArduino
Jul 4, 2023
76cfd18
Bump version
Jul 6, 2023
e9c3ce7
Update workflow
Jul 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
254 changes: 254 additions & 0 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
name: Compile Examples

on:
pull_request:
paths:
- ".github/workflows/compile-examples.yml"
- "cores/**"
- "libraries/**"
- "variants/**"
- "boards.txt"
- "platform.txt"
push:
paths:
- ".github/workflows/compile-examples.yml"
- "cores/**"
- "libraries/**"
- "variants/**"
- "boards.txt"
- "platform.txt"

jobs:
compile-test:
runs-on: ubuntu-latest

env:
# sketch paths to compile (recursive) for all boards
UNIVERSAL_SKETCH_PATHS: |
- extras/examples
- libraries/Wire
- libraries/USBHost
- libraries/SPI
- libraries/SFU/examples/SFU_LoadBinary
- libraries/SAMD_AnalogCorrection
- ~/Arduino/libraries/Servo/examples
- ~/Arduino/libraries/LiquidCrystal/examples
- ~/Arduino/libraries/Ethernet/examples
- ~/Arduino/libraries/SD/examples
- ~/Arduino/libraries/WiFi/examples
- ~/Arduino/libraries/Arduino_LSM9DS1/examples
- ~/Arduino/libraries/Arduino_JSON/examples
- ~/Arduino/libraries/MFRC522/examples/ChangeUID
- ~/Arduino/libraries/MFRC522/examples/DumpInfo
- ~/Arduino/libraries/MFRC522/examples/FixBrickedUID
- ~/Arduino/libraries/MFRC522/examples/MifareClassicValueBlock
- ~/Arduino/libraries/MFRC522/examples/MinimalInterrupt
- ~/Arduino/libraries/MFRC522/examples/Ntag216_AUTH
- ~/Arduino/libraries/MFRC522/examples/RFID-Cloner
- ~/Arduino/libraries/MFRC522/examples/ReadAndWrite
- ~/Arduino/libraries/MFRC522/examples/ReadNUID
- ~/Arduino/libraries/MFRC522/examples/ReadUidMultiReader
- ~/Arduino/libraries/MFRC522/examples/firmware_check
- ~/Arduino/libraries/MFRC522/examples/rfid_default_keys
- ~/Arduino/libraries/MFRC522/examples/rfid_read_personal_data
- ~/Arduino/libraries/MFRC522/examples/rfid_write_personal_data
- ~/Arduino/libraries/WiFi101/examples

strategy:
fail-fast: false

matrix:
board: [
{"fqbn": "mysensors:samd:mysensors_gw_native", "type": "usb", "WAN": "false"},
]

# make board type-specific customizations to the matrix jobs
include:
# Normal USB boards with all the general libraries
- board:
type: "usb"
additional-sketch-paths: |
- ~/Arduino/libraries/Firmata/examples/StandardFirmataPlus
- ~/Arduino/libraries/Firmata/examples/StandardFirmataEthernet
- ~/Arduino/libraries/Firmata/examples/StandardFirmata
- ~/Arduino/libraries/Firmata/examples/SimpleDigitalFirmata
- ~/Arduino/libraries/Firmata/examples/SimpleAnalogFirmata
- ~/Arduino/libraries/Firmata/examples/ServoFirmata
- ~/Arduino/libraries/Firmata/examples/EchoString
- ~/Arduino/libraries/Firmata/examples/AnalogFirmata
- ~/Arduino/libraries/Firmata/examples/AllInputsFirmata
- libraries/I2S/examples
- libraries/SDU/examples
# Vidor board
- board:
type: "vidor"
additional-sketch-paths: |
- libraries/SAMD_BootloaderUpdater/examples
- libraries/I2S/examples
- ~/Arduino/libraries/VidorPeripherals/examples
# mkrwifi1010
- board:
type: "mkrWiFi1010"
additional-sketch-paths: |
- libraries/I2S/examples
- libraries/SDU/examples
- ~/Arduino/libraries/WiFiNINA/examples
# mkrnb1500 boards
- board:
type: "mkrNB1500"
additional-sketch-paths: |
- libraries/I2S/examples
- libraries/SDU/examples
- ~/Arduino/libraries/MKRNB/examples
# nano_33_iot
- board:
type: "nano33IoT"
additional-sketch-paths: |
- libraries/I2S/examples
- ~/Arduino/libraries/WiFiNINA/examples
# mkrwan1310
- board:
type: "mkrwan1310"
additional-sketch-paths: |
- libraries/I2S/examples
# adafruit_cicrcuitplayground board
- board:
type: "adafruit_playg"
additional-sketch-paths: |
- libraries/SDU/examples
# mzero boards
- board:
type: "mzero"
additional-sketch-paths: |
- ~/Arduino/libraries/Firmata/examples/StandardFirmataPlus
- ~/Arduino/libraries/Firmata/examples/StandardFirmataEthernet
- ~/Arduino/libraries/Firmata/examples/StandardFirmata
- ~/Arduino/libraries/Firmata/examples/SimpleDigitalFirmata
- ~/Arduino/libraries/Firmata/examples/SimpleAnalogFirmata
- ~/Arduino/libraries/Firmata/examples/ServoFirmata
- ~/Arduino/libraries/Firmata/examples/EchoString
- ~/Arduino/libraries/Firmata/examples/AnalogFirmata
- ~/Arduino/libraries/Firmata/examples/AllInputsFirmata
- libraries/SDU/examples
# tian board
- board:
type: "tian"
additional-sketch-paths: |
- ~/Arduino/libraries/Firmata/examples/StandardFirmataPlus
- ~/Arduino/libraries/Firmata/examples/StandardFirmataEthernet
- ~/Arduino/libraries/Firmata/examples/StandardFirmata
- ~/Arduino/libraries/Firmata/examples/SimpleDigitalFirmata
- ~/Arduino/libraries/Firmata/examples/SimpleAnalogFirmata
- ~/Arduino/libraries/Firmata/examples/ServoFirmata
- ~/Arduino/libraries/Firmata/examples/EchoString
- ~/Arduino/libraries/Firmata/examples/AnalogFirmata
- ~/Arduino/libraries/Firmata/examples/AllInputsFirmata
# MKRGSM1400 board
- board:
fqbn: "arduino:samd:mkrgsm1400"
mkrgsm1400-sketch-paths: |
- ~/Arduino/libraries/MKRGSM/examples
# MKRWAN board
- board:
WAN: "true"
wan-sketch-paths: |
- ~/Arduino/libraries/MKRWAN/examples

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

# The source files are in a subfolder of the ArduinoCore-API repository, so it's not possible to clone it directly to the final destination in the core
- name: Checkout ArduinoCore-API
uses: actions/checkout@v2
with:
repository: arduino/ArduinoCore-API
path: extras/ArduinoCore-API

- name: Check if API should be compiled in the core
id: checkapi
run: |
if [[ $(grep -r api platform.txt) ]]; then echo "::set-output name=IS_API::true"; fi

- name: Install ArduinoCore-API
run: mv "$GITHUB_WORKSPACE/extras/ArduinoCore-API/api" "$GITHUB_WORKSPACE/cores/arduino"
if: steps.checkapi.outputs.IS_API == 'true'

- name: Checkout Basic examples
uses: actions/checkout@v2
with:
repository: arduino/arduino-examples
path: extras

- name: Compile examples
uses: arduino/compile-sketches@main
with:
fqbn: ${{ matrix.board.fqbn }}
libraries: |
- source-url: https://github.com/arduino-libraries/WiFi101.git
- name: MFRC522
- name: Arduino_MKRMEM
- name: FlashStorage
- name: Keyboard
- name: Mouse
- name: Servo
- name: LiquidCrystal
- name: CapacitiveSensor
- name: Ethernet
- name: ArduinoBearSSL
- name: Arduino_APDS9960
- name: Arduino_LSM9DS1
- name: ArduinoHttpClient
- name: NTPClient
- name: TFT
- name: ArduinoMqttClient
- name: Arduino_CRC32
- name: Arduino_LSM6DS3
- name: Stepper
- name: SD
- name: Arduino_JSON
- name: Arduino_HTS221
- name: Firmata
- name: ArduinoMotorCarrier
- name: ArduinoCloudThing
- name: Arduino_DebugUtils
- name: WiFi Link
- name: Arduino_LPS22HB
- name: CTC GO MOTIONS
- name: ArduinoModbus
- name: ArduinoIoTCloudBearSSL
- name: ArduinoDMX
- name: ArduinoRS485
- name: Arduino_OAuth
- name: CTC GO CORE
- name: WiFi
- name: Bridge
- name: Temboo
- name: ArduinoIoTCloud
- name: Madgwick
- name: MKRGSM
- name: MKRNB
- name: LoRa
- name: MKRWAN
- name: WiFiNINA
- source-url: https://github.com/vidor-libraries/VidorPeripherals.git
platforms: |
# Use Board Manager to install the latest release of Arduino SAMD Boards to get the toolchain
- name: "arduino:samd"
# Overwrite the Board Manager installation with the local platform
- source-path: "./"
name: "arduino:samd"
sketch-paths: |
${{ env.UNIVERSAL_SKETCH_PATHS }}
${{ matrix.additional-sketch-paths }}
${{ matrix.mkrgsm1400-sketch-paths }}
${{ matrix.wan-sketch-paths }}
enable-deltas-report: 'true'
verbose: 'false'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Save memory usage change report as artifact
uses: actions/upload-artifact@v1
with:
name: sketches-reports
path: sketches-reports
108 changes: 108 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: release

on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+*"

jobs:
core-pre-release-from-tag:
runs-on: ubuntu-latest

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

- name: Checkout ArduinoCore-API
uses: actions/checkout@v2
with:
repository: arduino/ArduinoCore-API
path: extras/ArduinoCore-API

- name: Check if API should be compiled in the core
id: checkapi
run: |
if [[ $(grep -r api platform.txt) ]]; then echo "::set-output name=IS_API::true"; fi

- name: Checkout latest tag of ArduinoCore-API and add it to the core
run: |
cd extras/ArduinoCore-API
git fetch --tags
git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
cd ../..
mv "$GITHUB_WORKSPACE/extras/ArduinoCore-API/api" "$GITHUB_WORKSPACE/cores/arduino"
if: steps.checkapi.outputs.IS_API == 'true'

- name: Remove ArduinoCore-API
run: rm -r "$GITHUB_WORKSPACE/extras/ArduinoCore-API"

- name: Set env
run: echo "TAG_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Get repo name
run: echo "REPOSITORY_NAME=$(echo ${{ github.repository }} | cut -d "/" -f2-)" >> $GITHUB_ENV

- name: Package the new core
run: |
extras/pack.release.bash $TAG_VERSION $REPOSITORY_NAME
cd extras
mkdir staging
echo $PWD
mv ../*.json staging/
mv ../*.tar.bz2 staging/
cd ..

- name: Get architecture name
run: |
echo "ARCHITECTURE=$(cat extras/package_index.json.NewTag.template | jq ".packages[0].platforms[0].architecture" | sed 's/\"//g')" >> $GITHUB_ENV

- name: Upload package_*_index.json and *.tar.bz2 file to Arduino downloads servers
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "us-east-1" # or https://github.com/aws/aws-cli/issues/5623
run: |
aws s3 sync extras/staging/ s3://${{ secrets.ARDUINO_DOWNLOADS_BUCKET }}/packages/staging/ --exclude "*" --include *.json
aws s3 sync extras/staging/ s3://${{ secrets.ARDUINO_DOWNLOADS_BUCKET }}/cores/staging/ --exclude "*" --include *.tar.bz2

- name: Checkout Basic examples
uses: actions/checkout@v2
with:
repository: arduino/arduino-examples
path: extras/arduino-examples

- name: Install Arduino CLI
uses: arduino/[email protected]
with:
version: "0.14.0"

- name: Download and verify new core
run: |
export PATH=$PATH:$PWD
arduino-cli version
cp extras/staging/package_${REPOSITORY_NAME}_${TAG_VERSION}_index.json .
export ARDUINO_DIRECTORIES_DATA=$PWD
export ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS=file://$PWD/package_${REPOSITORY_NAME}_${TAG_VERSION}_index.json
arduino-cli config init
arduino-cli config dump -v
arduino-cli core update-index -v
arduino-cli core install arduino:${ARCHITECTURE}@${TAG_VERSION}
INDEX=0
arduino-cli board listall --format=json > boardlist.json
N=$(jq '.boards | length' boardlist.json)
let N=N-1
echo $N
for INDEX in $(seq 0 1 $N); do arduino-cli compile --fqbn $(cat boardlist.json | jq ".boards[$INDEX].FQBN" | sed 's/\"//g') $PWD/extras/arduino-examples/examples/01.Basics/Blink; done

# See: https://github.com/rtCamp/action-slack-notify
- name: Slack notification of core pre-release
uses: rtCamp/[email protected]
env:
SLACK_CHANNEL: core_releases
SLACK_COLOR: good
SLACK_USERNAME: ArduinoBot
SLACK_ICON: https://github.com/arduino.png?size=48
SLACK_TITLE: Arduino core pre-release
SLACK_MESSAGE: 'Version ${{ env.TAG_VERSION }} of core ${{ env.REPOSITORY_NAME }} is now available'
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
MSG_MINIMAL: true
13 changes: 13 additions & 0 deletions .github/workflows/report-size-deltas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Report PR Size Deltas

on:
schedule:
- cron: '*/5 * * * *'

jobs:
report:
runs-on: ubuntu-latest

steps:
- name: Comment size deltas reports to PRs
uses: arduino/report-size-deltas@main
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
*.bak
*~
*~
*.bz2

bootloaders/*/build/
Loading