Problem with the file arm,sbsa-uart.yaml

HI,

I'm a beginner with Nordic chips and I'm learning how to program nRF9160 with Visual Studio Code. I downloaded nRF Connect SDK v2.3.0. I've tried different examples and it always appears the same problem in the file arm,sbsa-uart.yaml:

Despite this problem, I can build some examples, like AT Client, and it works well, but other ones don't, (for example, modem trace back end).

I will appreciate some help or ideas with this issue,

Alejandro Cuenca

Parents
  • Hi Alejandro,

    For the PROBLEMS reports, you can ignore this error, as it is not related to a nordic product and will never be used when building for nRF chips. 

    For the example building issue, could you show the building log from TERMINAL? We have a strict release process for NCS so there should not be any building issues with samples. I have built the modem trace backend sample myself and it worked as expected. Here you can see my building log:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    * Executing task: nRF Connect: Build [pristine]: modem_trace_backend/build (active)
    Building modem_trace_backend
    west build --build-dir c:\NCS\v2.3.0\nrf\samples\nrf9160\modem_trace_backend\build c:\NCS\v2.3.0\nrf\samples\nrf9160\modem_trace_backend --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DBOARD_ROOT:STRING="c:/NCS/myApps/ncs230_https_client_psm;c:/NCS/myApps/ncs230_https_client_psm_put;c:/NCS/myApps/ncs220_slm" -DCONF_FILE:STRING="c:/NCS/v2.3.0/nrf/samples/nrf9160/modem_trace_backend/prj.conf"
    -- west build: making build dir c:\NCS\v2.3.0\nrf\samples\nrf9160\modem_trace_backend\build pristine
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/NCS/v2.3.0/nrf/samples/nrf9160/modem_trace_backend
    -- Found Python3: C:/NCS/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Cache files will be written to: C:/NCS/v2.3.0/zephyr/.cache
    -- Zephyr version: 3.2.99 (C:/NCS/v2.3.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
    -- Found host-tools: zephyr 0.15.2 (C:/NCS/toolchains/v2.3.0/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.15.2 (C:/NCS/toolchains/v2.3.0/opt/zephyr-sdk)
    -- Found Dtc: C:/NCS/toolchains/v2.3.0/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/NCS/v2.3.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
    -- Generated zephyr.dts: C:/NCS/v2.3.0/nrf/samples/nrf9160/modem_trace_backend/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/NCS/v2.3.0/nrf/samples/nrf9160/modem_trace_backend/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/NCS/v2.3.0/nrf/samples/nrf9160/modem_trace_backend/build/zephyr/dts.cmake
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Best regards,

    Charlie

  • Hi Charlie,

    First of all, thanks for the help. 

    I've been ignoring the error that appears in the Problems report and the examples run well.

    Also, I built again the modem_trace_backend example and I detected an error in the building log from terminal. Some files have a very long path, and the maximum characters allowed are 250. Actually, the paths don't achieved the maximum but they are close to it, and this seems to cause the error in the build process. I attach the building log from terminal with this problem

    I moved the project directly to the Desktop so the full path is smaller. The example built correctly and I could program it to the nRF9160 :)  

    Alejandro Cuenca 

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    * Executing task: nRF Connect: Generate config nrf9160dk_nrf9160_ns for c:\Users\sterna6\Desktop\Proyectos\AllergoBox_Premium\Firmware_software\AlergoBox_Premium\Control\nRF9160\modem_trace_backend
    Building modem_trace_backend
    west build --build-dir c:\Users\sterna6\Desktop\Proyectos\AllergoBox_Premium\Firmware_software\AlergoBox_Premium\Control\nRF9160\modem_trace_backend\build c:\Users\sterna6\Desktop\Proyectos\AllergoBox_Premium\Firmware_software\AlergoBox_Premium\Control\nRF9160\modem_trace_backend --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend
    -- Found Python3: C:/ncs/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.3.0/zephyr/.cache
    -- Zephyr version: 3.2.99 (C:/ncs/v2.3.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
    -- Found host-tools: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/v2.3.0/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/ncs/v2.3.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
    -- Generated zephyr.dts: C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend/build/zephyr/dts.cmake
    Parsing C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend/Kconfig
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Reply
  • Hi Charlie,

    First of all, thanks for the help. 

    I've been ignoring the error that appears in the Problems report and the examples run well.

    Also, I built again the modem_trace_backend example and I detected an error in the building log from terminal. Some files have a very long path, and the maximum characters allowed are 250. Actually, the paths don't achieved the maximum but they are close to it, and this seems to cause the error in the build process. I attach the building log from terminal with this problem

    I moved the project directly to the Desktop so the full path is smaller. The example built correctly and I could program it to the nRF9160 :)  

    Alejandro Cuenca 

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    * Executing task: nRF Connect: Generate config nrf9160dk_nrf9160_ns for c:\Users\sterna6\Desktop\Proyectos\AllergoBox_Premium\Firmware_software\AlergoBox_Premium\Control\nRF9160\modem_trace_backend
    Building modem_trace_backend
    west build --build-dir c:\Users\sterna6\Desktop\Proyectos\AllergoBox_Premium\Firmware_software\AlergoBox_Premium\Control\nRF9160\modem_trace_backend\build c:\Users\sterna6\Desktop\Proyectos\AllergoBox_Premium\Firmware_software\AlergoBox_Premium\Control\nRF9160\modem_trace_backend --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend
    -- Found Python3: C:/ncs/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.3.0/zephyr/.cache
    -- Zephyr version: 3.2.99 (C:/ncs/v2.3.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
    -- Found host-tools: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/v2.3.0/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/ncs/v2.3.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
    -- Generated zephyr.dts: C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend/build/zephyr/dts.cmake
    Parsing C:/Users/sterna6/Desktop/Proyectos/AllergoBox_Premium/Firmware_software/AlergoBox_Premium/Control/nRF9160/modem_trace_backend/Kconfig
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Children
No Data