diff options
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 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;
}
|