Hi. I can't build the hello_dect example using cmake, the build process is failed with the following error:
In file included from /home/cybermag/ncs/nrf/modules/trusted-firmware-m/tfm_boards/partition/region_defs.h:10,
from /home/cybermag/ncs/modules/tee/tf-m/trusted-firmware-m/platform/ext/common/gcc/tfm_common_s.ld:25:
/home/cybermag/ncs/nrf/modules/trusted-firmware-m/tfm_boards/partition/flash_layout.h:10:10: fatal error: pm_config.h: No such file or directory
10 | #include <pm_config.h>
| ^~~~~~~~~~~~~
compilation terminated.
Steps which lead to that behavior:
1. go to nrf/samples/dect/dect_phy/hello_dect
2. Add set(BOARD "nrf9151dk/nrf9151/ns") to CMakeLists.txt (I want to build non secure firmware)
3. cmake -S . -B build
4. cmake --build build
can you give me some advice how to fix it?
BTW, I can build the sample using west:
west build -b nrf9151dk_nrf9151 -p always -- -DEXTRA_CONF_FILE=overlay-eu.conf -DBOARD=nrf9151dk/nrf9151/ns
but I need working cmake for my project.