summaryrefslogtreecommitdiff
path: root/atmel-samd/shared_dma.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2017-09-22 18:05:51 -0700
committerDan Halbert <halbert@halwitz.org>2017-09-22 21:05:51 -0400
commit6839fff31303463d5c7942387fa498895edf1abf (patch)
treef4c5b94c6534c8d5c65ea6b7209cd2d681508f5f /atmel-samd/shared_dma.c
parent3ad01ddb04b160b74b4baee9fce043da17dbcef5 (diff)
Move to ASF4 and introduce SAMD51 support. (#258)3.0.0-alpha.0
* 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.
Diffstat (limited to 'atmel-samd/shared_dma.c')
-rw-r--r--atmel-samd/shared_dma.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/atmel-samd/shared_dma.c b/atmel-samd/shared_dma.c
index 461798366..5dc8cde43 100644
--- a/atmel-samd/shared_dma.c
+++ b/atmel-samd/shared_dma.c
@@ -23,15 +23,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+
+#include <stdbool.h>
#include "shared_dma.h"
#include "py/gc.h"
#include "py/mpstate.h"
-#include "asf/sam0/drivers/events/events.h"
-#include "asf/sam0/drivers/system/interrupt/system_interrupt.h"
-#include "asf/sam0/drivers/tc/tc.h"
-
#undef ENABLE
// We allocate two DMA resources for the entire lifecycle of the board (not the