Hello,
I'm new to this development environment and trying to get one of your projects to build for the nRF9151-DK. I recently installed everything with the latest versions (IDE, SDK, toolchain) and then I tried to create a new project using your existing code. I let the software examine devices attached to the USB port to determine this DK and then I selected the "serial_lte_modem" project. That's the end of what worked.
I tried to add a new build configuration and left most things default. I have the toolchains v3.0.1 and v2.9.0 on my drive so I tried each of those. I can only select the SDK v2.9.0 even though it says that I have v3.0.1 installed. I had to change the board target to nrf9151dk/nrf9151 (/ns) <---tried both. It will not generate and build. It tried to come up with the nRF9131 and I tried that in case it was compatible and supposed to be selected. It failed too.
I'm just trying to get a project running and learn how to program a board without changing a single line of code in your project and it is disappointing that it can't even do that. After messing with options, the number of problems has dropped from 20 to 8 and the main problems seems to be with build scripts.
I'll do a lite dump of some logs:
C:/Users/mweston/workspace_3/serial_lte_modem/prj.conf:67: warning: attempt to assign the value 'y' to the undefined symbol DOWNLOADER
Parsing C:/Users/mweston/workspace_3/serial_lte_modem/Kconfig
Loaded configuration 'C:/Users/mweston/workspace_3/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns_defconfig'
Merged configuration 'C:/Users/mweston/workspace_3/serial_lte_modem/prj.conf'
Merged configuration 'C:/Users/mweston/workspace_3/serial_lte_modem/boards/nrf9151dk_nrf9151_ns.conf'
Merged configuration 'C:/Users/mweston/workspace_3/serial_lte_modem/build_1/serial_lte_modem/zephyr/.config.sysbuild'
C:/Users/mweston/workspace_3/serial_lte_modem/prj.conf:68: warning: attempt to assign the value '4096' to the undefined symbol DOWNLOADER_STACK_SIZE
C:/Users/mweston/workspace_3/serial_lte_modem/prj.conf:69: warning: attempt to assign the value '2048' to the undefined symbol DOWNLOADER_MAX_FILENAME_SIZE
C:/Users/mweston/workspace_3/serial_lte_modem/prj.conf:87: warning: attempt to assign the value 'y' to the undefined symbol NRF_CLOUD
error: Aborting due to Kconfig warnings
CMake Error at C:/Users/mweston/workspace_3/zephyr/cmake/modules/kconfig.cmake:396 (message):
command failed with return code: 1
-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
CMake configure failed for Zephyr project: serial_lte_modem
-- Configuring incomplete, errors occurred!
See also "C:/Users/mweston/workspace_3/serial_lte_modem/build_1/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe '-Bc:\Users\mweston\workspace_3\serial_lte_modem\build_1' -GNinja -DBOARD=nrf9151dk/nrf9151/ns -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/users/mweston/workspace_3/serial_lte_modem '-SC:\Users\mweston\workspace_3\zephyr\share\sysbuild' '-DAPP_DIR:PATH=c:\Users\mweston\workspace_3\serial_lte_modem'
Am I missing a support package? It seems like everything nRF_xxxxx is installed. This is not any special case where I am trying to customize the build. I just want to do a straight up "out of the box" build. I have your YouTube video series open "nRF Connect for VS Code" but I can't proceed because it didn't fail in the video.
Thanks for your assistance!
Michael