* added cmsis file for SAMD21.

* updated SAMD21J18A files to avoid build errors.
pull/1243/head
akhilpanayam 2015-07-08 11:37:05 +05:30 committed by Karthik Purushothaman
parent 58e94998b3
commit 0c9b55bf52
3 changed files with 1202 additions and 9 deletions

View File

@ -44,7 +44,6 @@
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
//#include "samd21.h"
#include "samd21j18a.h"
/**
* Initial system clock frequency. The System RC Oscillator (RCSYS) provides

View File

@ -20,23 +20,25 @@
#define DEVICE_PORTOUT 1
#define DEVICE_PORTINOUT 1
#define DEVICE_INTERRUPTIN 0
#define DEVICE_INTERRUPTIN 1
#define DEVICE_ANALOGIN 0
#define DEVICE_ANALOGIN 1
#define DEVICE_ANALOGOUT 0
#define DEVICE_SERIAL 0
#define DEVICE_SERIAL_FC 0
#define DEVICE_SERIAL 1
#define DEVICE_SERIAL_FC 1
#define DEVICE_SERIAL_ASYNCH 1
#define DEVICE_I2C 0
#define DEVICE_I2CSLAVE 0
#define DEVICE_SPI 0
#define DEVICE_SPISLAVE 0
#define DEVICE_SPI 1
#define DEVICE_SPISLAVE 1
#define DEVICE_SPI_ASYNCH 1
#define DEVICE_CAN 0
#define DEVICE_RTC 0
#define DEVICE_RTC 1
#define DEVICE_ETHERNET 0
@ -47,7 +49,7 @@
#define DEVICE_ID_LENGTH 0
#define DEVICE_MAC_OFFSET 0
#define DEVICE_SLEEP 0
#define DEVICE_SLEEP 1
#define DEVICE_DEBUG_AWARENESS 0