summaryrefslogtreecommitdiff
path: root/components/drivers/Kconfig
diff options
context:
space:
mode:
authorguo <[email protected]>2022-12-03 12:07:44 +0800
committerGitHub <[email protected]>2022-12-03 12:07:44 +0800
commitecf2d8215961ca7c539132b62a72df6072cc3e14 (patch)
tree59005f0f74f2593c0435059264f624c862a89f55 /components/drivers/Kconfig
parentaaf5462c6d4ae9466a0a8cd2a4bb00cfe1fef2f2 (diff)
sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
Diffstat (limited to 'components/drivers/Kconfig')
-rwxr-xr-xcomponents/drivers/Kconfig108
1 files changed, 101 insertions, 7 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index af4132f4e2..da0211683f 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -4,6 +4,10 @@ config RT_USING_DEVICE_IPC
bool "Using device drivers IPC"
default y
+config RT_UNAMED_PIPE_NUMBER
+ int "The number of unamed pipe"
+ default 64
+
if RT_USING_DEVICE_IPC
config RT_USING_SYSTEM_WORKQUEUE
bool "Using system default workqueue"
@@ -45,6 +49,17 @@ menuconfig RT_USING_SERIAL
default 64
endif
+config RT_USING_TTY
+ bool "Using TTY SYSTEM"
+ depends on RT_USING_LWP
+ default y
+
+if RT_USING_TTY
+ config RT_TTY_DEBUG
+ bool "Using TTY DEBUG"
+ default n
+endif
+
config RT_USING_CAN
bool "Using CAN device drivers"
default n
@@ -86,6 +101,12 @@ if RT_USING_CPUTIME
default y
depends on ARCH_ARM_CORTEX_M0 || ARCH_ARM_CORTEX_M3 || ARCH_ARM_CORTEX_M4 || ARCH_ARM_CORTEX_M7
select PKG_USING_PERF_COUNTER
+ config RT_USING_CPUTIME_RISCV
+ bool "Use rdtime instructions for CPU time"
+ default y
+ depends on ARCH_RISCV64
+ help
+ Some RISCV64 MCU Use rdtime instructions read CPU time.
endif
config RT_USING_I2C
@@ -123,7 +144,19 @@ config RT_USING_ADC
config RT_USING_DAC
bool "Using DAC device drivers"
default n
-
+
+config RT_USING_NULL
+ bool "Using NULL device drivers"
+ default n
+
+config RT_USING_ZERO
+ bool "Using ZERO device drivers"
+ default n
+
+config RT_USING_RANDOM
+ bool "Using RANDOM device drivers"
+ default n
+
config RT_USING_PWM
bool "Using PWM device drivers"
default n
@@ -182,6 +215,19 @@ config RT_USING_PM
endif
endif
+config RT_USING_FDT
+ bool "Using fdt interface for device drivers"
+ default n
+ if RT_USING_FDT
+ config RT_USING_FDTLIB
+ bool "Using fdt lib for device drivers"
+ default y
+ config FDT_USING_DEBUG
+ bool "Using fdt debug function "
+ default n
+
+ endif
+
config RT_USING_RTC
bool "Using RTC device drivers"
default n
@@ -322,13 +368,8 @@ config RT_USING_SENSOR
if RT_USING_SENSOR
config RT_USING_SENSOR_CMD
- bool "Enable sensor commands"
- select PKG_USING_RT_VSNPRINTF_FULL
+ bool "Using Sensor cmd"
default y
-
- config RT_USING_SENSOR_DOUBLE_FLOAT
- bool "Using double floating as sensor data type"
- default n
endif
config RT_USING_TOUCH
@@ -340,6 +381,10 @@ config RT_USING_TOUCH
default n
endif
+config RT_USING_LCD
+ bool "Using LCD graphic drivers"
+ default n
+
menuconfig RT_USING_HWCRYPTO
bool "Using Hardware Crypto drivers"
default n
@@ -520,6 +565,11 @@ if RT_USING_INPUT_CAPTURE
default 100
endif
+config RT_USING_DEV_BUS
+ bool "Using Device Bus device drivers"
+ default y if RT_USING_LWP
+ default n if !RT_USING_LWP
+
menuconfig RT_USING_WIFI
bool "Using Wi-Fi framework"
default n
@@ -671,6 +721,50 @@ menuconfig RT_USING_WIFI
endif
endif
+menuconfig RT_USING_VIRTIO
+ bool "Using VirtIO device drivers"
+ default n
+
+ if RT_USING_VIRTIO
+ choice
+ prompt "VirtIO Version"
+ default RT_USING_VIRTIO10
+
+ config RT_USING_VIRTIO10
+ bool "VirtIO v1.0"
+ endchoice
+
+ config RT_USING_VIRTIO_MMIO_ALIGN
+ bool "Using VirtIO MMIO alignment"
+ default y
+
+ config RT_USING_VIRTIO_BLK
+ bool "Using VirtIO BLK"
+ default y
+
+ config RT_USING_VIRTIO_NET
+ bool "Using VirtIO NET"
+ default y
+
+ menuconfig RT_USING_VIRTIO_CONSOLE
+ bool "Using VirtIO Console"
+ default y
+
+ if RT_USING_VIRTIO_CONSOLE
+ config RT_USING_VIRTIO_CONSOLE_PORT_MAX_NR
+ int "Max number of port in VirtIO Console"
+ default 4
+ endif
+
+ config RT_USING_VIRTIO_GPU
+ bool "Using VirtIO GPU"
+ default y
+
+ config RT_USING_VIRTIO_INPUT
+ bool "Using VirtIO Input"
+ default y
+ endif
+
menu "Using USB"
config RT_USING_USB
bool