Tony DiCola
fffc6d1a17
atmel-samd: Add modules directory with frozen bytecode support (like ESP8266 port), and NeoPixel python wrapper module.
2016-10-14 11:39:42 +00:00
Scott Shawcroft
011056af15
atmel-samd: Add support for SPI.
...
Also separate out the ASF config headers that are shared across all boards.
2016-10-11 15:48:43 -07:00
Scott Shawcroft
284d3414e1
atmel-samd: Make UART REPL Arduino Zero specific. Most will use USB REPL.
2016-10-07 15:06:07 -07:00
Tony DiCola
9c67605233
atmel-samd: Add low level neopixel_write module & function for WS281x/neopixel RGB LEDs.
2016-10-05 12:35:23 -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
0e1fd9a12c
atmel-samd: Support ampy get and fix USB dropping characters.
...
Fixes #2 .
2016-09-21 15:13:37 -07:00
Scott Shawcroft
005122e581
atmel-samd: Remove path specific to me.
2016-09-20 15:16:12 -07:00
Scott Shawcroft
0f4f4c7544
atmel-samd: Add sys, fix import and increase the size of the heap.
2016-09-19 16:56:42 -07:00
Scott Shawcroft
7fd84e93f4
atmel-samd: Support raw repl and soft reset to support ampy.
...
Closes #1 . Also adds TX and RX led support on the Arduino Zero.
2016-09-15 17:01:19 -07:00
Scott Shawcroft
7d8929c470
atmel-samd: Add I2C support.
...
This commit also introduces a new shared-bindings directory which is used to store the common Python -> C binding code. By having a shared directory we can ensure that the Python API across ports is the same. Each port will have a corresponding common-hal directory which provides definitions for the C api used in the shared-bindings code. That way the compiler can enforce the C api.
To migrate to this new shared API create a common-hal directory within your port and change the Makefile to compile both the shared-bindings and common-hal files. See atmel-samd/Makefile SRC_BINDINGS for an example.
2016-09-13 11:46:22 -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
559434afca
atmel-samd: Support floats.
2016-08-31 13:37:43 -07:00
Scott Shawcroft
a6bc701917
atmel-samd: Re-enable -Os (size) optimizations.
2016-08-31 00:16:39 -07:00
Scott Shawcroft
eff137a5f5
atmel/samd: Support CTRL-C on USB. This won't escape native code but it will cause Python code to stop.
2016-08-31 00:11:56 -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
b883a15d82
atmel-samd: Rename module classes so they don't conflict with names from ASF.
2016-08-28 00:02:05 -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
3cb4938c63
atmel-samd: Support Digital IO pins.
...
Also bumps up the heap size.
2016-08-24 17:38:08 -07:00
Scott Shawcroft
258804ab16
atmel-samd: Add limited time module support.
2016-08-24 13:17:55 -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