Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dts: mcxn947: Fix input key error #72889

Conversation

zejiang0jason
Copy link
Contributor

Fix the compile error when input driver is enabled. Error message:
In file included from zephyr/zephyr/include/zephyr/sys/util_macro.h:34,
from zephyr/zephyr/include/zephyr/irq_multilevel.h:15,
from zephyr/zephyr/include/zephyr/devicetree.h:20,
from zephyr/zephyr/include/zephyr/device.h:12,
from zephyr/zephyr/drivers/input/input_gpio_keys.c:9:
zephyr/zephyr/include/zephyr/toolchain/gcc.h:87:36: error: static assertion failed:
"zephyr-code must be specified to use the input-gpio-keys driver"

Fix the compile error when input driver is enabled.
Error message:
In file included from zephyr/zephyr/include/zephyr/sys/util_macro.h:34,
                 from zephyr/zephyr/include/zephyr/irq_multilevel.h:15,
                 from zephyr/zephyr/include/zephyr/devicetree.h:20,
                 from zephyr/zephyr/include/zephyr/device.h:12,
                 from zephyr/zephyr/drivers/input/input_gpio_keys.c:9:
zephyr/zephyr/include/zephyr/toolchain/gcc.h:87:36:
error: static assertion failed:
"zephyr-code must be specified to use the input-gpio-keys driver"

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
@zejiang0jason
Copy link
Contributor Author

for early use. refer: #71406 (review)

@dleach02 dleach02 added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label May 16, 2024
@nashif nashif merged commit c98c388 into zephyrproject-rtos:main May 16, 2024
26 checks passed
@zejiang0jason zejiang0jason deleted the bugfix/frdm_mcxn947_input_key_error branch May 17, 2024 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: NXP NXP Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants