Complete vnd7050aj module integration
- Move DTS binding from project root to module folder - Update module.yml to use correct dts_root path - Restructure module for better organization and portability - All module files now self-contained in modules/vnd7050aj/ Module structure: - CMakeLists.txt: Uses zephyr_library for proper integration - Kconfig: Module configuration options - dts/bindings/: Device tree binding definitions - include/: Public header files - src/: Module source code - zephyr/module.yml: Module discovery and configuration Build verified successful on both x86 and ARM targets.
This commit is contained in:
34
modules/vnd7050aj/Kconfig
Normal file
34
modules/vnd7050aj/Kconfig
Normal file
@@ -0,0 +1,34 @@
|
||||
# VND7050AJ Driver Configuration
|
||||
|
||||
config VND7050AJ
|
||||
bool "VND7050AJ driver"
|
||||
default y
|
||||
help
|
||||
Enable the VND7050AJ driver for interfacing with VND7050AJ devices.
|
||||
This driver provides basic functionality for VND7050AJ operations.
|
||||
|
||||
if VND7050AJ
|
||||
|
||||
config VND7050AJ_INIT_PRIORITY
|
||||
int "VND7050AJ initialization priority"
|
||||
default 80
|
||||
help
|
||||
VND7050AJ driver initialization priority. This should be set to a value
|
||||
that ensures the driver is initialized after the required subsystems
|
||||
(like GPIO, I2C, SPI) but before application code runs.
|
||||
|
||||
config VND7050AJ_LOG_LEVEL
|
||||
int "VND7050AJ Log level"
|
||||
depends on LOG
|
||||
default 3
|
||||
range 0 4
|
||||
help
|
||||
Sets log level for VND7050AJ driver.
|
||||
Levels are:
|
||||
0 OFF, do not write
|
||||
1 ERROR, only write LOG_ERR
|
||||
2 WARNING, write LOG_WRN in addition to previous level
|
||||
3 INFO, write LOG_INF in addition to previous levels
|
||||
4 DEBUG, write LOG_DBG in addition to previous levels
|
||||
|
||||
endif # VND7050AJ
|
||||
Reference in New Issue
Block a user