Skip to content

Commit

Permalink
getting started: NCS: wrap long lines
Browse files Browse the repository at this point in the history
No changes were made to the content. This commit merely wraps long lines.

Signed-off-by: Mike Szczys <mike@golioth.io>
  • Loading branch information
szczys committed Jan 4, 2024
1 parent 8e9eb62 commit c679be9
Showing 1 changed file with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,33 @@ import InstallNRFSDK from '/docs/partials-common/ncs-install-golioth-firmware-sd

### Installing the Zephyr SDK Toolchain

Nordic chips are ARM-based device, so we will use the ARM toolchains (gcc, gdb, etc) included in the Zephyr SDK.
Nordic chips are ARM-based device, so we will use the ARM toolchains (gcc, gdb,
etc) included in the Zephyr SDK

import InstallZephyrSDKtoolchain from '/docs/partials-common/install-zephyr-sdk-toolchain.md'

<InstallZephyrSDKtoolchain/>

### Installing the Segger J-Link and nRF Command Line Tools

Zephyr uses `nrfjprog` to flash Nordic targets using a hardware programmer like the Segger J-Link, or the debugger that is built into the development kit (DK) boards. This tool is part of the nRF Command Line Tools which we will install along with the Segger tool.
Zephyr uses `nrfjprog` to flash Nordic targets using a hardware programmer like
the Segger J-Link, or the debugger that is built into the development kit (DK)
boards. This tool is part of the nRF Command Line Tools which we will install
along with the Segger tool.

1. Go to Segger and download the latest [J-Link Software and Documentation Pack](https://www.segger.com/downloads/jlink)
1. Go to Segger and download the latest [J-Link Software and Documentation
Pack](https://www.segger.com/downloads/jlink)

2. Run the J-Link installer

```bash
sudo dpkg -i JLink_Linux_V760f_x86_64.deb
```

3. Go to the [nRF Command Line Tools](https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download) page. Scroll down, select your operating system, and download the installer package.
3. Go to the [nRF Command Line
Tools](https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download)
page. Scroll down, select your operating system, and download the installer
package.

4. Run the nRF Command Line Tools installer

Expand All @@ -59,7 +67,9 @@ Zephyr uses `nrfjprog` to flash Nordic targets using a hardware programmer like

### Build firmware

Your system is all set up and ready to start building & flashing with Zephyr. Verify by building a minimal sample from the Zephyr tree. Here we are using the nRF9160 DK as an example:
Your system is all set up and ready to start building & flashing with Zephyr.
Verify by building a minimal sample from the Zephyr tree. Here we are using the
nRF9160 DK as an example:

import BuildFirmwareFor9160 from '/docs/partials-common/build-fw-nrf91.md'

Expand Down

0 comments on commit c679be9

Please sign in to comment.