Skip to content
Snippets Groups Projects
Commit b6c31e3f authored by Gregory Nutt's avatar Gregory Nutt
Browse files

NxWM::CTouchscreen: Add CONFIG_NXWM_TOUCHSCREEN_DEVINIT to suppress attempts...

NxWM::CTouchscreen: Add CONFIG_NXWM_TOUCHSCREEN_DEVINIT to suppress attempts to initialize the touchscreen from NxWM in the kernel build
parent 346abf47
No related branches found
No related tags found
No related merge requests found
...@@ -738,6 +738,22 @@ if NXWM_TOUCHSCREEN ...@@ -738,6 +738,22 @@ if NXWM_TOUCHSCREEN
comment "Touchscreen device settings" 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 config NXWM_TOUCHSCREEN_DEVNO
int "Touchscreen Device Number" int "Touchscreen Device Number"
default 0 default 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment