Hi.
I'm trying to build the LVGL sample from Zephyr for nRF7002DK (target nrf7002dk_nrf5340_cpuapp) using version 2.5.0 of nRF Connect SDK, but it shows the same error inconsistently (there have been some times I have managed to build succesfully, but now I can't reproduce it). Also I've set the shield adafruit_2_8_tft_touch_v2 in CMakeLists.txt. The times it has actually built without issues it has also failed again as soon as I have added some configurations to prj.conf but reverting the file to the original configurations does not make it work again, keeping the same error while building even selecting pristine build or just deleting the build folder. This is the output:
In file included from C:/ncs/v2.5.0/zephyr/include/zephyr/sys/util_macro.h:34, from C:/ncs/v2.5.0/zephyr/include/zephyr/sys/util.h:17, from C:/ncs/v2.5.0/zephyr/include/zephyr/devicetree.h:25, from C:/ncs/v2.5.0/zephyr/include/zephyr/device.h:12, from C:/ncs/v2.5.0/zephyr/drivers/input/input_gpio_keys.c:9: C:/ncs/v2.5.0/zephyr/include/zephyr/toolchain/gcc.h:81:36: error: static assertion failed: "zephyr-code must be specified to use the input-gpio-keys driver" 81 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, "" MSG)
Considering this behaviour it seems it's a problem with the SDK, either when building succesfully or not, but I can't find a solution.
Thanks.