Skip to content

RyanJMah/fydp-uwb-anchor

Repository files navigation

Prerequisites

  1. Download version 5.68 of SEGGER Embedded Studio for ARM

  2. Download the 9-2020-q2-update of the GNU ARM Toolchain

    • Make sure the version is correct, you want the 9-2020-q2 update
  3. Download the nRF CLI Tools

  4. Install script prerequisites

python3 -m pip install -r ./Scripts/requirements.txt
git submodule update --init --recursive

Quickstart

TLDR: run make help

There are three main components to this codebase:

  1. Application code
  2. Bootloader code
  3. Config image generation/flashing (flash anchor ID, etc.)

For a one-shot build and flash, you can do:

make everything                             # Only build (not flash)
make flash_everything ANCHOR_ID=<anchor_id> # Build all code and flash the device

The application code can be built separately with:

make
make flash

The bootloader can be built separately with:

make bl
make flash_bl

The anchor ID and other configuration data has to be flashed onto the device. This can be done like so:

make config_imgs
make flash_config_img ANCHOR_ID=<anchor_id>

DFU

python3 ./Scripts/perform_dfu.py --anchor <anchor_id> --img-path ./Projects/QANI/FreeRTOS/DWM3001CDK/ses/Output/Common/Exe/DWM3001CDK-QANI-FreeRTOS.bin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published