Zephyr-sdk-install-and-config
Keywords: Zephyr SDK installation :: Nordic nRF SDK installation :: JLinkARM installations
^ Overview
This wiki page intended to capture the various Nordic Semi toolchain elements which support the complete build, flash programming and Segger based debugging of Nordic nRF, Zephyr based applications. I quick list of tools to install:
- all the Linux, Python, west, and sdk-nrf utilities and code base
- gnuarmemb toolchain from GNU GCC for ARM downloads page
- Segger JLink drivers from Segger's web site
A key finding on 2021-Sept-27 is that the gnuarmemb toolchain is for some reason necessary to call from Segger for compiling nRF Connect SDK projects. At the command line using `west`, both Zephyr's ARM compiler and the GNU ARM compiler (Zephyr's is GNU but just branded) succeed in building nRF Zephyr based apps. Attempts to call `/opt/zephyr-sdk-0.13.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc` cause a strange build error "offsets.c.obj does not exist".
^ Nordic Toolchain Install Closely Follows Zephyr Tools
Steps to installing Zephyr SDK and prerequisites in the context of NordicSemi's forked branch of Zephyr, and specifically details on `west init`, `west zephyr-export` and `west update`:
Instructions to install Zephyr SDK 0.13.0, note this is a Zephyr website page:
Back to Nordic, their instructions for installing Segger Embedded Studio for Nordic development:
Nordic Semi Simon's four part nRF tutorial series:
- https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial
- https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-1-ncs-v1-4-0
- https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0
- https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-4-0
^ gnuarmemb And JLinkARM installation
The following two links go directly to GNU ARM compiler download page, and to a JLink drivers download page at Segger dot com: