diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARM7-LPC214x-G++/board.c | 6 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/board.c | 6 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC/board.c | 6 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC/mmcsd.c | 4 | ||||
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/board.c | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/demos/ARM7-LPC214x-G++/board.c b/demos/ARM7-LPC214x-G++/board.c index 2bced8d70..93227e0ed 100644 --- a/demos/ARM7-LPC214x-G++/board.c +++ b/demos/ARM7-LPC214x-G++/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-minimal/board.c b/demos/ARM7-LPC214x-GCC-minimal/board.c index b234cb7a1..76e4c7eb8 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/board.c +++ b/demos/ARM7-LPC214x-GCC-minimal/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/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;
}
diff --git a/demos/ARMCM3-STM32F103-GCC/board.c b/demos/ARMCM3-STM32F103-GCC/board.c index 6a13c126b..c545728ec 100644 --- a/demos/ARMCM3-STM32F103-GCC/board.c +++ b/demos/ARMCM3-STM32F103-GCC/board.c @@ -104,7 +104,7 @@ void hwinit1(void) { /*
* Other subsystems initialization.
*/
- InitSerial(0xC0, 0xC0, 0xC0);
+ stm32_serial_init(0xC0, 0xC0, 0xC0);
/*
* ChibiOS/RT initialization.
|