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
  • The solution in the suggested answer to simply run "git-bash.exe" in the toolchain folder works great for SDK v1.9.1. However, for SDK v2.0.0, the git-bash.exe file was moved to a separate "toolchains/v2.0.0" folder and running "git-bash.exe" in this folder does not load the correct environment. Any suggestions?

    I would like to be able to directly launch a Git Bash with the SDK v2.0.0 environment without using the option in Toolchain Manager. Using Toolchain Manager, the "Open bash" option works just fine.

    Thanks!

Reply
  • The solution in the suggested answer to simply run "git-bash.exe" in the toolchain folder works great for SDK v1.9.1. However, for SDK v2.0.0, the git-bash.exe file was moved to a separate "toolchains/v2.0.0" folder and running "git-bash.exe" in this folder does not load the correct environment. Any suggestions?

    I would like to be able to directly launch a Git Bash with the SDK v2.0.0 environment without using the option in Toolchain Manager. Using Toolchain Manager, the "Open bash" option works just fine.

    Thanks!

Children
  • Hi,

    The toolchain was changed in nRF Connect SDK v2.0.0 to be the Zephyr SDK. and not GNU Arm Embedded Toolchain as in previous versions, so running git-bash.exe will not set up gnuarmemb. It should still set up the environment variables for the new toolchain. If this is not the case, please open a new ticket, as the original issue in this ticket has been solved. Thank you!

    Best regards,

    Marte

Related