forked from zephyrproject-rtos/ArduinoCore-zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
44 lines (37 loc) · 972 Bytes
/
Kconfig
File metadata and controls
44 lines (37 loc) · 972 Bytes
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
#
# 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 USE_ARDUINO_API_RUST_IMPLEMENTATION
bool "Use Rust implementation API core"
select RUST
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 a negative value, the maximum number will be determined from the
system's digital pin configuration.
endif