samples: drivers: kscan: enable logging, and add RK055HDMIPI4M shield

Enable logging by default in kscan sample, so that user will see output
even if they do not have a keyboard connected that follows the keymap.
Add a specific testcase for boards that support the RK055HDMIPI4M
display.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2023-03-06 16:58:35 -06:00 committed by David Leach
commit 158feb641a
2 changed files with 14 additions and 1 deletions

View file

@ -1,4 +1,4 @@
CONFIG_STDOUT_CONSOLE=y
CONFIG_PRINTK=y
CONFIG_KSCAN=y
CONFIG_LOG=y

View file

@ -13,3 +13,16 @@ tests:
- "kb data(.*)"
fixture: fixture_connect_keyboard
depends_on: kscan
filter: dt_chosen_enabled("zephyr,keyboard-scan")
sample.drivers.kscan.rk055hdmipi4m:
tags: drivers kscan
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "kb data(.*)"
fixture: fixture_connect_rk055hdmipi4m
depends_on: kscan
extra_args: SHIELD="rk055hdmipi4m"
platform_allow: mimxrt1170_evk_cm7 mimxrt595_evk_cm33