Skip to content

Commit 0fd0659

Browse files
committed
Merge remote-tracking branch 'adafruit/master' into no-win10-cpx-adafruit
2 parents bdfe4a9 + 80daae0 commit 0fd0659

File tree

322 files changed

+19150
-5593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+19150
-5593
lines changed

CHANGELOG

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
SAMD CORE ?.?.?? ????.??.??
2+
3+
SAMD CORE 1.6.18 2018.03.05
4+
5+
* Wire: Added support for general call (broadcast)
6+
* SPI: Added SPI.notUsingInterrupt(...) API
7+
* Fixed build errors if variant disabled USB
8+
* Wire: TX and RX buffers are now 256 bytes (previously was 64 bytes)
9+
* Added samd21e sercom compatibility. Thanks @mitchellpontague
10+
* Fixed lock ups when outputting to UART during ISR
11+
* Wire: correct I2C frequency calculations, and allow variant to overide default pull up resistor rise time
12+
* USB: Fixed build errors when CDC_ENABLED was not set. Thanks @gdsports
13+
14+
SAMD CORE 1.6.17 2017.11.29
15+
16+
* More accurate approximation for multiplication factor of PLL to make 48Mhz. Thanks @joverbee
17+
* Fix changing trigger mode (RISING/FALLING/...) in attachInterrupt(..) during runtime. Thanks @joverbee
18+
* Improved ISR response time. Thanks @joverbee
19+
* USB power current can now be overridden in the variant. Thanks @awatterott
20+
* UART's now support optional RTS and CTS pins defined in the variant.
21+
* Added support for MKR GSM 1400 and MKR WAN 1300
22+
23+
SAMD CORE 1.6.16 2017.08.23
24+
25+
* Is now possible to use PWM on D7 (though it can't be used with PWM on D12 at the same time). Thanks @Adminius
26+
* PWMs now can perform real 16-bit resolution if analogWriteResolution(16) is set. Thanks @Adminius
27+
* USB CDC: fixed issue of available() getting stuck when receiving ZLP's
28+
* Serial (UART) tx is now buffered.
29+
* Improved CRYSTALLESS stability. Thanks @tannewt
30+
* Some fixes to Adafruit Circuit Playground Express variant. Thanks @ladyada
31+
* Updated Stream and Print class
32+
* Native USB now supports USB Serial Number
33+
* Fixed pgm_read_ptr compatibility macro. Thanks @nkrkv
34+
35+
SAMD CORE 1.6.15 2017.04.27
36+
37+
* Added missing Windows driver for MKRFox1200
38+
* Added SDU support for MKRFox1200
39+
40+
SAMD CORE 1.6.14 2017.04.04
41+
42+
* Fixed platform definition for openocd
43+
* Added bootloader definitions for MKRFox1200
44+
* Added lowpower function on USB subsystem
45+
146
SAMD CORE 1.6.13 2017.03.31
247

348
* Added SDU (SD card Updater) library.

README.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,8 @@ for Atmel's SAMD21 and SAMD51 processor (used on the Arduino/Genuino Zero, MKR10
55

66
In particular, this adds support for the Adafruit SAMD Boards such as the Feather M0
77

8-
## ATSAMD51 Installation on Arduino IDE
9-
10-
The ATSAMD51 is a significantly new chip, so this is a detailed process for now! For the SAMD21, please install via the board manager (no extra steps required)
11-
12-
1. Install Arduino IDE 1.8.5 or greater
13-
2. Install/update the Adafruit SAMD board support package if you have installed it
14-
3. Now we need to update CMSIS! Download https://github.com/adafruit/ArduinoModule-CMSIS-Atmel/archive/master.zip and unzip
15-
4. Find your Arduino CMSIS, in Mac its "~/Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.1.0/CMSIS" version # may vary, you'll need "Go to folder..." feature in the Finder to get to " ~/Library/Arduino15" as it is hidden. In Windows it is "C:\Users\yourusername\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.1.0\CMSIS" Inside is a folder named Device
16-
17-
For Linux: the Arduino stuff is located in ~/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.1.0/CMSIS
18-
19-
5. Inside the downloaded CMSIS zip, go into the CMSIS-Atmel/CMSIS folder, you should see a folder named Device. *DRAG THE DEVICE FOLDER ONLY* from the zip to your arduino Library folder so that Device is merged with Device. It will replace a bunch of files.
20-
21-
For Linux, it may be better to just delete the original Device Folder then copy over the new one - the drag/drop worked ok on MACOS, but not so well on my Linux box.
22-
23-
6. You will also need to replace bossac. For Windows or Mac: Go here https://github.com/adafruit/BOSSA/releases and download either windows exe or mac app of latest bossac. unzip. Go to Step 12.
24-
25-
For Linux users it is best to build a copy of bossac locally -
26-
clone the Adafruit Repostitory to somewhere on your local machine.
27-
```
28-
git clone https://github.com/adafruit/BOSSA.git
29-
change to the arduino branch
30-
git checkout arduino
31-
```
32-
Follow the instructions to build bossac in README.md or at https://github.com/adafruit/BOSSA/tree/arduino.
33-
34-
7. Replace the binary at ".../Library/Arduino15/packages/arduino/tools/bossac/1.7.0/bossac" or "...\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0\bossac"
35-
8. On Windows 7 you will also need to install the updated serial driver, download https://github.com/adafruit/Adafruit_Windows_Drivers/archive/master.zip to get all the drivers, and point the Device Manager to the unzipped folder. It isn't signed, so just approve the installation manually.
36-
13. That's it!
37-
388
## Bugs or Issues
399

40-
## Known Issues for SAMD51:
4110
* AREF must be tied to 3.3V for dac to work. This is a bug in the SAMD51 silicon.
4211
* USB host mode doesn't work yet
4312

boards.txt

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ adafruit_feather_m0.build.mcu=cortex-m0plus
3232
adafruit_feather_m0.build.f_cpu=48000000L
3333
adafruit_feather_m0.build.usb_product="Feather M0"
3434
adafruit_feather_m0.build.usb_manufacturer="Adafruit"
35-
adafruit_feather_m0.build.board=SAMD_FEATHER_M0
35+
adafruit_feather_m0.build.board=SAMD_ZERO
3636
adafruit_feather_m0.build.core=arduino
3737
adafruit_feather_m0.build.extra_flags=-DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_FEATHER_M0 -D__SAMD21G18A__ {build.usb_flags}
3838
adafruit_feather_m0.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
@@ -127,6 +127,7 @@ adafruit_metro_m0.build.pid=0x8013
127127
adafruit_metro_m0.bootloader.tool=openocd
128128
adafruit_metro_m0.bootloader.file=metroM0/bootloader-metro_m0-v2.0.0-adafruit.5.bin
129129

130+
#
130131
# Adafruit Circuit Playground M0
131132
# ------------------------------
132133
adafruit_circuitplayground_m0.name=Adafruit Circuit Playground Express
@@ -408,4 +409,34 @@ adafruit_hallowing.build.variant_system_lib=
408409
adafruit_hallowing.build.vid=0x239A
409410
adafruit_hallowing.build.pid=0xDEAD
410411
adafruit_hallowing.bootloader.tool=openocd
411-
adafruit_hallowing.bootloader.file=hallowingM0/bootloader-hallowing_m0-v2.0.0-adafruit.0-21-g887cc30.bin
412+
adafruit_hallowing.bootloader.file=hallowingM0/bootloader-hallowing_m0-v2.0.0-adafruit.0-21-g887cc30.bin
413+
414+
adafruit_crickit_m0.name=Adafruit Crickit M0
415+
adafruit_crickit_m0.vid.0=0x239A
416+
adafruit_crickit_m0.pid.0=0x802D
417+
adafruit_crickit_m0.vid.1=0x239A
418+
adafruit_crickit_m0.pid.1=0x002D
419+
adafruit_crickit_m0.vid.2=0x239A
420+
adafruit_crickit_m0.pid.2=0x802D
421+
adafruit_crickit_m0.upload.tool=bossac
422+
adafruit_crickit_m0.upload.protocol=sam-ba
423+
adafruit_crickit_m0.upload.maximum_size=262144
424+
adafruit_crickit_m0.upload.offset=0x2000
425+
adafruit_crickit_m0.upload.use_1200bps_touch=true
426+
adafruit_crickit_m0.upload.wait_for_upload_port=true
427+
adafruit_crickit_m0.upload.native_usb=true
428+
adafruit_crickit_m0.build.mcu=cortex-m0plus
429+
adafruit_crickit_m0.build.f_cpu=48000000L
430+
adafruit_crickit_m0.build.usb_product="Crickit M0"
431+
adafruit_crickit_m0.build.usb_manufacturer="Adafruit"
432+
adafruit_crickit_m0.build.board=CRICKIT_M0
433+
adafruit_crickit_m0.build.core=arduino
434+
adafruit_crickit_m0.build.extra_flags=-DCRYSTALLESS -DADAFRUIT_CRICKIT_M0 -D__SAMD21G18A__ -DARM_MATH_CM0PLUS {build.usb_flags}
435+
adafruit_crickit_m0.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
436+
adafruit_crickit_m0.build.openocdscript=openocd_scripts/arduino_zero.cfg
437+
adafruit_crickit_m0.build.variant=crickit_m0
438+
adafruit_crickit_m0.build.variant_system_lib=
439+
adafruit_crickit_m0.build.vid=0x239A
440+
adafruit_crickit_m0.build.pid=0x802D
441+
adafruit_crickit_m0.bootloader.tool=openocd
442+
adafruit_crickit_m0.bootloader.file=crickit/samd21_sam_ba.bin
7.1 KB
Binary file not shown.
1.2 MB
Binary file not shown.

0 commit comments

Comments
 (0)