[target][lpc4337xpresso] absorb the 'generic' 43xx project
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
MODULES += \
|
||||
app/shell \
|
||||
lib/debugcommands
|
||||
|
||||
TARGET := lpc43xx-generic
|
||||
6
project/lpcxpresso4337-test.mk
Normal file
6
project/lpcxpresso4337-test.mk
Normal file
@@ -0,0 +1,6 @@
|
||||
MODULES += \
|
||||
lib/debugcommands \
|
||||
app/shell \
|
||||
app/udctest
|
||||
|
||||
TARGET := lpcxpresso4337
|
||||
@@ -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)
|
||||
@@ -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 += \
|
||||
Reference in New Issue
Block a user