diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-06 17:40:24 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-06 17:40:24 +0000 |
commit | 1ddd49eec7be60413d5054937ee1a1c001842769 (patch) | |
tree | 4826e224810d14ba396582952cd614bb9f2da925 /demos/ARM7-LPC214x-GCC | |
parent | 87805ba16625d490475be626372a87d7c53e700c (diff) | |
download | ChibiOS-1ddd49eec7be60413d5054937ee1a1c001842769.tar.gz ChibiOS-1ddd49eec7be60413d5054937ee1a1c001842769.tar.bz2 ChibiOS-1ddd49eec7be60413d5054937ee1a1c001842769.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@725 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC')
-rw-r--r-- | demos/ARM7-LPC214x-GCC/board.c | 6 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC/mmcsd.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/demos/ARM7-LPC214x-GCC/board.c b/demos/ARM7-LPC214x-GCC/board.c index 8e0bcfb34..9d6d77fc7 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.
*/
- InitVIC();
+ lpc214x_vic_init();
VICDefVectAddr = (IOREG32)IrqHandler;
/*
@@ -137,8 +137,8 @@ void hwinit1(void) { /*
* Other subsystems.
*/
- InitSerial(1, 2);
- InitSSP();
+ lpc2148x_serial_init(1, 2);
+ lpc214x_ssp_init();
InitMMC();
InitBuzzer();
diff --git a/demos/ARM7-LPC214x-GCC/mmcsd.c b/demos/ARM7-LPC214x-GCC/mmcsd.c index bd1997fce..10e6c6c5b 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.
*/
- SetSSP(254, CR0_DSS8BIT | CR0_FRFSPI | CR0_CLOCKRATE(0), 0);
+ lpc214x_ssp_setup(254, CR0_DSS8BIT | CR0_FRFSPI | CR0_CLOCKRATE(0), 0);
/*
* SPI mode selection.
@@ -200,7 +200,7 @@ bool_t mmcInit(void) { /*
* Full speed.
*/
- SetSSP(2, CR0_DSS8BIT | CR0_FRFSPI | CR0_CLOCKRATE(0), 0);
+ lpc214x_ssp_setup(2, CR0_DSS8BIT | CR0_FRFSPI | CR0_CLOCKRATE(0), 0);
return FALSE;
}
|