Add support for the SAM4L Xplained Pro I/O1 module

This commit is contained in:
Gregory Nutt
2013-06-15 10:56:08 -06:00
parent 07215e64be
commit 0112ad14ba
13 changed files with 382 additions and 51 deletions
+5 -5
View File
@@ -213,7 +213,7 @@
*
************************************************************************************/
extern void weak_function sam_spiinitialize(void);
void weak_function sam_spiinitialize(void);
/************************************************************************************
* Name: sam_usbinitialize
@@ -223,7 +223,7 @@ extern void weak_function sam_spiinitialize(void);
*
************************************************************************************/
extern void weak_function sam_usbinitialize(void);
void weak_function sam_usbinitialize(void);
/****************************************************************************
* Name: sam_hsmciinit
@@ -234,7 +234,7 @@ extern void weak_function sam_usbinitialize(void);
****************************************************************************/
#ifdef CONFIG_SAM34_HSMCI
extern int weak_function sam_hsmciinit(void);
int weak_function sam_hsmciinit(void);
#else
# define sam_hsmciinit()
#endif
@@ -256,7 +256,7 @@ void up_ledinit(void);
****************************************************************************/
#ifdef CONFIG_SAM34_HSMCI
extern bool sam_cardinserted(unsigned char slot);
bool sam_cardinserted(unsigned char slot);
#else
# define sam_cardinserted(slot) (false)
#endif
@@ -270,7 +270,7 @@ extern bool sam_cardinserted(unsigned char slot);
****************************************************************************/
#ifdef CONFIG_SAM34_HSMCI
extern bool sam_writeprotected(unsigned char slot);
bool sam_writeprotected(unsigned char slot);
#else
# define sam_writeprotected(slot) (false)
#endif