forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
62 lines (46 loc) · 1.1 KB
/
Kconfig
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
# Kconfig - PWM configuration options
#
# Copyright (c) 2015 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig PWM
bool "PWM (Pulse Width Modulation) Drivers"
default n
help
Enable config options for PWM drivers.
if PWM
config SYS_LOG_PWM_LEVEL
int
prompt "PWM Driver Log level"
depends on SYS_LOG
default 0
range 0 4
help
Sets log level for PWM drivers.
Levels are:
0 OFF, do not write
1 ERROR, only write SYS_LOG_ERR
2 WARNING, write SYS_LOG_WRN in addition to previous level
3 INFO, write SYS_LOG_INF in addition to previous levels
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config PWM_0
bool "Enable PWM port 0"
default n
config PWM_1
bool "Enable PWM port 1"
default n
config PWM_2
bool "Enable PWM port 2"
default n
config PWM_3
bool "Enable PWM port 3"
default n
source "drivers/pwm/Kconfig.pca9685"
source "drivers/pwm/Kconfig.qmsi"
source "drivers/pwm/Kconfig.dw"
source "drivers/pwm/Kconfig.stm32"
source "drivers/pwm/Kconfig.nrf5_sw"
source "drivers/pwm/Kconfig.mcux_ftm"
source "drivers/pwm/Kconfig.esp32"
endif # PWM