blob: 9c09d46e68e545b9f63b89727d3982b5d19516ac (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Kconfig settings for LPC176x processors
if MACH_LPC176X
config LPC_SELECT
bool
default y
select HAVE_GPIO
select HAVE_GPIO_ADC
select HAVE_GPIO_I2C
select HAVE_GPIO_SPI
select HAVE_GPIO_BITBANGING
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 100000000 if MACH_LPC1768
default 120000000 if MACH_LPC1769
config FLASH_SIZE
hex
default 0x80000
config RAM_START
hex
default 0x10000000
config RAM_SIZE
hex
default 0x7fe0 # (0x8000 - 32) - top 32 bytes used by IAP functions
config STACK_SIZE
int
default 512
config SMOOTHIEWARE_BOOTLOADER
bool "Target board uses Smoothieware bootloader"
default y
config FLASH_START
hex
default 0x4000 if SMOOTHIEWARE_BOOTLOADER
default 0x0000
config USBSERIAL
bool "Use USB for communication (instead of serial)"
default y
config SERIAL
depends on !USBSERIAL
bool
default y
endif
|