summaryrefslogtreecommitdiff
path: root/atmel-samd/asf/sam0/utils
AgeCommit message (Collapse)Author
2017-09-22Move to ASF4 and introduce SAMD51 support. (#258)3.0.0-alpha.0Scott Shawcroft
* atmel-samd: Remove ASF3. This will break builds. * atmel-samd: Add ASF4 for the SAMD21 and SAMD51. * Introduce the supervisor concept to facilitate porting. The supervisor is the code which runs individual MicroPython VMs. By splitting it out we make it more consistent and easier to find. This also adds very basic SAMD21 and SAMD51 support using the supervisor. Only the REPL currently works. This begins the work for #178.
2017-05-15atmel-samd: Add a safe mode which detects hard faults and reboots without ↵Scott Shawcroft
running user code again.
2017-02-26atmel-samd: Use link time optimization to reduce code size of builds whichScott Shawcroft
share space with the file system. "Express" builds with SPI flash crash the compiler for some reason so its currently disabled for them.
2017-01-30Add frequency changing support to PWMOut.Scott Shawcroft
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.
2016-10-04atmel-samd: Add Micro Trace Buffer support to the debug build.Scott Shawcroft
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-08-23Add support for REPL on Arduino Zero through EDBG via UART.Scott Shawcroft
2016-08-22Blinking the LED works. Clocks should be set up correctly.Scott Shawcroft
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.