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

entering command-line environment

Hi,

I've installed the nRF Connect SDK, and want to bring up a command-line build environment.

I'm able to do it as it says in the instructions here: Bring up the Toolchain Manager and use the "Open Bash" option from the drop-down menu.

However, I'd like to be able to get into the environment without bringing up the Toolchain Manager. What do I do? What script do I run from git-bash?

I tried running zephyr/zephyr-env.sh, but apparently that's not enough.

Thanks!

Parents
  • Hi,

    Thanks for the response.

    I brought up Windows PowerShell, navigated to my SDK dir (ncs\v1.9.1), then down to toolchain\cmd, and executed env.cmd.
    Then I tried running west, and it wasn't a recognized command.

    Similarly, I brought up Git Bash, navigated to my SDK dir (ncs\v1.9.1), and did the following:

    • source zephyr/zephyr-env.sh
    • export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
    • export GNUARMEMB_TOOLCHAIN_PATH=`pwd`/toolchain/opt

    Then I tried running west, and it wasn't a recognized command.

    What am I missing?

    Thanks!

  • Hi,

    Try to adding the path to toolchain/opt/bin and toolchain/opt/bin/Scripts to your system path.

    Best regards,

    Marte

Reply Children
No Data
Related