From 7a4b5c472fd67b3c4e58ebe621b7f33412e308bc Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 8 Apr 2010 17:38:20 +0000 Subject: Added LPC1343 report. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1860 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/LPC13xx/hal_lld.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'os/hal/platforms/LPC13xx') diff --git a/os/hal/platforms/LPC13xx/hal_lld.h b/os/hal/platforms/LPC13xx/hal_lld.h index fee051aee..abe15ada5 100644 --- a/os/hal/platforms/LPC13xx/hal_lld.h +++ b/os/hal/platforms/LPC13xx/hal_lld.h @@ -183,10 +183,9 @@ /** * @brief AHB clock. */ -#if (LPC13xx_SYSCLK <= 50000000) || defined(__DOXYGEN__) #define LPC13xx_SYSCLK (LPC13xx_MAINCLK / LPC13xx_SYSABHCLK_DIV) -#else -#error "AHB clock frequency out of the acceptable range (50MHz max)" +#if LPC13xx_SYSCLK > 72000000 +#error "AHB clock frequency out of the acceptable range (72MHz max)" #endif /** -- cgit v1.2.3