diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 13:37:19 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 13:37:19 +0000 |
commit | 937efbc9b64d9ac5c10136e8d1e4fb359a6bdda6 (patch) | |
tree | c4bdb12be1bd62a663e6046c1b7ef995c3199a9d /os/hal/platforms/AT91SAM7/pal_lld.h | |
parent | 03933a5925ac71e4662d6152fad2237377a532cd (diff) | |
download | ChibiOS-937efbc9b64d9ac5c10136e8d1e4fb359a6bdda6.tar.gz ChibiOS-937efbc9b64d9ac5c10136e8d1e4fb359a6bdda6.tar.bz2 ChibiOS-937efbc9b64d9ac5c10136e8d1e4fb359a6bdda6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1357 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/AT91SAM7/pal_lld.h')
-rw-r--r-- | os/hal/platforms/AT91SAM7/pal_lld.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/os/hal/platforms/AT91SAM7/pal_lld.h b/os/hal/platforms/AT91SAM7/pal_lld.h index e2c836818..ad1fad249 100644 --- a/os/hal/platforms/AT91SAM7/pal_lld.h +++ b/os/hal/platforms/AT91SAM7/pal_lld.h @@ -27,7 +27,7 @@ #ifndef _PAL_LLD_H_
#define _PAL_LLD_H_
-#include "board.h"
+#if CH_HAL_USE_PAL || defined(__DOXYGEN__)
/*===========================================================================*/
/* Unsupported modes and specific modes */
@@ -62,7 +62,7 @@ typedef struct { /** @brief Port 0 setup data.*/
at91sam7_pio_setup_t P0Data;
#if (SAM7_PLATFORM == SAM7X128) || (SAM7_PLATFORM == SAM7X256) || \
- (SAM7_PLATFORM == SAM7X256) || defined(__DOXYGEN__)
+ (SAM7_PLATFORM == SAM7X512) || defined(__DOXYGEN__)
/** @brief Port 1 setup data.*/
at91sam7_pio_setup_t P1Data;
#endif
@@ -99,7 +99,7 @@ typedef AT91PS_PIO ioportid_t; * @brief PIO port B identifier.
*/
#if (SAM7_PLATFORM == SAM7X128) || (SAM7_PLATFORM == SAM7X256) || \
- (SAM7_PLATFORM == SAM7X256) || defined(__DOXYGEN__)
+ (SAM7_PLATFORM == SAM7X512) || defined(__DOXYGEN__)
#define IOPORT2 AT91C_BASE_PIOB
#endif
@@ -235,6 +235,8 @@ typedef AT91PS_PIO ioportid_t; */
#define pal_lld_writepad(port, pad, bit) pal_lld_writegroup(port, 1, pad, bit)
+extern const AT91SAM7PIOConfig pal_default_config;
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -246,6 +248,8 @@ extern "C" { }
#endif
+#endif /* CH_HAL_USE_PAL */
+
#endif /* _PAL_LLD_H_ */
/** @} */
|