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 #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
/** /**