This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

case about ncs v1.9.0 example: serial_lte_modem load log

Hi,

1.How do I resolve this error?

2. waring line 93->line 165

3. error : line 104,line114, line128,line 138, 

Thank you for all your assistance.
Kind regards,
Peter.Min

  • Hello!

    You're getting the error because some file paths have backslashes instead of forward slashes:

    Syntax error in cmake code at

    D:/ncs/v1.9.0/peter/serial_lte_modem/build_nrf9160dk_nrf9160_ns/spm/child_image_preload.cmake:10

    when parsing string

    D:\ncs\v1.9.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py

    Do you know where these paths come from and why they would be formatted this way?

    Best regards,

    Einar

  • Hi Einarh,

    1.This is generated by your default project load, can you test the default routine yourself?

    Thank you for all your assistance.
    Kind regards,
    Peter.Min

  • Hi

    I don't get the syntax error you're getting when I compile the project. (using ncs 1.9 for VS code)

    There is a known issue related to the serial lte modem app not building in some cases, and I found this case on devzone very similar to your issue.

    Your problem is probably related but I think it's strange that I am able to build the project while you are not.

    You could try building in VS code and see if you still have the same issue?

    -Einar

  • Hi Einarh ,

    This is an error generated automatically by the LOAD project when using SES on Windows.

    I can't find a place to fix this error.

    This problem has been verified by multiple devices and does exist.

    Thank you for all your assistance.
    Kind regards,
    Peter.Min

  • Hello!

    I noticed in your screenshot you are using SES v5.68, while the newest version is v6.20.

    Could you try building again in the newest version?

    -Einar

Related