This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

“arm-none-eabi-gcc” cannot be opened because the developer cannot be verified.

trying to usenRF Connect SDK for the first time.

Could be because of recent upgrades to MacOS.

(I have used gcc with nRF SDKs before)

Paul 

Parents Reply Children
  • Hi, 

    You need to point to where the toolchain is by setting GNUARMEMB_TOOLCHAIN_PATH correctly, as indicated under Installing the toolchain. Assuming you install to the default location, you GNUARMEMB_TOOLCHAIN_PATH should point to /Applications/ARM.

    Then you need to configure this by adding the following snippet to ~/.zshrc (or ~/.bash_profile if using bash):

    # Zephyr related configurations
    export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
    export GNUARMEMB_TOOLCHAIN_PATH="/Applications/ARM"

  • Thanks.  I did that and at first it didn't work as I am running a current version of MacOS that uses zsh.

    For that I added the first line:

    ```

    #! /usr/bin/env zsh

    ```

    However, despite the setup now looking as it should, SES is still throwing errors:

    create_nordic_project.py failed (1). 

    Looks like a different config error. 

    Configuration looks OK

  • Hi,

    Ah, yes. I filtered out SES in my head, and focused only on the command line. You should also add the exports in .zephyrrc (adding the same lines). Does that work? If not, can you try building from the command line first, before trying with SES? It would be easier to understand the issue there, and once that works then getting it working in SES should be simpler.

  • Thx Einar,

    Where should .zephyrrc be located?  Tried it in my home directory to no effect.

    Also, working from nRF Connect v3.6.0, I do not see any instructions for building from the command line.  This is what I would usually want to do but have been following "Getting Started Assistant".

  • Hi,

    paul_tanner said:
    Where should .zephyrrc be located?  Tried it in my home directory to no effect.

    Yes, it should be in your home directory.

    To build from the command line you navigate to the nRF Connect SDK folder. Then you first need to source zephyr/zephyr-env.sh:

    source zephyr/zephyr-env.sh

    After that, navigate to the project you want to build, e.g. at_client:

    cd nrf/samples/nrf9160/at_client

    and then build with west like this:

    west build -b nrf9160dk_nrf9160ns --pristine

    Does that work? If not, what error do you get?

    I should also note that the Toolchain Manager has experimental support for macOS now, and using that you will get a sandboxed toolchain automatically and would not have to to through this manual setup.

Related