2015-04-20 15:36:09 +02:00
|
|
|
-- LPCXpresso LPC1769 build configuration
|
|
|
|
|
|
|
|
return {
|
|
|
|
cpu = 'lpc1769',
|
|
|
|
components = {
|
2015-04-24 14:37:20 +02:00
|
|
|
sercon = { uart = "cdc", speed = 115200 },
|
2015-04-20 15:36:09 +02:00
|
|
|
romfs = true,
|
|
|
|
shell = true,
|
2015-04-23 23:34:09 +02:00
|
|
|
cdc = true,
|
2015-04-20 15:36:09 +02:00
|
|
|
term = { lines = 25, cols = 80 },
|
|
|
|
linenoise = { shell_lines = 10, lua_lines = 50 },
|
|
|
|
rpc = { uart = 0, speed = 115200 },
|
|
|
|
adc = { buf_size = 4 },
|
2015-04-21 14:59:52 +02:00
|
|
|
xmodem = true
|
2015-04-20 15:36:09 +02:00
|
|
|
},
|
|
|
|
config = {
|
|
|
|
egc = { mode = "alloc" },
|
2015-04-20 23:50:10 +02:00
|
|
|
ram = { internal_rams = 2 },
|
2015-04-23 14:22:00 +02:00
|
|
|
clocks = { external = 12000000, cpu = 120000000 },
|
2015-04-24 14:30:27 +02:00
|
|
|
-- P0.0 UART3 TX, P0.1 UART3 RX, P0.29 USB D+, P0.30 USB D-, P1.18 USB_UP_LED, P2.9 USB CONNECT
|
2015-04-23 14:46:22 +02:00
|
|
|
map_pins = {
|
2015-04-24 14:30:27 +02:00
|
|
|
port = { 0, 0, 0, 0, 1, 2 },
|
|
|
|
pin = { 0, 1, 29, 30, 18, 9 },
|
|
|
|
pinfunction = { 2, 2, 1, 1, 1, 1 }
|
2015-04-23 14:22:00 +02:00
|
|
|
}
|
2015-04-20 15:36:09 +02:00
|
|
|
},
|
|
|
|
modules = {
|
|
|
|
generic = { 'all', "-spi", "-i2c", "-net" },
|
|
|
|
platform = 'all',
|
|
|
|
platform_name = 'lpcxpresso'
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|