aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-06 22:07:17 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-06 22:07:17 +0000
commitd5f443f74d551831ef4f93c043f70b53d9b1008b (patch)
tree599b517e171ed7258776d3960ac6e3908855a1aa /demos/ARM7-LPC214x-GCC
parent35b0454ddb7ac3b9a7b4142c7c04be4570a29798 (diff)
downloadChibiOS-d5f443f74d551831ef4f93c043f70b53d9b1008b.tar.gz
ChibiOS-d5f443f74d551831ef4f93c043f70b53d9b1008b.tar.bz2
ChibiOS-d5f443f74d551831ef4f93c043f70b53d9b1008b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@732 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC')
-rw-r--r--demos/ARM7-LPC214x-GCC/board.c6
-rw-r--r--demos/ARM7-LPC214x-GCC/mmcsd.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/demos/ARM7-LPC214x-GCC/board.c b/demos/ARM7-LPC214x-GCC/board.c
index 9d6d77fc7..69aed08f3 100644
--- a/demos/ARM7-LPC214x-GCC/board.c
+++ b/demos/ARM7-LPC214x-GCC/board.c
@@ -119,7 +119,7 @@ void hwinit1(void) {
/*
* Interrupt vectors assignment.
*/
- lpc214x_vic_init();
+ vic_init();
VICDefVectAddr = (IOREG32)IrqHandler;
/*
@@ -137,8 +137,8 @@ void hwinit1(void) {
/*
* Other subsystems.
*/
- lpc2148x_serial_init(1, 2);
- lpc214x_ssp_init();
+ serial_init(1, 2);
+ ssp_init();
InitMMC();
InitBuzzer();
diff --git a/demos/ARM7-LPC214x-GCC/mmcsd.c b/demos/ARM7-LPC214x-GCC/mmcsd.c
index 10e6c6c5b..292b450d5 100644
--- a/demos/ARM7-LPC214x-GCC/mmcsd.c
+++ b/demos/ARM7-LPC214x-GCC/mmcsd.c
@@ -167,7 +167,7 @@ bool_t mmcInit(void) {
/*
* Starting initialization with slow clock mode.
*/
- lpc214x_ssp_setup(254, CR0_DSS8BIT | CR0_FRFSPI | CR0_CLOCKRATE(0), 0);
+ ssp_setup(254, CR0_DSS8BIT | CR0_FRFSPI | CR0_CLOCKRATE(0), 0);
/*
* SPI mode selection.
@@ -200,7 +200,7 @@ bool_t mmcInit(void) {
/*
* Full speed.
*/
- lpc214x_ssp_setup(2, CR0_DSS8BIT | CR0_FRFSPI | CR0_CLOCKRATE(0), 0);
+ ssp_setup(2, CR0_DSS8BIT | CR0_FRFSPI | CR0_CLOCKRATE(0), 0);
return FALSE;
}