blob: 25b82bd6b154074ca939f4e25f95d615d8776007 (
plain) (
blame)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
comment "LPC214x Configuration Options"
# Fragments of LPC214x chip selection logic. The LPC2148 is the only chip
# supported for now.
config ARCH_CHIP_LPC2148
bool
default y
comment "LPC214x Initialization Options"
choice
prompt "Memory Execution Mode"
default DEFAULT_MODE
config EXTMEM_MODE
bool "External Memory Mode"
---help---
Code executes from external memory starting at address 0x8000:0000.
config RAM_MODE
bool "RAM Memory Mode"
---help---
Code executes from on-chip RAM at address 0x4000:0000.
config DEFAULT_MODE
bool "Default Memory Mode"
---help---
Executes from 0x0000:0000. In non-default modes, the MEMAP register
is set override the settings of the CPU configuration pins.
endchoice
config CODE_BASE
hex "Execuation Base Address"
default 0x00000000
---help---
This must match the expected address for the selected "Memory
Execution Address":
EXTMEM_MODE: 0x8000:0000
RAM_MODE: 0x4000:0000
DEFAULT)MODE: 0x0000:0000
config PLL_SETUP
bool "Configure the PLL"
default y
config MAM_SETUP
bool "Configure the Memory Accelerator Module (MAM)"
default y
config APBDIV_SETUP
bool "Configure the APB Divider"
default y
config APBDIV_VALUE
int "APB Divisor"
default 1
config EMC_SETUP
bool "Configure EMC"
default n
config BCFG0_SETUP
bool "Configure BCFG0"
default n
config BCFG1_SETUP
bool "Configure BCFG1"
default n
config BCFG2_SETUP
bool "Configure BCFG2"
default n
config BCFG3_SETUP
bool "Configure BCFG3"
default n
config ADC_SETUP
bool "Configure ADC"
default y
menu "LPC214x Peripheral Support"
config LPC214X_UART0
bool
default y
select ARCH_HAVE_UART0
config LPC214X_UART1
bool
default y
select ARCH_HAVE_UART1
config LPC214X_USBDEV
bool "USB Device"
default y
depends on USBDEV
endmenu
config LPC214x_FIO
bool "Fast GPIO"
default n
if LPC214X_USBDEV
menu "LPC214x USB Device Configuration"
config LPC214X_USBDEV_DMA
bool "USB Device DMA Support"
default n
config LPC214X_USBDEV_NDMADESCRIPTORS
int "Number of USB DMA Descriptors"
default 8
depends on LPC214X_USBDEV_DMA
config LPC214X_USBDEV_EPFAST_INTERRUPT
bool "USB Device Fast Endpoint Interrupts"
default n
config LPC214X_USBDEV_FRAME_INTERRUPT
bool "USB Device Frame Interrupts"
default n
config LPC214X_USBDEV_REGDEBUG
bool "USB Device Register-Level Debug Output"
default n
depends on DEBUG
endmenu
endif
|