Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions content/components/nrf52.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,9 @@ The nRF52840 requires a bootloader, with two supported options: `MCUboot` and `A

Examples of low power [nRF52840 boards](https://github.com/joric/nrfmicro/wiki).

## Flashing with MCUboot

Flashing this bootloader requires an SWD connection, for which a programmer is necessary. A cheap ST-Link V2 can be utilized.

1. Connect the board to the PC via SWD.
1. Run `esphome upload yourfile.yaml --device PYOCD`.

```yaml
# Example configuration entry
nrf52:
board: adafruit_feather_nrf52840
```

## Flashing with Adafruit nRF52 Bootloader

For flashing via a flash drive.
For Adafruit, Promicro nRF52840, Seeed Studio XIAO BLE boards via a flash drive.

1. Connect the board to the PC via USB.
1. Quickly short the reset pin to ground twice.
Expand All @@ -62,6 +49,19 @@ nrf52:
board: adafruit_itsybitsy_nrf52840
```

## Flashing with MCUboot

Flashing this bootloader requires an SWD connection, for which a programmer is necessary. A cheap ST-Link V2 can be utilized.

1. Connect the board to the PC via SWD.
1. Run `esphome upload yourfile.yaml --device PYOCD`.

```yaml
# Example configuration entry
nrf52:
board: adafruit_feather_nrf52840
```

## GPIO Pin Numbering

There are two ways to reference GPIO pins:
Expand Down