From c316a5ecbd651f63ab3c980e43206ea16882e1ed Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 2 Mar 2013 17:01:08 +0000 Subject: [PATCH] Corrections for LPC178x UART baud calculation git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5698 42af7a65-404d-4744-a932-0658087f49c3 --- configs/open1788/include/board.h | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/open1788/include/board.h b/configs/open1788/include/board.h index e03116cc9e1..b19c271e9f9 100644 --- a/configs/open1788/include/board.h +++ b/configs/open1788/include/board.h @@ -72,6 +72,7 @@ #define LPC17_CCLK 120000000 /* 120Mhz */ #define BOARD_PCLKDIV 2 /* Peripheral clock = LPC17_CCLK/2 */ +#define BOARD_PCLK_FREQUENCY (LPC17_CCLK / BOARD_PCLKDIV) /* Select the main oscillator as the frequency source. SYSCLK is then the frequency * of the main oscillator.