From 11c89a5a1e322a901a116677914146beb102e735 Mon Sep 17 00:00:00 2001 From: Neal Jackson Date: Thu, 16 Apr 2020 15:46:27 -0700 Subject: [PATCH] Add lfs install step, remove mergehex step --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ea63502be..70b392044 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,12 @@ branch on the original `nrf5x-base` repo. Usage ----- +First, install [git-lfs](https://github.com/git-lfs/git-lfs/wiki/Installation) +to properly download the CMSIS libraries. When adding the submodule, or cloning +your project with an nrf52x-base submodule, you may need to navigate to +`nrf52x-base/lib/CMSIS_5/` and run `git lfs pull`. -First, add this project as a submodule inside of your repo with your +Next, add this project as a submodule inside of your repo with your nRF5x code. git submodule add https://github.com/lab11/nrf52x-base @@ -87,17 +91,13 @@ you must do. brew tap ArmMbed/homebrew-formulae brew install arm-none-eabi-gcc -2. Install Nordic's [command line - tools](https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf5x_cltools%2FUG%2Fcltools%2Fnrf5x_installation.html) - `mergehex` and `nrfjprog`. Ensure these tools are extracted and added to your path. - -3. Install the JLink [software](https://www.segger.com/jlink-software.html) +2. Install the JLink [software](https://www.segger.com/jlink-software.html) for your platform. You want the "Software and documentation pack". -4. Acquire a [JLink JTAG programmer](https://www.segger.com/jlink-general-info.html). +3. Acquire a [JLink JTAG programmer](https://www.segger.com/jlink-general-info.html). The "EDU" edition works fine. -5. Program an app! With the JLink box attached to the target board: +4. Program an app! With the JLink box attached to the target board: make flash