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

Itsy M0, Hallowing: add A12 pin for PrettyPins generator #628

Open
wants to merge 977 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
977 commits
Select commit Hold shift + click to select a range
52ea598
Merge pull request #171 from kaysievers/platform-usb-power
ladyada Aug 26, 2019
9417d79
tinyusb: Allow to set the USB manufacturer/product identifiers
kaysievers Aug 27, 2019
dcd4e5b
tinyusb: Allow to replace the built-in descriptor buffer
kaysievers Aug 27, 2019
3591f28
Enable TC6 & TC7 for __SAMD21J18A__
nekuneko Aug 28, 2019
256bc5a
Added Additonal Timers
nekuneko Aug 28, 2019
29c27b6
Merge pull request #174 from nekuneko/patch-2
ladyada Aug 28, 2019
ef4072f
Merge pull request #175 from nekuneko/patch-3
ladyada Aug 28, 2019
04eb7d1
Merge pull request #173 from kaysievers/tinyusb-descriptor-size
hathach Sep 1, 2019
c4f3490
Merge pull request #172 from kaysievers/usb-names-override
hathach Sep 10, 2019
7c02454
added set/get LanguageDescriptor
hathach Sep 10, 2019
f739f3c
Merge pull request #177 from hathach/master
hathach Sep 10, 2019
e5b45ed
clean up
hathach Sep 10, 2019
e5af75a
tinyusb: MIDI - split descriptor initializer into individual sections
kaysievers Sep 11, 2019
a09d821
Change references from A0 & A1 to DAC0 & DAC1
nekuneko Sep 19, 2019
918379d
Merge pull request #180 from nekuneko/patch-1
ladyada Sep 20, 2019
2cc8b49
Merge pull request #179 from kaysievers/tinyusb-midi-jacks
hathach Oct 4, 2019
bb4b17b
Merge remote-tracking branch 'adafruit/master'
hathach Oct 4, 2019
9a6ab51
remove serial1
Oct 4, 2019
ec12be5
Merge branch 'master' of github.com:adafruit/ArduinoCore-samd
Oct 4, 2019
4bcbaa7
fix typo from contrib
Oct 4, 2019
e204bf3
add samd51-capable servo for now
Oct 4, 2019
1e9a669
change Tone on samd51 to be TC0 so we can use higher numbers for othe…
Oct 4, 2019
1efed72
bump to add new boards, fix servo and tone
Oct 4, 2019
a6e9eb3
experiment with a bandgap analog read (not working)
ladyada Oct 7, 2019
6076e22
allow PDM mic on SPI
ladyada Oct 16, 2019
ceccc25
change backlight to tcc4 so it doesnt collide with servo
ladyada Oct 17, 2019
841a1b8
use arduino-api for min/max
ladyada Oct 28, 2019
ee9df54
fix min/max macros
ladyada Oct 28, 2019
1ab7cb6
force using 2017 toolchain (instead of 2014)
ladyada Oct 28, 2019
c7c1748
Merge remote-tracking branch 'adafruit/master'
hathach Oct 29, 2019
e72343c
Add the SAMD51s 4 i2c interrupts to ensure slave support
JordanMajd Oct 31, 2019
4dbfc24
I2C slave support for Trellis M4, temporarily disables UART Serial 1
JordanMajd Oct 31, 2019
3ed74de
I2C slave support for Feather M4
JordanMajd Oct 31, 2019
efd2961
I2C slave support for Grand Central M4
JordanMajd Oct 31, 2019
74cfc24
I2C slave support for Hallowing M4
JordanMajd Oct 31, 2019
0897920
I2C slave support for Metro M4
JordanMajd Oct 31, 2019
3202e77
I2C slave support for Metro Airlift M4
JordanMajd Oct 31, 2019
84cef9a
I2C slave support for Pybadge Airlift M4
JordanMajd Oct 31, 2019
43e7bd8
I2C slave support for Pybadge M4
JordanMajd Oct 31, 2019
ccd2ef9
I2C slave support for PyGamer Advance M4
JordanMajd Oct 31, 2019
684811d
I2C slave support for PyGamer M4
JordanMajd Oct 31, 2019
8368e5f
Update endif macro comment to reflect macro
JordanMajd Oct 31, 2019
bc5fcc0
I2C slave support for Pyportal M4
JordanMajd Oct 31, 2019
7a60a36
I2C slave support for Pyportal Titano M4
JordanMajd Oct 31, 2019
04a2dd8
Preserve original formatting on base sercom handler
JordanMajd Oct 31, 2019
2b052e1
Reenable Serial1 sercom int handlers, disable Wire i2c slave int hand…
JordanMajd Oct 31, 2019
feb846a
add monster m4sk too
ladyada Nov 3, 2019
6be0d1f
Merge branch 'JordanMajd-patch_samd51_i2c_slave'
ladyada Nov 3, 2019
9df0b07
fix i2c for peripheral use thanks to https://github.com/adafruit/Ardu…
ladyada Nov 3, 2019
a2c0a5b
SAMD21: Fix freq clipping in SPI.h, allow 24 MHz SPI
PaintYourDragon Nov 4, 2019
361481d
Merge pull request #186 from adafruit/baud-fix
ladyada Nov 4, 2019
7f3211f
tinyusb: Correct descriptor string length calculation
kaysievers Nov 19, 2019
5f68c65
Merge pull request #182 from kaysievers/tinyusb-descriptor-len
hathach Nov 19, 2019
6630fe7
@hathach Arduino core now wants size_t returned
ladyada Dec 11, 2019
516cec5
Merge branch 'master' of github.com:adafruit/ArduinoCore-samd
ladyada Dec 11, 2019
4cca5de
Merge remote-tracking branch 'adafruit/master'
hathach Dec 18, 2019
dfac9e8
move tinyusb core & cdc to submodule
hathach Dec 19, 2019
2bb0a7a
tinyusb submodule work well
hathach Dec 19, 2019
a346cf7
implement detach/attach
hathach Dec 19, 2019
b92b61b
refactor load_serial_number() to Adafruit_USBD_Device::getSerialDescr…
hathach Dec 19, 2019
4f8ccb1
move yield() to main.cpp
hathach Dec 19, 2019
dd19013
rename Adafruit_TinyUSB_Core.cpp to Adafruit_TinyUSB_SAMD.cpp
hathach Dec 19, 2019
bffd304
clean up
hathach Dec 19, 2019
21b3e13
update tinyusb core
hathach Dec 20, 2019
f996c94
clean up
hathach Dec 20, 2019
1941e17
Merge pull request #190 from hathach/develop
ladyada Dec 20, 2019
31fc54d
added option to debug tinyusb with Serial1
hathach Dec 24, 2019
861fec5
update tinyusb core
hathach Dec 24, 2019
b1a7975
Merge pull request #192 from hathach/develop
hathach Dec 24, 2019
2179f63
tinyusb core: improve setup handling
hathach Dec 25, 2019
1dcf3c5
Merge pull request #193 from hathach/develop
hathach Dec 25, 2019
8e3c4bc
improve tinyusb samd driver
hathach Dec 26, 2019
2ca9dfd
update tinyusb core
hathach Dec 27, 2019
2bf2a37
Merge pull request #194 from hathach/develop
hathach Dec 27, 2019
99f1fa3
Removing _dacResolution for no-__SAMD51__ (variable not used)
Dec 29, 2019
32e5394
Increase version for release
hathach Dec 30, 2019
fc737be
revert 6630fe7cc0b5a393a54e6c6df20682685a91fb4c availableForWrite() r…
hathach Dec 31, 2019
18b64d4
Merge pull request #199 from hathach/develop
hathach Dec 31, 2019
137c0bd
increase version to 1.5.9 for release
hathach Dec 31, 2019
411cfa6
test metro_m0 build
hathach Jan 2, 2020
90c0b48
add build all script
hathach Jan 2, 2020
1595e2f
update lib deps
hathach Jan 2, 2020
9d9b509
add metro_m4 test
hathach Jan 2, 2020
c53c443
build most of adafruit samd boards
hathach Jan 2, 2020
bab8b92
add skip file
hathach Jan 2, 2020
2cc7f72
drop monster_m4sk
hathach Jan 2, 2020
f2a2126
add action badge to readme
hathach Jan 2, 2020
c14e078
Merge pull request #200 from hathach/action-ci
ladyada Jan 2, 2020
ed2dded
fix https://github.com/adafruit/ArduinoCore-samd/issues/187
ladyada Jan 7, 2020
4cc3251
Merge branch 'master' of github.com:adafruit/ArduinoCore-samd
ladyada Jan 7, 2020
460b1c2
Force linker to use newer Arduino-provided versions of libarm_cortexM…
rlcamp Jan 7, 2020
1df7e52
add math linker test!
ladyada Jan 7, 2020
34013bf
Update boards.txt
rlcamp Jan 7, 2020
330cb4e
Merge pull request #202 from rlcamp/master
ladyada Jan 7, 2020
70d3c1d
Fix warnings about redefinition of `LITTLE_ENDIAN`
henrygab Jan 17, 2020
52c988f
Mark unused parameters as such.
henrygab Jan 17, 2020
8afd052
Fix unintended fall-through
henrygab Jan 17, 2020
bee96c4
Merge pull request #206 from henrygab/fix_compile_warnings
ladyada Jan 17, 2020
cb97944
Can we mark jobs as allowed to fail?
henrygab Jan 17, 2020
622d9f6
re-enable builds with all warnings
henrygab Jan 17, 2020
155cbc5
Friendlier name for -Wall build
henrygab Jan 17, 2020
9ab68e1
avoid warnings on unused parameter
henrygab Jan 17, 2020
4f80972
cast to uint32_t to avoid compiler warning
henrygab Jan 17, 2020
d5935a8
remove 'unused parameter' compiler warning
henrygab Jan 17, 2020
3253d46
Avoid unused parameter compiler warnings
henrygab Jan 17, 2020
a2dd861
Avoid signed/unsigned comparison warning.
henrygab Jan 17, 2020
4276526
Avoid compiler warning for unused parameter
henrygab Jan 17, 2020
e1e7b37
Disable `-Wimplicit-fallthrough` for these two files.
henrygab Jan 17, 2020
1a89b14
Enhance warning output.
henrygab Jan 17, 2020
5cbfd74
TEST: Is `LITTLE_ENDIAN` already properly defined?
henrygab Jan 17, 2020
c68c0b1
Disable `-Wimplicit-fallthrough` in sections
henrygab Jan 17, 2020
12c4506
Improve variant compliance
henrygab Jan 17, 2020
6be9163
add flash definitions
ladyada Feb 2, 2020
b09a926
& circuitplay too!
ladyada Feb 2, 2020
f55ecad
Merge pull request #210 from adafruit/flashdefines
hathach Feb 3, 2020
b13e6c6
Update platform.txt
hathach Feb 3, 2020
a5271b3
Update total pins
GMagician Feb 8, 2020
5b24029
Merge pull request #211 from GMagician/Fix-AGCM4-total-pins
ladyada Feb 9, 2020
bfba981
add fake CI_Tests.h header to make Arduino happy
hathach Feb 11, 2020
18e455f
Merge pull request #214 from hathach/fix-CI_Tests-warning
ladyada Feb 11, 2020
aa21fb1
increase version 1.5.11 for release
hathach Feb 26, 2020
1112d77
less warnings on featherM0
d-a-v Mar 5, 2020
bf24e95
Merge pull request #217 from d-a-v/wless
ladyada Mar 5, 2020
f564235
update tinyusb core and samd port
hathach Apr 21, 2020
72ebc1a
sync with tinyusb commit 1d33aa9
hathach Apr 21, 2020
aa97921
tinyusb: MIDI - Increase buffer size
kaysievers Apr 21, 2020
6c2a982
Merge pull request #222 from versioduo/midi-buffer-size
hathach Apr 22, 2020
a45b5c5
Merge pull request #221 from hathach/update-tinyusb
hathach Apr 22, 2020
d56901d
increase version to release 1.5.12
hathach Apr 22, 2020
159ae8e
Update TinyUSB to commit c59fa77 due to a bug in the stack
hathach Apr 23, 2020
d60ec0f
Merge pull request #224 from hathach/release-.1.5.13
hathach Apr 23, 2020
6d6e5b1
fix incorrect USB IRQ typo for samd
hathach May 4, 2020
e607c3d
Merge pull request #226 from hathach/fix-samd21-usb
hathach May 4, 2020
52d793e
release 1.5.14
hathach May 4, 2020
dad77cd
add SERCOM patch from arduino SAMD core
prototypicalpro May 29, 2020
bdf0c84
Merge pull request #227 from OPEnSLab-OSU/master
ladyada May 29, 2020
fdddb19
add BLE uart test support
ladyada Jun 23, 2020
ff82b73
remove gcc 7-2017q4 specific
hathach Jul 5, 2020
00a863c
update tinyusb to 0749077
hathach Jul 5, 2020
246c75a
bump up version for 1.5.15
hathach Jul 5, 2020
290f3d6
update cmsis from 4.5.0 to 5.4.0
hathach Jul 6, 2020
53c92d4
Increase version to 1.6.0 per review
hathach Jul 7, 2020
196a29f
Merge pull request #232 from hathach/update-toolchain-cmsis
hathach Jul 7, 2020
2569103
move test_cmsis_fast_rfft example to its own folder to fix ci build
hathach Jul 13, 2020
4b669ea
Merge pull request #235 from hathach/fix-ci-build
ladyada Jul 13, 2020
50f9be1
increase 1.6.1 for release
hathach Jul 21, 2020
57db4d7
Fix external pin interrupt definitions for Feather M4
NanoCodeBug Jul 22, 2020
2555c2d
sync with Adafruit_TinyUSB_ArduinoCore commit 238a5c0b95fcd402d24524c…
hathach Jul 23, 2020
4141fce
Merge pull request #241 from adafruit/sync-tinyusb-238a5c0b95fcd402d2…
hathach Jul 23, 2020
3f0f35f
Merge pull request #239 from NanoCodeBug/patch-1
hathach Jul 24, 2020
860bc6c
fix EXTINT for PA4 and PA6
hathach Jul 24, 2020
76f0206
fix all other incorrect EXTINT
hathach Jul 24, 2020
d9e9508
Merge pull request #242 from adafruit/fix-extint-m4
hathach Jul 24, 2020
0947169
add blm badge
ladyada Jul 25, 2020
b1572ce
Enable Interrupt #8 on Pin PORTA28 (GPIO2)
nekuneko Jul 27, 2020
ea9f1a5
Merge pull request #243 from nekuneko/patch-1
ladyada Jul 27, 2020
00dd2e0
Per @hathach request
henrygab Aug 4, 2020
25a5789
Merge branch 'master' into fix_compile_warnings3
henrygab Aug 4, 2020
a2801a1
fix tab/space mixtures -- whitespace only change
henrygab Aug 4, 2020
77321a6
Merge branch 'fix_compile_warnings3' of https://github.com/henrygab/A…
henrygab Aug 4, 2020
eb3c114
Revert "TEST: Is `LITTLE_ENDIAN` already properly defined?"
henrygab Aug 5, 2020
adc0866
Hathach doesn't like attributes on parameters
henrygab Aug 5, 2020
528a25e
@hathach is uncomfortable with attributes on function parameters
henrygab Aug 6, 2020
134ebe7
typo - missing semicolon
henrygab Aug 6, 2020
55a9930
reduce affected area of diagnostic push/pop
henrygab Aug 7, 2020
66b0a74
Use FIXME instead of BUGBUG
henrygab Aug 10, 2020
fd40287
Merge pull request #207 from henrygab/fix_compile_warnings3
hathach Aug 10, 2020
420b9a8
Small SPI lib fix, add SWO pin to variant header
PaintYourDragon Aug 19, 2020
94e908c
Merge branch 'master' into unusedvariable
hathach Aug 20, 2020
37a6ab9
Merge pull request #196 from ulysse314/unusedvariable
hathach Aug 20, 2020
1e92424
Obscure SPI DMA bug fixed. Also, big non-blocking transfers supported.
PaintYourDragon Aug 21, 2020
aa5fa81
use TC1 for servo, TC0 for tone for samd51
hathach Aug 28, 2020
83b63b1
Merge pull request #257 from adafruit/fix-tone
hathach Aug 28, 2020
1264ec6
Merge branch 'master' into matrixportal
ladyada Aug 29, 2020
731adc7
add variant
ladyada Aug 29, 2020
66097a8
add fake LED
ladyada Aug 30, 2020
1ba7379
add blm badge
ladyada Jul 25, 2020
d1c52f2
Merge pull request #258 from adafruit/blmbadge
ladyada Aug 30, 2020
287d079
Merge remote-tracking branch 'origin/master' into matrixportal
ladyada Aug 30, 2020
9827155
oof bad merge
ladyada Aug 30, 2020
c044ba3
add bootloader
ladyada Aug 31, 2020
8d3b49b
Merge pull request #259 from adafruit/matrixportal
ladyada Sep 4, 2020
9ba4e98
Increase version for release 1.6.2
hathach Sep 8, 2020
028ca90
rev A variant
ladyada Sep 12, 2020
28cbc71
test external SPI flash + I2S
ladyada Sep 13, 2020
bdf5ac8
fix some pin numbers so that there's an LED on pin 13
ladyada Sep 13, 2020
a0d7cfd
update tinyusb core to commit 0328bd4c134d05b4bb0472e0db918153f4dd15dd
hathach Sep 15, 2020
4888cdc
update tinyusb core to commit e7b892095f2bb5d8bef6a748238369bdd268ed5e
hathach Sep 15, 2020
814a352
Avoiding unused parameter warning for dmaDoNothingCallback()
Sep 15, 2020
e6c07cc
Merge pull request #263 from ulysse314/adafruit-master
ladyada Sep 15, 2020
6a59e83
Merge pull request #262 from adafruit/update-tinyusb
hathach Sep 15, 2020
fad2d91
increase serial buffer (helps with bno08x uart!)
ladyada Sep 19, 2020
a029d61
Merge branch 'master' of github.com:adafruit/ArduinoCore-samd
ladyada Sep 19, 2020
bdd8ee9
rev C complete!
ladyada Sep 23, 2020
4a5f9f7
add custom init code for neopixel power pin to default on
ladyada Sep 23, 2020
0d46fb5
fix name of chip
ladyada Sep 23, 2020
a2151f3
fix matrixportal_m4 warning define
hathach Sep 23, 2020
e99eb50
Merge pull request #264 from adafruit/qtpy
hathach Sep 23, 2020
9c667a4
Merge pull request #265 from adafruit/fix-warning
ladyada Sep 23, 2020
9d4bdb8
increase for 1.6.3 release
hathach Sep 23, 2020
fa095b3
Merge branch 'master' of github.com:adafruit/ArduinoCore-samd
ladyada Sep 29, 2020
4c6d754
fix https://github.com/adafruit/ArduinoCore-samd/issues/266
ladyada Oct 1, 2020
0c8e1ed
boards.txt: add Feather CAN
jepler Oct 6, 2020
1ffdc7d
Files from Atmel.SAME51_DFP.1.1.139.atpack
jepler Oct 6, 2020
7ae96b4
Adapt feather_m4 variant files to can
jepler Oct 6, 2020
ad022b4
Add special linker script stanza for CAN message RAM
jepler Oct 6, 2020
308e949
feather_m4_can: Add CAN-related pins to variant files
jepler Oct 7, 2020
3ab4dfe
feather_can_m4: define PIN_CAN_abc macros
jepler Oct 7, 2020
f077606
correct board name string
jepler Oct 7, 2020
3471cdf
update feather can board property
jepler Oct 9, 2020
da80034
Add CAN handlers for SAM E51
jepler Oct 20, 2020
b94b432
Merge pull request #267 from jepler/feather-can-bsp
ladyada Oct 20, 2020
54beccb
added optimization menu option for M0
hathach Oct 31, 2020
d0396b0
Merge pull request #269 from adafruit/m0-optimization-option
ladyada Oct 31, 2020
b823585
update LED_BUILTIN for matrixportal_m4
mdonoughe Oct 31, 2020
0b16016
Merge pull request #270 from mdonoughe/matrixportal-led
ladyada Oct 31, 2020
1fa45ad
update version to 1.6.4 for release
hathach Nov 5, 2020
ec69488
add boost enable pin for CAN feather
ladyada Dec 2, 2020
f2a72d1
Fix addpath (#275)
ladyada Dec 10, 2020
dcc531f
Typo fix in PID for BLM Badge (#274)
valeros Dec 10, 2020
3c7a2d5
Added a isBusy() method to SPI calls to allow non-blocking polling of…
RudolphRiedel Dec 28, 2020
12e0a79
Merge pull request #279 from RudolphRiedel/master
PaintYourDragon Dec 28, 2020
9ddc306
CAN variant updates, fix for PDM on badge
ladyada Jan 10, 2021
812399f
Merge branch 'master' of github.com:adafruit/ArduinoCore-samd
ladyada Jan 10, 2021
aa706d7
Fix EINT listing for pin 4
matt-chan Jan 25, 2021
8c6f2dd
Fix remaining EINT values
matt-chan Jan 25, 2021
7716ebb
update BLM badge for uart (used in testing)
ladyada Jan 25, 2021
8dcab42
bump to add fixes for CAN Feather and BLM Badge
ladyada Jan 26, 2021
e16a55b
Merge pull request #281 from matt-chan/patch-1
hathach Jan 26, 2021
aebf3cb
Port some AVR Serial_ (SerialUSB) API's over (#285)
myelin Mar 6, 2021
3adf881
add new variant
ladyada Mar 14, 2021
af4f2cb
typo fixes!
ladyada Mar 15, 2021
9e15226
Merge pull request #286 from adafruit/neotrinkey
hathach Mar 15, 2021
243c208
bump version for 1.6.6 release
hathach Mar 15, 2021
d542a60
Cast to integral type ignores qualifier `volatile`
henrygab Mar 25, 2021
76f999b
Fix [-Wrestrict] bug
henrygab Mar 25, 2021
e340701
Merge pull request #288 from henrygab/patch-1
hathach Mar 29, 2021
a7a9d2d
Fix loop iterations
henrygab Apr 9, 2021
1870cef
use same51 header from cmsis-atmel package
hathach Apr 9, 2021
c477272
increase version to 1.6.7
hathach Apr 9, 2021
dffa5b8
Merge pull request #291 from adafruit/use-same51-from-cmsis-atmel-tool
hathach Apr 9, 2021
ea208a4
use correct CMSIS-Atmel-1.2.1.path
hathach Apr 9, 2021
ade7caf
Merge pull request #289 from henrygab/patch-2
hathach Apr 13, 2021
439c6b5
Narrowly silence new (GCC 8.1+) warning (#290)
henrygab Apr 30, 2021
c26a837
Trinkeys (#296)
ladyada May 8, 2021
48956dd
increase version for release 1.6.8
hathach May 10, 2021
322f2ff
add definition for touchpad
ladyada May 13, 2021
93b1ba1
A11 isnt an analog in!
ladyada May 14, 2021
32b62c8
add AREF pin as A12
ladyada May 18, 2021
eb0d6ef
Itsy M0, HalloWing: add A12 pin for PrettyPins generator
PaintYourDragon May 18, 2021
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
  •  
  •  
  •  
63 changes: 63 additions & 0 deletions .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Build

on: [pull_request, push]

jobs:
build:
strategy:
fail-fast: false
matrix:
arduino-platform: ['metro_m0', 'hallowing', 'circuitplayground_m0',
'metro_m4', 'pybadge_m4', 'pygamer_m4', 'hallowing_m4', 'pyportal_m4', 'pyportal_m4_titano']

runs-on: ubuntu-latest

steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.x'

- name: Checkout code
uses: actions/checkout@v2

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive

- name: Install Arduino CLI and Tools
run: |
# make all our directories we need for files and libraries
mkdir $HOME/.arduino15
mkdir $HOME/.arduino15/packages
mkdir $HOME/Arduino
mkdir $HOME/Arduino/libraries
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH

- name: Install BSP and Libraries
env:
BSP_URL: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
BSP_PATH: .arduino15/packages/adafruit/hardware/samd
LIB_DEPS: FlashStorage SD
run: |
arduino-cli config init
arduino-cli core update-index
arduino-cli core update-index --additional-urls $BSP_URL
arduino-cli core install arduino:samd --additional-urls $BSP_URL
arduino-cli core install adafruit:samd --additional-urls $BSP_URL
# Replace release BSP with our code
BSP_VERSION=`eval ls $HOME/$BSP_PATH`
rm -r $HOME/$BSP_PATH/*
ln -s $GITHUB_WORKSPACE $HOME/$BSP_PATH/$BSP_VERSION
arduino-cli lib install $LIB_DEPS

- name: Build examples
run: python3 extras/build_all.py ${{ matrix.arduino-platform }}

# How to mark this as allowed-to-fail?
- name: Build examples (-Wall)
run: python3 extras/build_all.py --all_warnings --warnings_do_not_cause_job_failure
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.bz2
*.atsuo

bootloaders/*/build/
*~
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore"]
path = cores/arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore
url = https://github.com/adafruit/Adafruit_TinyUSB_ArduinoCore.git
47 changes: 11 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,28 @@
# Arduino Core for SAMD21 CPU
# Arduino Core for SAMD21 and SAMD51 CPU

This repository contains the source code and configuration files of the Arduino Core
for Atmel's SAMD21 processor (used on the Arduino/Genuino Zero, MKR1000 and MKRZero boards).

## Installation on Arduino IDE
[![Build Status](https://github.com/adafruit/ArduinoCore-samd/workflows/Build/badge.svg)](https://github.com/adafruit/ArduinoCore-samd/actions)

This core is available as a package in the Arduino IDE cores manager.
Just open the "Boards Manager" and install the package called:
This repository contains the source code and configuration files of the Arduino Core
for Atmel's SAMD21 and SAMD51 processor (used on the Arduino/Genuino Zero, MKR1000 and MKRZero boards).

"Arduino SAMD Boards (32-bit ARM Cortex-M0+)"
In particular, this adds support for the Adafruit SAMD Boards such as the Feather M0

## Support
## Bugs or Issues

There is a dedicated section of the Arduino Forum for general discussion and project assistance:
* AREF must be tied to 3.3V for dac to work. This is a bug in the SAMD51 silicon.
* USB host mode doesn't work yet

http://forum.arduino.cc/index.php?board=98.0
If you find a bug you can submit an issue here on github:

## Bugs or Issues
https://github.com/adafruit/ArduinoCore-samd

If you find a bug you can submit an issue here on github:
or if it is an issue with the upstream:

https://github.com/arduino/ArduinoCore-samd/issues

Before posting a new issue, please check if the same problem has been already reported by someone else
to avoid duplicates.

## Contributions

Contributions are always welcome. The preferred way to receive code cotribution is by submitting a
Pull Request on github.

## Hourly builds

This repository is under a Continuous Integration system that every hour checks if there are updates and
builds a release for testing (the so called "Hourly builds").

The hourly builds are available through Boards Manager. If you want to install them:
1. Open the **Preferences** of the Arduino IDE.
2. Add this URL `http://downloads.arduino.cc/Hourly/samd/package_samd-hourly-build_index.json` in the **Additional Boards Manager URLs** field, and click OK.
3. Open the **Boards Manager** (menu Tools->Board->Board Manager...)
4. Install **Arduino SAMD core - Hourly build**
5. Select one of the boards under **SAMD Hourly build XX** in Tools->Board menu
6. Compile/Upload as usual

If you already installed an hourly build and you want to update it with the latest:
1. Open the **Boards Manager** (menu Tools->Board->Board Manager...)
2. Remove **Arduino SAMD core - Hourly build**
3. Install again **Arduino SAMD core - Hourly build**, the Board Manager will download the latest build replacing the old one.

## License and credits

This core has been developed by Arduino LLC in collaboration with Atmel.
Expand Down
Loading