1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00
trezor-firmware/west/trezor
2024-12-20 12:50:22 +01:00
..
boards/arm feat(ble): integrate MCU boot into trezor-ble app, add stay in bootloader pin 2024-12-18 10:01:39 +01:00
dts/bindings/sensor feat(west): introduce zephyr into firmware monorepo 2024-12-16 11:21:52 +01:00
scripts feat(west): introduce zephyr into firmware monorepo 2024-12-16 11:21:52 +01:00
tests/lib/custom feat(west): introduce zephyr into firmware monorepo 2024-12-16 11:21:52 +01:00
trezor-ble fixup! feat(ble): integrate MCU boot into trezor-ble app, add stay in bootloader pin 2024-12-20 12:50:22 +01:00
zephyr feat(west): introduce zephyr into firmware monorepo 2024-12-16 11:21:52 +01:00
CMakeLists.txt feat(west): introduce zephyr into firmware monorepo 2024-12-16 11:21:52 +01:00
Kconfig feat(west): introduce zephyr into firmware monorepo 2024-12-16 11:21:52 +01:00
README.md fixup! feat(ble): integrate MCU boot into trezor-ble app, add stay in bootloader pin 2024-12-20 12:50:22 +01:00
west.yml feat(ble): integrate MCU boot into trezor-ble app, add stay in bootloader pin 2024-12-18 10:01:39 +01:00

Trezor BLE Gateway

Welcome to the Trezor BLE Gateway project! This repository contains the source code and instructions to build and flash the application onto the t3w1_nrf52833 board.

Table of Contents

Prerequisites

Before you begin, ensure you have met the following requirements:

  • nrfutil: Install nrfutil. This tool is essential for managing the nRF Connect SDK and toolchains.
  • Git: Ensure you have Git installed for cloning repositories.

Getting Started

Follow these steps to set up the project on your local machine.

Install the toolchain

Using nrfutil, install the required toolchain for the nRF Connect SDK:

nrfutil toolchain-manager install --ncs-version v2.6.2

Launch the nRF Shell

First, launch the nRF shell using the nrfutil toolchain manager:

nrfutil toolchain-manager launch --shell

Initialize the Workspace

Initialize your West workspace for the Trezor BLE Gateway project:

cd west
west init -l ./trezor

Update nRF Connect SDK Modules

Update the modules:

west update

Building the Application

Build the application for the t3w1_revA_nrf52832 board:

cd trezor
west build ./trezor-ble -b t3w1_revA_nrf52832 --sysbuild

Flashing the Application

Flash the compiled application onto the board:

west flash