blob: a3d4d56d9c22b998fc1200504ee4b5276467e42a (
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
|
# Kconfig settings for SAMD21 processors
if MACH_SAMD21
config SAMD_SELECT
bool
default y
select HAVE_GPIO
select HAVE_GPIO_BITBANGING
config BOARD_DIRECTORY
string
default "samd21"
config CLOCK_FREQ
int
default 48000000
choice
prompt "Bootloader offset"
config FLASH_START_0000
bool "No bootloader"
config FLASH_START_2000
bool "8KiB bootloader (Arduino Zero)"
config FLASH_START_4000
bool "16KiB bootloader (Arduino M0)"
endchoice
config FLASH_START
hex
default 0x4000 if FLASH_START_4000
default 0x2000 if FLASH_START_2000
default 0x0000
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
|