diff --git a/content/components/nrf52.md b/content/components/nrf52.md index b53a2eddeb..64eb214848 100644 --- a/content/components/nrf52.md +++ b/content/components/nrf52.md @@ -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. @@ -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: