ncs_install_path/PathToToolChain

Hi,

Going through the nRF Connect SDK Intermediate course on Lesson 2 exercise 2 step 9 there is a command ncs_install_path/PathToToolChain/opt/zephyr-sdk/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gdb build/zephyr/zephyr.elf

When I run this I get a "No such file or directory" error. it's unclear if the install path is supposed to be changed like in step 7 or not. Is this a configuration issue?

OS: Ubuntu 24.04.1 LTS

vscode: 1.94.2

sdk: 2.7.0

Parents
  • Hi Sam

    Are you using Sysbuild? If so then it might be that you need to open build_folder/build_folder/zephyr/zephyr.elf

    I will make a note for for the course to update the path for the change with sysbuild and change the name from "build" to build_folder also just in case someone do name the build something else than build

    Edit: 

    I presumed it was the build you could not find, just to verify, was it the build or the the folder in the toolchain?

    Regards

    Runar

Reply
  • Hi Sam

    Are you using Sysbuild? If so then it might be that you need to open build_folder/build_folder/zephyr/zephyr.elf

    I will make a note for for the course to update the path for the change with sysbuild and change the name from "build" to build_folder also just in case someone do name the build something else than build

    Edit: 

    I presumed it was the build you could not find, just to verify, was it the build or the the folder in the toolchain?

    Regards

    Runar

Children
  • I actually just found it. It's the toolchain part that I was confused on. I think that the folders should have the brackets as in step 8. So

    ncs_install_path/PathToToolChain/opt/zephyr-sdk/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gdb build/zephyr/zephyr.elf

    should be

    <ncs_install_path>/<PathToToolChain>/opt/zephyr-sdk/aarch64-zephyr-elf/bin/aarch64-zephyr-elf-gdb build/zephyr/zephyr.elf

    with a "make sure to edit the path before running" as stated in step 8.

    and perhaps a tip could be added that the toolchain folder can be found by going to manage toolchins.

    then open toolchain directory.

Related