Skip to content

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 <[email protected]>
@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
@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.

5 participants