summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc24xx/start/system-clocks.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/lpc24xx/start/system-clocks.c')
-rw-r--r--bsps/arm/lpc24xx/start/system-clocks.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bsps/arm/lpc24xx/start/system-clocks.c b/bsps/arm/lpc24xx/start/system-clocks.c
index f64fca1bed..8a2f62b4b0 100644
--- a/bsps/arm/lpc24xx/start/system-clocks.c
+++ b/bsps/arm/lpc24xx/start/system-clocks.c
@@ -61,8 +61,11 @@ void lpc24xx_timer_initialize(void)
/* Start timer */
T1TCR = TCR_EN;
+}
- rtems_counter_initialize_converter(LPC24XX_PCLK);
+uint32_t _CPU_Counter_frequency(void)
+{
+ return LPC24XX_PCLK;
}
CPU_Counter_ticks _CPU_Counter_read(void)