forked from Imagelibrary/rtems
Receive LPC24XX_OSCILLATOR_RTC, LPC24XX_OSCILLATOR_MAIN through bspopts.h.
This commit is contained in:
@@ -28,18 +28,12 @@
|
|||||||
*/
|
*/
|
||||||
#define LPC24XX_OSCILLATOR_INTERNAL 4000000U
|
#define LPC24XX_OSCILLATOR_INTERNAL 4000000U
|
||||||
|
|
||||||
#ifdef LPC2478
|
#if !defined(LPC24XX_OSCILLATOR_MAIN)
|
||||||
/**
|
#error unknown main oscillator frequency
|
||||||
* @brief Main oscillator frequency in [Hz].
|
#endif
|
||||||
*/
|
|
||||||
#define LPC24XX_OSCILLATOR_MAIN 12000000U
|
|
||||||
|
|
||||||
/**
|
#if !defined(LPC24XX_OSCILLATOR_RTC)
|
||||||
* @brief RTC oscillator frequency in [Hz].
|
#error unknown rtc oscillator frequency
|
||||||
*/
|
|
||||||
#define LPC24XX_OSCILLATOR_RTC 32768
|
|
||||||
#else
|
|
||||||
#error Unknown oscillator frequencies
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user