blob: 17daf94b75edab6a783a9114326047ce18e86e52 (
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
choice
prompt "LPC31 Chip Selection"
default ARCH_CHIP_LPC3131
depends on ARCH_CHIP_LPC31XX
config ARCH_CHIP_LPC3130
bool "LPC3130"
config ARCH_CHIP_LPC3131
bool "LPC3131"
config ARCH_CHIP_LPC3152
bool "LPC3152"
config ARCH_CHIP_LPC3154
bool "LPC3154"
endchoice
choice
prompt "Toolchain Selection"
default LPC31_CODESOURCERYW
depends on ARCH_CHIP_LPC31XX
config LPC31_CODESOURCERYW
bool "CodeSourcery for Windows"
config LPC31_CODESOURCERYL
bool "CodeSourcery for Linux"
config LPC31_DEVKITARM
bool "DevkitARM (Windows)"
config LPC31_BUILDROOT
bool "NuttX buildroot (Cygwin or Linux)"
endchoice
menu "LPC31xx Memory Mapping"
config LPC31_EXTNAND
bool "Map external NAND"
default n
---help---
Map external NAND into the memory map.
config LPC31_EXTSDRAM
bool "Map external SDRAM"
default n
---help---
Map external SDRAM into the memory map.
config LPC31_EXTSDRAMHEAP
bool "Add external SDRAM to the heap"
default y
depends on LPC31_EXTSDRAM
---help---
Add external SDRAM into the heap.
config LPC31_EXTSDRAMSIZE
int "External SDRAM size"
depends on LPC31_EXTSDRAM
---help---
Size of the external SDRAM.
config LPC31_SDRAMHCLK
int "External SDRAM HCLK"
depends on LPC31_EXTSDRAM
---help---
The SDRAM HCLK may be specified here (if not, it will be calculated).
config LPC31_EXTSRAM0
bool "Map external SRAM0"
default n
---help---
Map external SRAM0 into the memory map.
config LPC31_EXTSRAM0HEAP
bool "Add external SRAM0 to the heap"
default y
depends on LPC31_EXTSRAM0
---help---
Add external SRAM0 into the heap.
config LPC31_EXTSRAM0SIZE
int "External SRAM size"
depends on LPC31_EXTSRAM0
---help---
Size of the external SRAM.
config LPC31_EXTSRAM1
bool "Map external SRAM0"
default n
---help---
Map external SRAM1 into the memory map.
config LPC31_EXTSRAM1HEAP
bool "Add external SRAM1 to the heap"
default y
depends on LPC31_EXTSRAM1
---help---
Add external SRAM1 into the heap.
config LPC31_EXTSRAM1SIZE
int "External SRAM1 size"
depends on LPC31_EXTSRAM1
---help---
Size of the external SRAM1.
endmenu
menu "LPC31xx Peripheral Support"
config LPC31_UART
bool "UART"
default n
select ARCH_HAVE_UART
config LPC31_SPI
bool "SPI"
default n
config LPC31_USB
bool "USB"
default n
config LPC31_MCI
bool "MCI"
default n
endmenu
menu "LPC31xx UART Configuration"
depends on LPC31_UART
config LPC31_UART_DIVADDVAL
int "BAUD pre-scaler divisor"
---help---
BAUD pre-scaler divisor
config LPC31_UART_DIVISOR
int "BAUD divisor"
---help---
BAUD divisor
config LPC31_UART_MULVAL
int "BAUD multiplier"
---help---
BAUD multiplier
endmenu
menu "USB device driver options"
config LPC31_USBDEV_EP0_MAXSIZE
int "EP0 Max packet size"
depends on USBDEV
default 64
---help---
Endpoint 0 maximum packet size. Default: 64
config LPC31_USBDEV_FRAME_INTERRUPT
bool "USB frame interrupt"
depends on USBDEV
default n
---help---
Handle USB Start-Of-Frame events. Enable reading SOF from interrupt
handler vs. simply reading on demand. Probably a bad idea... Unless
there is some issue with sampling the SOF from hardware asynchronously.
config LPC31_USBDEV_DMA
bool "Enable USB device DMA"
depends on USBDEV
default n
---help---
Enable lpc31xx-specific DMA support
config LPC31_USBDEV_REGDEBUG
bool "Register level debug"
depends on USBDEV && DEBUG
default n
---help---
Output detailed register-level USB device debug information. Requires also DEBUG.
endmenu
menu "SPI device driver options"
config LPC31_SPI_REGDEBUG
bool "SPI Register level debug"
depends on LPC31_SPI && DEBUG
default n
---help---
Output detailed register-level SPI device debug information. Requires also DEBUG.
endmenu
|