add UART support for ea4357 (tested)

This commit is contained in:
hathach
2013-01-17 14:40:46 +07:00
parent 480ddb4fec
commit c16632da0b
12 changed files with 88 additions and 42 deletions
+8 -3
View File
@@ -55,12 +55,17 @@
extern "C" {
#endif
#define CFG_LED_PORT (0)
#define CFG_LED_PIN (8)
#include "LPC43xx.h"
#include "lpc43xx_scu.h"
#include "lpc43xx_cgu.h"
#include "lpc43xx_gpio.h"
#include "lpc43xx_uart.h"
#define CFG_LED_NUMBER 0
#define CFG_LED_ON (1)
#define CFG_LED_OFF (0)
#define CFG_PRINTF_TARGET PRINTF_TARGET_DEBUG_CONSOLE
#define CFG_PRINTF_TARGET PRINTF_TARGET_UART
#ifdef __cplusplus
}