Scott Shawcroft
557ceded00
atmel-samd: Introduce audiobusio.PDMIn for recording audio from PDM
...
microphones.
2017-07-28 12:12:38 -07:00
Dan Halbert
2cd62b46cd
Fix USB Busy error for kbd hid. Made kbd USB report descriptor be
...
COMPILER_WORD_ALIGNED as done in #118 for mouse. Added COMPILER_WORD_ALIGNED
to other UDC_DESC_STORAGE declarations that might have the same issue in
the future.
2017-07-12 11:55:49 -07:00
Scott Shawcroft
974847ac8d
atmel-samd: Add a safe mode which detects hard faults and reboots without running user code again.
2017-05-15 15:29:04 -07:00
Scott Shawcroft
58b9789d0c
atmel-samd: Introduce audio sample playback via audioio.AudioOut.
2017-05-01 13:10:03 -07:00
Dan Halbert
2fe6b74e90
atmel-samd: HID report descriptor for mouse had to be COMPILER_WORD_ALIGNED.
2017-04-15 10:18:56 -04:00
Scott Shawcroft
d598c2a919
atmel-samd: Add USB HID mouse and keyboard support.
2017-02-27 15:43:58 +01:00
Scott Shawcroft
062fac1d43
atmel-samd: Use link time optimization to reduce code size of builds which
...
share space with the file system.
"Express" builds with SPI flash crash the compiler for some reason so its
currently disabled for them.
2017-02-26 01:00:33 +01:00
Scott Shawcroft
e3f9ee839a
Add frequency changing support to PWMOut.
...
You can either set it once up front, or set variable_frequency on custruction to
indicate that the frequency must be able to change. This informs whether a timer
can be shared amongst pins.
This also adds persistent clock calibration on atmel-samd. Once the device has
synced its clock frequency over USB it will remember that config value until USB
is used again. This helps ensure the clock frequency is similar on and off USB.
Lastly, this also corrects time.sleep() when on USB by correcting the tick counter.
2017-01-30 15:02:01 -08:00
Sebastian Plamauer
1598e44231
atmel-samd: Add preliminary support for UART
2016-12-19 13:03:50 -08:00
Scott Shawcroft
acc4fe4d7d
atmel-samd: Stop relying on an external crystal.
2016-11-07 12:37:38 -08:00
Scott Shawcroft
9008b93962
atmel-samd: Fix typo in ASF.
2016-10-28 20:12:24 -07:00
Scott Shawcroft
7e08347d5c
atmel-samd: Support composite CDC and mass storage USB device.
...
Be careful to not use the flash file system while using mass storage
because both pieces of code attempting to change the fs can corrupt it.
2016-10-05 11:07:29 -07:00
Scott Shawcroft
1fa4c20c27
atmel-samd: Add Micro Trace Buffer support to the debug build.
...
The Micro Trace Buffer records the history of the pc and can be used
to debug hard faults even when the stack trace is useless.
2016-10-04 16:13:33 -07:00
Scott Shawcroft
98458c56cc
atmel-samd: Remove debug flashes and comments.
2016-10-04 16:01:14 -07:00
Scott Shawcroft
05368d2c58
Include the precompiled math library from ASF.
2016-09-07 14:35:40 -07:00
Scott Shawcroft
09be96a6aa
atmel/samd: Add filesystem support. 64k is stored in flash.
2016-09-02 17:00:30 -07:00
Scott Shawcroft
ccb309bd5c
atmel/samd: Add basic PWM support which only allows for changing the duty.
2016-08-30 13:10:52 -07:00
Scott Shawcroft
16fc045509
atmel-samd: Add direct write access to the DAC output.
2016-08-27 15:04:34 -07:00
Scott Shawcroft
259ae8a39d
atmel-samd: Initial ADC support.
2016-08-26 17:01:38 -07:00
Scott Shawcroft
9485634d41
Add support for REPL on Arduino Zero through EDBG via UART.
2016-08-23 16:47:53 -07:00
Scott Shawcroft
8f26d181c3
Blinking the LED works. Clocks should be set up correctly.
...
Everything works fine without USB being plugged in but faults (I think) when USB is plugged in. This is switched away from the USB code from the bootloader onto the USB code thats generated by Atmel Studio using the high level classes from ASF.
2016-08-22 23:53:11 -07:00
Scott Shawcroft
a5f6cb3c57
Compiled and linked SAMD21x18 version successfully.
2016-08-22 23:53:10 -07:00