I am using ncs sdk, my projects are under ~/zephyr-workspace. This is from an example project - blinkypwm. The clangd compiler shows the following erro: In included file: "_DSP_PRESENT and CONFIG_ARMV8_M_DSP are not set to the same value. I am on an ubuntu linux system and developing on a text editor (nvim). The ncs sdk is in ~/ncs. I have installed the zephyr toolchain and have initialized a west workspace.
I understand that this is a configuration mismatch in the Zephyr RTOS build system. The error indicates that there's an inconsistency between the settings in my build configuration, for:
_DSP_PRESENT
: Hardware capability flagCONFIG_ARMV8_M_DSP
: Software configuration flag
Both of these are not in my proj.conf nor have I been able to find these exact one in kconfig using the gui interface menuconfig
Hence, I thought I could resolve this can resolve this by, adding the line to prj.conf
But then I get the following error on building the project. I tried searching for a similar option in kconfig using the gui interface, was unsuccessful.
If I remove the bool variable from proj.conf, the error is shown in the editor. Tho, the project builds and flashes into the nrf52832dk and functions are expected.
I really want to solve this error although for now it does not seem to cause any issues, unsure of its effects in future projects.
Any help would be appreciated.