diff options
Diffstat (limited to 'demos/ARM7-LPC214x-GCC/board.c')
-rw-r--r-- | demos/ARM7-LPC214x-GCC/board.c | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/demos/ARM7-LPC214x-GCC/board.c b/demos/ARM7-LPC214x-GCC/board.c index 9c4c7e335..f81d2329a 100644 --- a/demos/ARM7-LPC214x-GCC/board.c +++ b/demos/ARM7-LPC214x-GCC/board.c @@ -17,17 +17,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <ch.h>
-#include <pal.h>
-#include <serial.h>
+#include "ch.h"
+#include "hal.h"
-#include "vic.h"
#include "lpc214x_ssp.h"
-
-#include "board.h"
#include "mmcsd.h"
#include "buzzer.h"
+#define VAL_TC0_PRESCALER 0
+
/*
* Timer 0 IRQ handling here.
*/
@@ -45,18 +43,6 @@ static CH_IRQ_HANDLER(T0IrqHandler) { }
/*
- * Digital I/O ports static configuration as defined in @p board.h.
- */
-static const LPC214xFIOConfig config =
-{
- VAL_PINSEL0,
- VAL_PINSEL1,
- VAL_PINSEL2,
- {VAL_FIO0PIN, VAL_FIO0DIR},
- {VAL_FIO1PIN, VAL_FIO1DIR}
-};
-
-/*
* Early initialization code.
* This initialization is performed just after reset before BSS and DATA
* segments initialization.
|