I'm doing some project cleanup and one of the weird errors/warnings concerns the Zephyr include files. In the IDE, I see errors like this all over the place:
You would think this would be a fatal error but the project builds fine. I guess I may need to add something in my CMakeLists.txt where all the include paths are customarily set up. Here's what mine looks like:
# SPDX-License-Identifier: Apache-2.0 cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(cm_fw_core) target_sources(app PRIVATE src/main.c src/cm_jparser.c src/cm_mproc.c src/cm_utils.c src/cm_write_vout.c src/cm_read_analog.c src/cm_gpio.c src/lm5176.c src/cm_control_loop.c ) include_directories( include )
How can I fix this to remove the error/warning in the IDE?