forked from zephyrproject-rtos/ArduinoCore-zephyr
-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathKconfig
More file actions
70 lines (56 loc) · 1.5 KB
/
Kconfig
File metadata and controls
70 lines (56 loc) · 1.5 KB
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
#
# Copyright (c) 2022 Dhruva Gole
#
# SPDX-License-Identifier: Apache-2.0
#
config ARDUINO_API
bool "ARDUINO_API"
imply CPP
imply GPIO
imply I2C
imply NEWLIB_LIBC_FLOAT_PRINTF
imply CBPRINTF_FP_SUPPORT
imply RING_BUFFER
select UART_INTERRUPT_DRIVEN
default n
if ARDUINO_API
config QEMU_ICOUNT
bool "QEMU icount mode"
default n
depends on QEMU_TARGET
config ARDUINO_API_SERIAL_BUFFER_SIZE
int "Buffer size for Arduino Serial API"
default 64
config ARDUINO_ENTRY
bool "Provide arduino setup and loop entry points"
default y
config ARDUINO_MAX_TONES
int "Maximum number of tones that can be played simultaneously with tone()"
default -1
help
Specify the maximum number of tones that can be played simultaneously with tone().
If set to -1 (or any other negative value), the maximum number will be
determined from the system's digital pin configuration.
config ARDUINO_DELAY_US_COMPENSATION
int "delayMicroseconds() compensation value (us)"
default 1
range 0 2147483647
help
Compensation value, in microseconds, subtracted from the requested
delay in delayMicroseconds() to account for software overhead.
This can improve short-delay accuracy.
endif
if USB_DEVICE_STACK_NEXT
config USB_DEVICE_PRODUCT
string "USB Device Product"
default "Arduino Generic board"
config USB_DEVICE_MANUFACTURER
string "USB Device Manufacturer"
default "Arduino"
config USB_DEVICE_VID
hex "USB Device Vendor ID"
default 0x2341
config USB_DEVICE_PID
hex "USB Device Product ID"
default 0x0001
endif