-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
60 lines (44 loc) · 1.31 KB
/
Kconfig
File metadata and controls
60 lines (44 loc) · 1.31 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
# SPDX-License-Identifier: Apache-2.0
menu "Zephyr"
source "Kconfig.zephyr"
endmenu
module = APP_TEMPLATE
module-str = APP TEMPLATE
config BOARD_OVERLAY_PRESENT
bool
default $(dt_nodelabel_exists,oresat_demo)
if BOARD_OVERLAY_PRESENT
menu "Oresat demo options"
config BLINK_DEMO
bool "Blink an LED"
default y
help
Enable the thread which blinks an LED.
config I2C_SENSOR_DEMO
bool "Enable monitoring an I2C sensor"
default y
help
Enable reading from a Bosch Sensortec BME280.
config DAC_DEMO
bool "Enable generation of a sawtooth pattern."
default y
help
Enable a slowly repeating sawtooth from 0 to 3.3v.
config ADC_DEMO
bool "Enable monitoring one or more ADC channels."
default y
help
Outputs the data scaled to mV.
if ADC_DEMO
config SEQUENCE_SAMPLES
int "Number of samples to be made on the sequence for each channel."
default 5
config SEQUENCE_RESOLUTION
int "Set the resolution of the sequence readings."
default 12
config SEQUENCE_32BITS_REGISTERS
bool "ADC data sequences are on 32bits"
default n
endif # ADC_DEMO
endmenu
endif # BOARD_OVERLAY_PRESENT