Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1130 commits
Select commit Hold shift + click to select a range
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
146e8b8
Fix typo in samd51 clock init
rlcamp Dec 27, 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
Jan 25, 2021
8c6f2dd
Fix remaining EINT values
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
fc358ea
remove tinyusb core submodule, move tinyusb src to its own library to…
hathach May 6, 2021
d3091df
change porting API
hathach May 6, 2021
6fd7609
add feather m4 can to ci
hathach May 6, 2021
1f029ec
fix typo
hathach May 6, 2021
88520ba
update tinyusb header
hathach May 7, 2021
15fd604
clean up
hathach May 7, 2021
704450c
add libraries/Adafruit_TinyUSB_Arduino as submodule
hathach May 7, 2021
c26a837
Trinkeys (#296)
ladyada May 8, 2021
30d0738
sync with tinyusb lib latest change
hathach May 10, 2021
3c173d5
update with TinyUSB_Device_FlushCDC()
hathach May 10, 2021
7234390
sync tinyusb lib
hathach May 10, 2021
48956dd
increase version for release 1.6.8
hathach May 10, 2021
c262dc2
clean up and add note for "-Wclass-memaccess"
hathach May 10, 2021
a9d41b6
fix typo in tinyusb lib
hathach May 10, 2021
322f2ff
add definition for touchpad
ladyada May 13, 2021
93b1ba1
A11 isnt an analog in!
ladyada May 14, 2021
a7bab5b
update tinyusb lib to 1.0.0
hathach May 18, 2021
461f855
ci skip tinyusb lib examples for now
hathach May 18, 2021
32b62c8
add AREF pin as A12
ladyada May 18, 2021
7585cb7
Merge pull request #298 from adafruit/rework-tinyusb
hathach May 19, 2021
fa24f50
increase version to 1.7.0 for release
hathach May 19, 2021
a7a8b02
use CMSIS-Atmel-1.2.2 to fix LITTLE_ENDIAN warning
hathach May 24, 2021
51bd7a7
better fix warning with "-Wclass-memaccess" in SPI
hathach May 24, 2021
e49dab6
also bump tinyusb
hathach May 24, 2021
33a1e15
increase version to 1.7.1
hathach May 24, 2021
cca8448
Merge pull request #300 from adafruit/fix-warnings
hathach May 24, 2021
14a6b40
remove local copy of Adafruit_ZeroDMA
hathach May 25, 2021
69a2211
add Adafruit_ZeroDMA as submodules
hathach May 25, 2021
9c2bdbc
include TinyUSB header for builtin libraries if selected
hathach May 25, 2021
8c2dd0b
bump zeroDMA
hathach May 25, 2021
481e492
always build with all warnings, but not fatal error
hathach May 25, 2021
3c601b6
bump builtin TinyUSB to 1.0.3
hathach May 26, 2021
aff98b3
increase version 1.7.2 for release
hathach May 26, 2021
4e51791
Merge pull request #301 from adafruit/more-ci-work
hathach May 26, 2021
2037467
Update tinyusb library to compatible with 1.2.0 (#303)
hathach Jun 25, 2021
2163aa8
bump tinyusb
hathach Jun 25, 2021
f5564f8
bump TinyUSB to 1.3.0
hathach Jun 29, 2021
a02b851
add -DADAFRUIT_ARCH_SAMD to all board's build.extra_flags
2bndy5 Jul 15, 2021
42d3ad1
requested changes
2bndy5 Jul 15, 2021
de975d9
Merge pull request #306 from 2bndy5/global-define-for-any-adafruit-bo…
hathach Jul 15, 2021
46e2271
fix m4 can pin typo (#307)
hathach Aug 16, 2021
1b17683
increase version for 1.7.4 release
hathach Aug 17, 2021
e24e4af
fix m4 can typo
hathach Aug 31, 2021
11b223a
Merge pull request #308 from adafruit/more-m4-can-typo
hathach Aug 31, 2021
bafcb36
bump up version for release 1.7.5
hathach Sep 1, 2021
6ddfddf
Bugfix - waiting for first ADC read to complete after ADC enable.
zuyan9 Sep 15, 2021
8b70e4c
Merge pull request #309 from zuyan9/master
hathach Sep 17, 2021
6907751
Update Print.h
Sep 30, 2021
3b2df62
Update Print.cpp
Sep 30, 2021
6f5a596
indentation
hathach Oct 1, 2021
41c0a72
Merge pull request #310 from MartinL1/master
hathach Oct 1, 2021
1710c41
enable DRVSTR for output pin (#313)
hathach Dec 14, 2021
e715d70
Introduce digital pin definitions
prampec Dec 20, 2021
e669a01
Merge pull request #314 from prampec/patch-1
hathach Dec 21, 2021
3db7484
'hot fix' for https://github.com/arduino-libraries/WiFiNINA/issues/184
Jan 4, 2022
a8c4b4d
Merge branch 'master' of github.com:adafruit/ArduinoCore-samd
Jan 4, 2022
bac2839
add -Werror=return-type for all warning options
hathach Jan 6, 2022
9785217
Merge pull request #315 from adafruit/add-Werror=return-type
hathach Jan 6, 2022
90b4d35
increase version 1.7.6 for release
hathach Jan 10, 2022
525980e
Prepare BSP for Internal Flash filesystem (#316)
hathach Jan 12, 2022
5324860
update bossac18 for neokey, neo, rotary, slide trinkey m0
hathach Jan 13, 2022
3f214fe
Merge pull request #317 from adafruit/more-bossac18
hathach Jan 13, 2022
c999601
increase version to 1.7.7 for release
hathach Jan 13, 2022
67dfb93
migrate all m0 upload tool to bossac 1.8 (#318)
hathach Jan 14, 2022
6bc12c9
migrate all boards from bossac 1.8 to 1.9
hathach Jan 25, 2022
5528bf2
add makeboard.py to genearte boards.txt to prevent error in board add…
hathach Jan 26, 2022
d8893ff
Merge pull request #319 from adafruit/bossac-1.9
hathach Jan 26, 2022
2a7aae7
Update makeboards.py
hathach Jan 26, 2022
6398c2a
add dotstar pin defs
caternuson Jan 26, 2022
dd787f5
paran u
caternuson Jan 26, 2022
d4ed1fd
Merge pull request #321 from caternuson/iss320_dotstar
kattni Jan 26, 2022
327fbce
revert bossac tool from 1.9 back to 1.8
hathach Feb 4, 2022
81f9ee0
Merge pull request #323 from adafruit/revert-bossac-to-1.8
hathach Feb 5, 2022
ada1b9d
increase verion to 1.7.10
hathach Feb 17, 2022
85f71fb
Merge pull request #324 from adafruit/release-1.7.10
hathach Feb 17, 2022
137b8d2
fix typo board defines for feather m0 express (#325)
hathach Mar 8, 2022
b13ae7f
add PIN_DOTSTAR_CLOCK
caternuson Mar 23, 2022
bd2a9cd
change the SDA, SCL timer from alt to primary to avoid pwm conflict (…
hathach Jun 5, 2022
c2d4153
Proposal to improve WVariant part number define logic (#326)
Timvrakas Aug 1, 2022
ad12ce9
fix possible windows bossac tool
hathach Oct 12, 2022
7c47afb
remove ARDUINO_SAMD_ZERO from some boards due to fastled issue
hathach Nov 1, 2022
66ebeeb
bump version to 1.7.11
hathach Nov 1, 2022
024eaa5
Merge pull request #337 from adafruit/release-1.7.11
hathach Nov 1, 2022
22176f8
Merge branch 'adafruit:master' into master
rlcamp Nov 13, 2022
88bafcc
Prevent LTO from omitting the ISR vector table
rlcamp Nov 13, 2022
7ca484a
Prevent LTO from omitting the ISR vector table for SAMD21 too
rlcamp Nov 14, 2022
7812526
Merge pull request #338 from rlcamp/ltofix
hathach Nov 15, 2022
0fd44a5
Merge pull request #278 from rlcamp/master
hathach Nov 15, 2022
a6b4ae7
Added .ramfunc attribute to linker script to enable keeping functions…
yosinski Dec 20, 2022
159e3c3
Update CI action versions
evaherrada May 12, 2023
c307d37
fix incorrect PID for pIRKey board (conflict with M0 trinket)
hathach May 23, 2023
313ef47
Merge pull request #344 from adafruit/release-1.7.12
hathach May 23, 2023
ef8903a
move makboards.py scripts tools/, refactor to use f-string
hathach Jun 21, 2023
2f8f40c
more script update
hathach Jun 21, 2023
463beee
debug work with itsybitsy and pico probe
hathach Jun 22, 2023
41cd7a7
adding samd51 debug, still wip
hathach Jun 22, 2023
c9e285c
fix ci, rename script
hathach Jun 22, 2023
c3d53ad
add support for jlink as transport for openocd
hathach Jun 22, 2023
df5b8c6
comment out jlink over openocd since IDE does not pick that up and co…
hathach Jun 22, 2023
b032276
pyportal: add SS pin
IanBurwell Jun 23, 2023
bc76c89
explicit specify openocd 0.11.0-arduino2
hathach Jun 23, 2023
164decd
Merge pull request #346 from adafruit/ide2-debug
hathach Jun 23, 2023
eebe841
increase version for release 1.7.13
hathach Jun 23, 2023
e2b78cb
Merge pull request #348 from adafruit/hathach-patch-1
hathach Jun 23, 2023
f85cf1b
fix sendStringDescriptor() maxlen uitn8_t to uint32_t
hathach Nov 27, 2023
21ac762
Merge pull request #351 from adafruit/fix-sendStringDescriptor
hathach Nov 27, 2023
8619fd9
update tinyusb and zerodma libraries
hathach Feb 6, 2024
7671684
Merge pull request #353 from adafruit/update-libraries
hathach Feb 6, 2024
c1b79a8
udpate tinyusb to v3.1
hathach Mar 5, 2024
4c6cc0e
Merge pull request #354 from adafruit/update-tinyusb
hathach Mar 5, 2024
e43b1ef
Merge pull request #347 from IanBurwell/ib/pyportal-ss-fix
hathach Mar 5, 2024
0bf3258
Merge pull request #328 from caternuson/iss320_dotstar
hathach Mar 5, 2024
9b1b3ba
Tested SHT4x Trinkey
ladyada Mar 5, 2024
e82192c
update makeboards.py
hathach Mar 13, 2024
1a87637
Merge pull request #355 from adafruit/sht4xtrinkey
BlitzCityDIY Mar 25, 2024
b2358fa
increase version for 1.7.14 release
BlitzCityDIY Mar 26, 2024
634b97c
Use the correct openocd flash driver for ATSAMD51 devices
rcross-lc May 9, 2024
5a57904
hardware design rev B
ladyada May 11, 2024
72e88b4
many variant trinks!
ladyada May 11, 2024
ac9e81e
Merge pull request #358 from rcross-lc/master
hathach May 15, 2024
61da91c
bump up version to 1.7.15
hathach May 17, 2024
9dc3465
Merge pull request #359 from adafruit/bump-version-1.7.15
hathach May 17, 2024
ffb6935
update makeboards.py, fix board name typo
hathach May 17, 2024
4693b93
Merge pull request #360 from adafruit/minor-update
hathach May 17, 2024
b64fe90
fix for rev B hardware
ladyada May 22, 2024
7473729
Merge branch 'master' of github.com:adafruit/ArduinoCore-samd
ladyada May 22, 2024
3a527f8
bump up version 1.7.16
hathach May 22, 2024
9bb5b21
Merge pull request #361 from adafruit/bump-1.7.16
hathach May 22, 2024
c0c7bd0
update to 3.1.5
nerdyscout Jun 10, 2024
463eb00
updating TRRS Trinkey naming for case sensitivity
BlitzCityDIY Jun 25, 2024
e7a9d6d
Merge pull request #363 from BlitzCityDIY/trrs_update
jepler Jun 25, 2024
12e2013
two more TRRS
BlitzCityDIY Jun 25, 2024
3044845
Merge pull request #364 from BlitzCityDIY/master
BlitzCityDIY Jun 25, 2024
726453f
Revert "Merge pull request #364 from BlitzCityDIY/master"
BlitzCityDIY Jun 25, 2024
576d627
Revert "Merge pull request #363 from BlitzCityDIY/trrs_update"
BlitzCityDIY Jun 25, 2024
a67d5be
add missing _Val suffix on arguments to GCLK_GENCTRL_SRC()
Jul 12, 2024
6ed425f
Merge pull request #362 from nerdyscout/fix/update_TinyUSB
hathach Jul 18, 2024
ce20340
Merge pull request #339 from yosinski/master
hathach Jul 18, 2024
ccfc7db
Add files via upload
DennisErnst Jul 18, 2024
6e5580d
Add files via upload
DennisErnst Jul 21, 2024
c8287a1
clean up format
hathach Sep 5, 2024
8859387
Merge pull request #367 from DennisErnst/master
hathach Sep 5, 2024
bb55281
Pixel Trinkey Analog JST pin (#369)
mikeysklar Sep 18, 2024
592ec77
fix variant folder name case for trrstrinkey_m0
hathach Dec 25, 2024
6653744
Merge pull request #370 from adafruit/fix-TRRS-Trinkey-variant-name
hathach Dec 25, 2024
0a48a55
add issue template
hathach Aug 7, 2025
05e83bc
Merge pull request #373 from adafruit/add-issue-template
hathach Aug 7, 2025
d8f4bf4
Merge pull request #366 from rlcamp/master
hathach Sep 9, 2025
fe7821a
fix tone with low frequency e.g 25 hz
hathach Sep 9, 2025
78c979a
Merge pull request #374 from adafruit/fix-tone-low-freq
hathach Sep 9, 2025
81a90d1
Fix hang in noTone()
hathach Sep 9, 2025
6f41c22
Merge pull request #375 from adafruit/fix-hang-notone
hathach Sep 9, 2025
68c0e89
same51g19a: Fix missing ETC channel definitions in WVariant
EllaFoxo Oct 1, 2025
9d2183d
Merge pull request #377 from EllaFoxo/fix/same51g19a_tcc_channels
hathach Oct 1, 2025
34d15d0
Sercom: partially revert error handling change
kaysievers Oct 13, 2025
2917083
Merge pull request #378 from kaysievers/master
hathach Dec 5, 2025
e0a883c
Unify SERCOM clock frequency handling across UART/SPI/WIRE
crabel99 Jan 13, 2026
d2772f8
bug: resolve low speed I2C BAUD register overflow
crabel99 Jan 13, 2026
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
  •  
  •  
  •  
95 changes: 95 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Bug Report
description: Report a problem
labels: 'Bug'
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
It's okay to leave some blank if it doesn't apply to your problem.

- type: dropdown
attributes:
label: Operating System
options:
- Linux
- MacOS
- RaspberryPi OS
- Windows 7
- Windows 10
- Windows 11
- Others
validations:
required: true

- type: input
attributes:
label: Arduino IDE version
placeholder: e.g Arduino 1.8.15
validations:
required: true

- type: input
attributes:
label: Board
placeholder: e.g Metro M4 Express
validations:
required: true

- type: input
attributes:
label: ArduinoCore version
description: Can be found under "Board Manager" menu
validations:
required: true

- type: textarea
attributes:
label: Sketch as ATTACHED TXT
placeholder: |
e.g examples/MassStorage/msc_ramdisk.
If it is custom sketch, please provide it as **ATTACHED** files or link to it.
Pasting raw long code that hurts readability can get your issue **closed**
validations:
required: true

- type: textarea
attributes:
label: Compiled Log as ATTACHED TXT
placeholder: |
Compiled log from Arduino IDE as **ATTACHED** txt.
Pasting raw long log that hurts readability can get your issue **closed**
validations:
required: true

- type: textarea
attributes:
label: What happened ?
placeholder: A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
attributes:
label: How to reproduce ?
placeholder: |
1. Go to '...'
2. Click on '....'
3. See error
validations:
required: true

- type: textarea
attributes:
label: Debug Log as ATTACHED TXT
placeholder: |
Debug log where the issue occurred as attached txt file, best with comments to explain the actual events.
validations:
required: false

- type: textarea
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
validations:
required: false
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Adafruit Support Forum
url: https://forums.adafruit.com
about: If you have other questions or need help, post it here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: Feature
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
61 changes: 61 additions & 0 deletions .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Build

on: [pull_request, push]

jobs:
build:
strategy:
fail-fast: false
matrix:
board:
# Alphabetical order
- 'circuitplayground_m0'
- 'feather_m4_can'
- 'hallowing'
- 'hallowing_m4'
- 'metro_m0'
- 'metro_m4'
- 'pybadge_m4'
- 'pygamer_m4'
- 'pyportal_m4'
- 'pyportal_m4_titano'
# with TinyUSB
- 'metro_m0:usbstack=tinyusb'
- 'metro_m4:speed=120,usbstack=tinyusb'

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'true'

- 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
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 "Adafruit NeoPixel" "Adafruit seesaw Library" "Adafruit SPIFlash" "FlashStorage" "MIDI Library" "SD" "SdFat - Adafruit Fork"

- name: Build examples
run: python3 tools/build_all.py ${{ matrix.board }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*.bz2
*.atsuo

bootloaders/*/build/
*~
/libraries/**/build/
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "libraries/Adafruit_TinyUSB_Arduino"]
path = libraries/Adafruit_TinyUSB_Arduino
url = https://github.com/adafruit/Adafruit_TinyUSB_Arduino.git
[submodule "libraries/Adafruit_ZeroDMA"]
path = libraries/Adafruit_ZeroDMA
url = https://github.com/adafruit/Adafruit_ZeroDMA
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