NxWM::CTouchscreen: Add CONFIG_NXWM_TOUCHSCREEN_DEVINIT to suppress attempts to initialize the touchscreen from NxWM in the kernel build
This commit is contained in:
parent
346abf470b
commit
b6c31e3f9f
@ -738,6 +738,22 @@ if NXWM_TOUCHSCREEN
|
||||
|
||||
comment "Touchscreen device settings"
|
||||
|
||||
config NXWM_TOUCHSCREEN_DEVINIT
|
||||
bool "Touchscreen Device Initialization"
|
||||
default y
|
||||
depends on !NUTTX_KERNEL
|
||||
---help---
|
||||
It this option is selected, then the NxWM:CTouchscreen listener
|
||||
thread will call a function arch_tcinitialize(NXWM_TOUCHSCREEN_DEVNO)
|
||||
in order to instantiate the touchscreen driver at path
|
||||
NXWM_TOUCHSCREEN_DEVPATH. If NXWM_TOUCHSCREEN_DEVINIT is not
|
||||
selected, then the NxWM:CTouchscreen listener thread will assume
|
||||
that the driver has already been initialized at
|
||||
NXWM_TOUCHSCREEN_DEVPATH.
|
||||
|
||||
NOTE that in the kernel build, all touchscreen initialize must be
|
||||
performed in kernel logic prior to the execution of NxWM.
|
||||
|
||||
config NXWM_TOUCHSCREEN_DEVNO
|
||||
int "Touchscreen Device Number"
|
||||
default 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user