From 01dd49286e3056a09fd62fdeac0db53cb4a9e4a0 Mon Sep 17 00:00:00 2001 From: Eduardo Montoya Date: Sat, 13 Aug 2022 01:07:08 +0200 Subject: [PATCH] [doc] fix RCP building information for nRF52840 (#8020) --- src/posix/README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/posix/README.md b/src/posix/README.md index ced9af58b..9d3ff6293 100644 --- a/src/posix/README.md +++ b/src/posix/README.md @@ -77,19 +77,25 @@ To build and program the device with RCP application, complete the following ste ```sh rm -rf build - script/build nrf52840 USB_trans -DOT_BOOTLOADER=USB -DOT_THREAD_VERSION=1.2 + script/build nrf52840 USB_trans -DOT_BOOTLOADER=USB ``` b. For nRF52840 Development Kit ```sh rm -rf build - script/build nrf52840 UART_trans -DOT_THREAD_VERSION=1.2 + script/build nrf52840 UART_trans ``` This creates an RCP image at `build/bin/ot-rcp`. -5. Depending on the hardware platform, complete the following steps to program the device: +5. Generate the HEX image: + + ```sh + arm-none-eabi-objcopy -O ihex build/bin/ot-rcp build/bin/ot-rcp.hex + ``` + +6. Depending on the hardware platform, complete the following steps to program the device: a. nRF52840 Dongle (USB transport)