Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adafruit/ArduinoCore-samd
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.7.1
Choose a base ref
...
head repository: adafruit/ArduinoCore-samd
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Dec 27, 2020

  1. Fix typo in samd51 clock init

    rlcamp committed Dec 27, 2020
    Copy the full SHA
    146e8b8 View commit details

Commits on May 25, 2021

  1. Copy the full SHA
    14a6b40 View commit details
  2. Copy the full SHA
    69a2211 View commit details
  3. Copy the full SHA
    9c2bdbc View commit details
  4. bump zeroDMA

    hathach committed May 25, 2021
    Copy the full SHA
    8c2dd0b View commit details
  5. Copy the full SHA
    481e492 View commit details

Commits on May 26, 2021

  1. bump builtin TinyUSB to 1.0.3

    hathach committed May 26, 2021
    Copy the full SHA
    3c601b6 View commit details
  2. Copy the full SHA
    aff98b3 View commit details
  3. Merge pull request #301 from adafruit/more-ci-work

    More ci work
    hathach authored May 26, 2021
    Copy the full SHA
    4e51791 View commit details

Commits on Jun 25, 2021

  1. Update tinyusb library to compatible with 1.2.0 (#303)

    * more Adafruit_TinyUSB include
    
    * add metro m0 m4 with tinyusb to ci
    
    * correct fqbn
    
    * support ci with tinyusb variant
    
    bump zeroDMA and fix warnings with USBHost library example
    
    * install missing libraries
    
    * more libraries
    
    * update tinyusb library to 1.2.0
    
    increase version to 1.7.3
    hathach authored Jun 25, 2021
    Copy the full SHA
    2037467 View commit details
  2. bump tinyusb

    hathach committed Jun 25, 2021
    Copy the full SHA
    2163aa8 View commit details

Commits on Jun 29, 2021

  1. bump TinyUSB to 1.3.0

    hathach committed Jun 29, 2021
    Copy the full SHA
    f5564f8 View commit details

Commits on Jul 15, 2021

  1. Copy the full SHA
    a02b851 View commit details
  2. requested changes

    2bndy5 committed Jul 15, 2021
    Copy the full SHA
    42d3ad1 View commit details
  3. Merge pull request #306 from 2bndy5/global-define-for-any-adafruit-bo…

    …ards
    
    add -DADAFRUIT_ARCH_SAMD to all board's build.extra_flags
    hathach authored Jul 15, 2021
    Copy the full SHA
    de975d9 View commit details

Commits on Aug 16, 2021

  1. fix m4 can pin typo (#307)

    also bump up tinyusb lib
    hathach authored Aug 16, 2021
    Copy the full SHA
    46e2271 View commit details

Commits on Aug 17, 2021

  1. Copy the full SHA
    1b17683 View commit details

Commits on Aug 31, 2021

  1. fix m4 can typo

    hathach committed Aug 31, 2021
    Copy the full SHA
    e24e4af View commit details
  2. Merge pull request #308 from adafruit/more-m4-can-typo

    fix m4 can typo
    hathach authored Aug 31, 2021
    Copy the full SHA
    11b223a View commit details

Commits on Sep 1, 2021

  1. Copy the full SHA
    bafcb36 View commit details

Commits on Sep 15, 2021

  1. Copy the full SHA
    6ddfddf View commit details

Commits on Sep 17, 2021

  1. Merge pull request #309 from zuyan9/master

    Bugfix - waiting for first ADC read to complete after ADC enable.
    hathach authored Sep 17, 2021
    Copy the full SHA
    8b70e4c View commit details

Commits on Sep 30, 2021

  1. Update Print.h

    MartinL1 authored Sep 30, 2021
    Copy the full SHA
    6907751 View commit details
  2. Update Print.cpp

    MartinL1 authored Sep 30, 2021
    Copy the full SHA
    3b2df62 View commit details

Commits on Oct 1, 2021

  1. indentation

    hathach committed Oct 1, 2021
    Copy the full SHA
    6f5a596 View commit details
  2. Merge pull request #310 from MartinL1/master

    Add int64_t and uint64_t data types to Serial.print(ln)
    hathach authored Oct 1, 2021
    Copy the full SHA
    41c0a72 View commit details

Commits on Dec 14, 2021

  1. enable DRVSTR for output pin (#313)

    add neopixel and button pin define for circuitplay
    hathach authored Dec 14, 2021
    Copy the full SHA
    1710c41 View commit details

Commits on Dec 20, 2021

  1. Introduce digital pin definitions

    Pin definitions are based on the schematics.
    prampec authored Dec 20, 2021
    Copy the full SHA
    e715d70 View commit details

Commits on Dec 21, 2021

  1. Merge pull request #314 from prampec/patch-1

    Introduce digital pin definitions
    hathach authored Dec 21, 2021
    Copy the full SHA
    e669a01 View commit details

Commits on Jan 4, 2022

  1. 'hot fix' for arduino-libraries/WiFiNINA#184

    ladyada committed Jan 4, 2022
    Copy the full SHA
    3db7484 View commit details
  2. Copy the full SHA
    a8c4b4d View commit details

Commits on Jan 6, 2022

  1. Copy the full SHA
    bac2839 View commit details
  2. Merge pull request #315 from adafruit/add-Werror=return-type

    add -Werror=return-type for all warning options
    hathach authored Jan 6, 2022
    Copy the full SHA
    9785217 View commit details

Commits on Jan 10, 2022

  1. Copy the full SHA
    90b4d35 View commit details

Commits on Jan 12, 2022

  1. Prepare BSP for Internal Flash filesystem (#316)

    * update upload tool for adafruit_proxlighttrinkey_m0 to bossac18
    
    * fake SPI Interface so we could compile with SdFat
    hathach authored Jan 12, 2022
    Copy the full SHA
    525980e View commit details

Commits on Jan 13, 2022

  1. update bossac18 for neokey, neo, rotary, slide trinkey m0

    also add fake SPI interfaces for them as well
    hathach committed Jan 13, 2022
    Copy the full SHA
    5324860 View commit details
  2. Merge pull request #317 from adafruit/more-bossac18

    update bossac18 for neokey, neo, rotary, slide trinkey m0
    hathach authored Jan 13, 2022
    Copy the full SHA
    3f214fe View commit details
  3. Copy the full SHA
    c999601 View commit details

Commits on Jan 14, 2022

  1. Copy the full SHA
    67dfb93 View commit details

Commits on Jan 25, 2022

  1. Copy the full SHA
    6bc12c9 View commit details

Commits on Jan 26, 2022

  1. Copy the full SHA
    5528bf2 View commit details
  2. Merge pull request #319 from adafruit/bossac-1.9

    migrate all boards upload tool from bossac 1.8 to 1.9 and auto-generate boards.txt
    hathach authored Jan 26, 2022
    Copy the full SHA
    d8893ff View commit details
  3. Update makeboards.py

    hathach authored Jan 26, 2022
    Copy the full SHA
    2a7aae7 View commit details
  4. add dotstar pin defs

    caternuson committed Jan 26, 2022
    Copy the full SHA
    6398c2a View commit details
  5. paran u

    caternuson committed Jan 26, 2022
    Copy the full SHA
    dd787f5 View commit details
  6. Merge pull request #321 from caternuson/iss320_dotstar

    Add defines for internal DotStar pins
    kattni authored Jan 26, 2022
    Copy the full SHA
    d4ed1fd View commit details

Commits on Feb 4, 2022

  1. revert bossac tool from 1.9 back to 1.8

    move blm badge up in boards.txt, update id for portal m4
    hathach committed Feb 4, 2022
    Copy the full SHA
    327fbce View commit details

Commits on Feb 5, 2022

  1. Merge pull request #323 from adafruit/revert-bossac-to-1.8

    revert bossac tool from 1.9 back to 1.8
    hathach authored Feb 5, 2022
    Copy the full SHA
    81f9ee0 View commit details

Commits on Feb 17, 2022

  1. increase verion to 1.7.10

    bump up included tinyusb to 1.9.4
    hathach committed Feb 17, 2022
    Copy the full SHA
    ada1b9d View commit details
  2. Merge pull request #324 from adafruit/release-1.7.10

    increase verion to 1.7.10
    hathach authored Feb 17, 2022
    Copy the full SHA
    85f71fb View commit details
Showing with 5,116 additions and 1,875 deletions.
  1. +13 −25 .github/workflows/githubci.yml
  2. +3 −0 .gitmodules
  3. +1,052 −354 boards.txt
  4. +112 −0 cores/arduino/Print.cpp
  5. +5 −0 cores/arduino/Print.h
  6. +32 −17 cores/arduino/SERCOM.cpp
  7. +1 −1 cores/arduino/USB/USBAPI.h
  8. +5 −3 cores/arduino/USB/USBCore.cpp
  9. +1 −1 cores/arduino/WVariant.h
  10. +4 −1 cores/arduino/cortex_handlers.c
  11. +1 −1 cores/arduino/startup.c
  12. +0 −93 cores/arduino/tusb_config.h
  13. +3 −0 cores/arduino/wiring_analog.c
  14. +15 −15 cores/arduino/wiring_digital.c
  15. +2 −0 cores/arduino/wiring_digital.h
  16. +0 −128 extras/build_all.py
  17. +1 −1 libraries/Adafruit_TinyUSB_Arduino
  18. +1 −0 libraries/Adafruit_ZeroDMA
  19. +0 −654 libraries/Adafruit_ZeroDMA/Adafruit_ZeroDMA.cpp
  20. +0 −66 libraries/Adafruit_ZeroDMA/Adafruit_ZeroDMA.h
  21. +0 −22 libraries/Adafruit_ZeroDMA/LICENSE
  22. +0 −6 libraries/Adafruit_ZeroDMA/README.md
  23. +0 −95 libraries/Adafruit_ZeroDMA/examples/zerodma_memcpy/zerodma_memcpy.ino
  24. +0 −98 libraries/Adafruit_ZeroDMA/examples/zerodma_spi1/zerodma_spi1.ino
  25. +0 −104 libraries/Adafruit_ZeroDMA/examples/zerodma_spi2/zerodma_spi2.ino
  26. +0 −9 libraries/Adafruit_ZeroDMA/library.properties
  27. +0 −145 libraries/Adafruit_ZeroDMA/utility/dma.h
  28. +6 −0 libraries/I2S/src/I2S.cpp
  29. +5 −0 libraries/SAMD_AnalogCorrection/src/SAMD_AnalogCorrection.cpp
  30. +5 −0 libraries/SPI/SPI.cpp
  31. +5 −0 libraries/Servo/src/samd/Servo.cpp
  32. +2 −0 libraries/USBHost/examples/USB_desc/USB_desc.ino
  33. +5 −0 libraries/Wire/Wire.cpp
  34. +43 −18 platform.txt
  35. +6 −0 scripts/jlink/samd21/debug_custom.json
  36. +6 −0 scripts/jlink/samd51/debug_custom.json
  37. +29 −0 scripts/openocd/daplink_samd21.cfg
  38. +29 −0 scripts/openocd/daplink_samd51.cfg
  39. +29 −0 scripts/openocd/jlink_samd21.cfg
  40. +29 −0 scripts/openocd/jlink_samd51.cfg
  41. +106 −0 tools/build_all.py
  42. +414 −0 tools/makeboards.py
  43. 0 variants/circuitplay/openocd_scripts/{circuit_play.cfg → circuitplay.cfg}
  44. +26 −1 variants/circuitplay/variant.h
  45. +4 −0 variants/feather_m4/linker_scripts/gcc/flash_with_bootloader.ld
  46. +1 −1 variants/feather_m4_can/variant.cpp
  47. +6 −2 variants/gemma_m0/variant.h
  48. +5 −0 variants/itsybitsy_m0/variant.h
  49. +6 −1 variants/itsybitsy_m4/variant.h
  50. +15 −1 variants/neokeytrinkey_m0/variant.h
  51. +14 −1 variants/neotrinkey_m0/variant.h
  52. 0 variants/pirkey/openocd_scripts/{arduino_zero.cfg → pirkey.cfg}
  53. +31 −0 variants/pixeltrinkey_m0/debug_scripts/variant.gdb
  54. +216 −0 variants/pixeltrinkey_m0/linker_scripts/gcc/flash_with_bootloader.ld
  55. +214 −0 variants/pixeltrinkey_m0/linker_scripts/gcc/flash_without_bootloader.ld
  56. +28 −0 variants/pixeltrinkey_m0/openocd_scripts/sht4xtrinkey_m0.cfg
  57. +21 −0 variants/pixeltrinkey_m0/pins_arduino.h
  58. +52 −0 variants/pixeltrinkey_m0/variant.cpp
  59. +189 −0 variants/pixeltrinkey_m0/variant.h
  60. +1 −1 variants/proxlighttrinkey_m0/variant.cpp
  61. +14 −1 variants/proxlighttrinkey_m0/variant.h
  62. +1 −1 variants/pyportal_m4/variant.h
  63. +1 −1 variants/pyportal_m4_titano/variant.h
  64. +3 −3 variants/qtpy_m0/variant.cpp
  65. +14 −1 variants/rotarytrinkey_m0/variant.h
  66. +31 −0 variants/sht4xtrinkey_m0/debug_scripts/variant.gdb
  67. +216 −0 variants/sht4xtrinkey_m0/linker_scripts/gcc/flash_with_bootloader.ld
  68. +214 −0 variants/sht4xtrinkey_m0/linker_scripts/gcc/flash_without_bootloader.ld
  69. +28 −0 variants/sht4xtrinkey_m0/openocd_scripts/sht4xtrinkey_m0.cfg
  70. +21 −0 variants/sht4xtrinkey_m0/pins_arduino.h
  71. +52 −0 variants/sht4xtrinkey_m0/variant.cpp
  72. +188 −0 variants/sht4xtrinkey_m0/variant.h
  73. +14 −1 variants/slidetrinkey_m0/variant.h
  74. +31 −0 variants/thumbsticktrinkey_m0/debug_scripts/variant.gdb
  75. +216 −0 variants/thumbsticktrinkey_m0/linker_scripts/gcc/flash_with_bootloader.ld
  76. +214 −0 variants/thumbsticktrinkey_m0/linker_scripts/gcc/flash_without_bootloader.ld
  77. +28 −0 variants/thumbsticktrinkey_m0/openocd_scripts/sht4xtrinkey_m0.cfg
  78. +21 −0 variants/thumbsticktrinkey_m0/pins_arduino.h
  79. +52 −0 variants/thumbsticktrinkey_m0/variant.cpp
  80. +171 −0 variants/thumbsticktrinkey_m0/variant.h
  81. +6 −2 variants/trinket_m0/variant.h
  82. +31 −0 variants/trrstrinkey_m0/debug_scripts/variant.gdb
  83. +216 −0 variants/trrstrinkey_m0/linker_scripts/gcc/flash_with_bootloader.ld
  84. +214 −0 variants/trrstrinkey_m0/linker_scripts/gcc/flash_without_bootloader.ld
  85. +28 −0 variants/trrstrinkey_m0/openocd_scripts/sht4xtrinkey_m0.cfg
  86. +21 −0 variants/trrstrinkey_m0/pins_arduino.h
  87. +64 −0 variants/trrstrinkey_m0/variant.cpp
  88. +207 −0 variants/trrstrinkey_m0/variant.h
38 changes: 13 additions & 25 deletions .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
@@ -7,37 +7,30 @@ jobs:
strategy:
fail-fast: false
matrix:
arduino-platform:
board:
# Alphabetical order
- 'metro_m0'
- 'hallowing'
- 'circuitplayground_m0'
- 'feather_m4_can'
- 'hallowing'
- 'hallowing_m4'
- 'metro_m0'
- 'metro_m4'
- 'pybadge_m4'
- 'pygamer_m4'
- 'hallowing_m4'
- 'pyportal_m4'
- 'pyportal_m4_titano'
- 'feather_m4_can'
# with TinyUSB
- 'metro_m0:usbstack=tinyusb'
- 'metro_m4:speed=120,usbstack=tinyusb'

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
uses: actions/checkout@v4
with:
submodules: 'true'

- 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
@@ -52,7 +45,6 @@ jobs:
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
@@ -63,11 +55,7 @@ jobs:
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
arduino-cli lib install "Adafruit NeoPixel" "Adafruit seesaw Library" "Adafruit SPIFlash" "FlashStorage" "MIDI Library" "SD" "SdFat - Adafruit Fork"
- 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
run: python3 tools/build_all.py ${{ matrix.board }}
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +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
Loading