blob: fa80c4635bb21e0d6b177dadc003ea1628203c51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Kconfig settings for LPC176x processors
if MACH_LPC176X
config LPC_SELECT
bool
default y
select HAVE_GPIO
select HAVE_GPIO_ADC
config BOARD_DIRECTORY
string
default "lpc176x"
choice
prompt "Processor model"
config MACH_LPC1768
bool "lpc1768 (100 Mhz)"
config MACH_LPC1769
bool "lpc1769 (120 Mhz)"
endchoice
config CLOCK_FREQ
int
default 25000000 if MACH_LPC1768 # 100000000 / 4
default 30000000 if MACH_LPC1769 # 120000000 / 4
config USBSERIAL
bool "Use USB for communication (instead of serial)"
default y
config SERIAL
depends on !USBSERIAL
bool
default y
config SERIAL_BAUD
depends on SERIAL
int "Baud rate for serial port"
default 250000
endif
|