This commit is contained in:
Huckies 2022-08-15 10:51:55 -07:00 committed by GitHub
commit 590576fa43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -336,7 +336,8 @@ Since the Zephyr™ SDK is not available for Windows, we recommending following
Since the Zephyr™ SDK is not available for macOS, we recommending following the steps to install the GNU ARM Embedded toolchain:
```
brew install --cask gcc-arm-embedded
brew tap armmbed/formulae
brew install arm-none-eabi-gcc
```
</TabItem>
@ -514,6 +515,11 @@ To load the Zephyr environment properly for just one transient shell, run the fo
source zephyr/zephyr-env.sh
```
:::info
If it goes wrong running ``west build`` on macOS, try ``export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb && export GNUARMEMB_TOOLCHAIN_PATH=/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.07/gcc``
The value of ``GNUARMEMB_TOOLCHAIN_PATH`` may differ, please refer to your own path.
:::
##### All Shells
To load the environment variables for your shell every time,