[target][lpc4337xpresso] absorb the 'generic' 43xx project

This commit is contained in:
Brian Swetland
2015-07-26 12:19:16 -07:00
parent 65aceadb1e
commit 5747ede097
4 changed files with 11 additions and 9 deletions

View File

@@ -1,5 +0,0 @@
MODULES += \
app/shell \
lib/debugcommands
TARGET := lpc43xx-generic

View File

@@ -0,0 +1,6 @@
MODULES += \
lib/debugcommands \
app/shell \
app/udctest
TARGET := lpcxpresso4337

View File

@@ -28,9 +28,10 @@
void target_early_init(void)
{
// UART2 on P1.15 (TX) and P1.16 (RX)
writel(PIN_MODE(1) | PIN_PLAIN, PIN_CFG(1, 15));
writel(PIN_MODE(1) | PIN_PLAIN | PIN_INPUT, PIN_CFG(1, 16));
// UART1 on P6.4 (TX) and P2.1 (RX)
// LpcXpresso4337 P4 FTDI header
writel(PIN_MODE(2) | PIN_PLAIN, PIN_CFG(6, 4));
writel(PIN_MODE(1) | PIN_PLAIN | PIN_INPUT, PIN_CFG(2, 1));
}
void target_init(void)

View File

@@ -6,7 +6,7 @@ PLATFORM := lpc43xx
GLOBAL_DEFINES += \
CRYSTAL_FREQ=12000000 \
TARGET_DEBUG_UART=3 \
TARGET_DEBUG_UART=1 \
TARGET_DEBUG_BAUDRATE=3000000
GLOBAL_INCLUDES += \