Error building the (new) Serial Modem

When following through the process described on GitHub for the NCS_SERIAL_MODEM I get an error during the build. I am following the steps described in the readme exactly as indicated.

https://github.com/nrfconnect/ncs-serial-modem

Error message is...

C:/GTdev/Nordic/serial_modem/project/app/build/mcuboot/zephyr/.config.sysbuild:38: warning: attempt to assign the value 'n' to the undefined symbol BOOT_RAM_LOAD_REVERTLoaded configuration 'C:/ncs/v3.1.1/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig'

I know this is early code, but since Serial LTE Modem is slated for EOL I wanted to move forward with my testing.

Thank you,

Greg

  • I didn't note the directory for sure, but I believe it was C:\ncs\v3.1.0\bootloader\mcuboot\boot\zephyr\boards

    I drilled into that folder structure since it was referenced just before the error

    Parsing C:/ncs/v3.1.1/bootloader/mcuboot/boot/zephyr/Kconfig
    C:/GTdev/Nordic/serial_modem/project/app/build/mcuboot/zephyr/.config.sysbuild:38: warning: attempt to assign the value 'n' to the undefined symbol BOOT_RAM_LOAD_REVERTLoaded configuration 'C:/ncs/v3.1.1/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig'
    Merged configuration 'C:/GTdev/Nordic/serial_modem/project/app/sysbuild/mcuboot/prj.conf'
    Merged configuration 'C:/ncs/v3.1.1/nrf/modules/mcuboot/tfm.conf'
    Merged configuration 'C:/GTdev/Nordic/serial_modem/project/app/build/mcuboot/zephyr/.config.sysbuild'
    
    
    error: Aborting due to Kconfig warnings

  • Hi,

    nrf9151-dk board.dts should be correctly found during build in serial_modem\zephyr\boards\nordic\nrf9151dk folder.

    Can you try to choose NCS v3.2.0-preview2 and Toolchain v3.1.0?
    I have tested building serial_modem with this build configuration successfully.

    Best regards,
    Dejan

  • Since my last message, I deleted my workspace and recreated the steps listed in the readme. In a fresh 3.1.0 environment the build succeeds. Possibly the first environment might have had an initial reference to 3.1.1. 

    Please go ahead and close this ticket.

Related