Operating System
Windows 11
What happened ?
hello_world sample compiles and flashes, but I am finding build issues with the sample builds.
Goal is to provision TLS Certificates for a build that connects to AWS IoT Core, successfully tested on nrf9161-dk.
Provisioning certificates via AT commands with modem_shell Serial was not successful (ERROR).
Have tested with sdk-nrf v2.9.1 and v3.1.0.
How to reproduce ?
Follow getting started, then build sample.
Logs and console output
samples/at_client:
`$$/nrf/include/modem/nrf_modem_lib.h:10:10: fatal error: nrf_modem.h: No such file or directory
10 | #include <nrf_modem.h>
| ^~~~~~~~~~~~~
compilation terminated.
[48/231] Building C object $$/zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
ninja: build stopped: subcommand failed.
FAILED: [code=1]`
applications/modem_shell:
`error: Aborting due to Kconfig warnings
-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message):
CMake configure failed for Zephyr project: modem_shell
Location:
$$/nrf9151-connectkit/applications/modem_shell
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:21 (include)
$$/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
$$/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
$$/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' -DWEST_PYTHON=$$/.venv/Scripts/python.exe '-B $$\nrf9151-connectkit\build' -GNinja -DBOARD=nrf9151_connectkit/nrf9151/ns '-S $$\zephyr\share\sysbuild' '-DAPP_DIR:PATH=$$\nrf9151-connectkit\applications\modem_shell'`
Screenshots
No response
Operating System
Windows 11
What happened ?
hello_world sample compiles and flashes, but I am finding build issues with the sample builds.
Goal is to provision TLS Certificates for a build that connects to AWS IoT Core, successfully tested on nrf9161-dk.
Provisioning certificates via AT commands with modem_shell Serial was not successful (ERROR).
Have tested with sdk-nrf v2.9.1 and v3.1.0.
How to reproduce ?
Follow getting started, then build sample.
Logs and console output
samples/at_client:
`$$/nrf/include/modem/nrf_modem_lib.h:10:10: fatal error: nrf_modem.h: No such file or directory
10 | #include <nrf_modem.h>
| ^~~~~~~~~~~~~
compilation terminated.
[48/231] Building C object $$/zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
ninja: build stopped: subcommand failed.
FAILED: [code=1]`
applications/modem_shell:
`error: Aborting due to Kconfig warnings
-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message):
CMake configure failed for Zephyr project: modem_shell
Location:
$$/nrf9151-connectkit/applications/modem_shell
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:21 (include)
$$/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
$$/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
$$/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!$$\nrf9151-connectkit\build' -GNinja -DBOARD=nrf9151_connectkit/nrf9151/ns '-S $$ \zephyr\share\sysbuild' '-DAPP_DIR:PATH=$$\nrf9151-connectkit\applications\modem_shell'`
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' -DWEST_PYTHON=$$/.venv/Scripts/python.exe '-B
Screenshots
No response