Receive LPC24XX_OSCILLATOR_RTC, LPC24XX_OSCILLATOR_MAIN through bspopts.h.

This commit is contained in:
Ralf Corsepius
2008-12-11 10:19:47 +00:00
parent 59e73519ad
commit 3129783ce4

View File

@@ -28,18 +28,12 @@
*/
#define LPC24XX_OSCILLATOR_INTERNAL 4000000U
#ifdef LPC2478
/**
* @brief Main oscillator frequency in [Hz].
*/
#define LPC24XX_OSCILLATOR_MAIN 12000000U
#if !defined(LPC24XX_OSCILLATOR_MAIN)
#error unknown main oscillator frequency
#endif
/**
* @brief RTC oscillator frequency in [Hz].
*/
#define LPC24XX_OSCILLATOR_RTC 32768
#else
#error Unknown oscillator frequencies
#if !defined(LPC24XX_OSCILLATOR_RTC)
#error unknown rtc oscillator frequency
#endif
/**