diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-01-04 07:44:23 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-04 07:44:23 +0000 |
| commit | bf4c0de16a119b9e3a42daf76c4bc60face3c2a1 (patch) | |
| tree | 1d45b18b0c0b00e783163cf11950ac7bf49efba5 /examples/boot/application/nrf/README.md | |
| parent | 35afb60dd490d95a972ad64db8a38652538bceba (diff) | |
| parent | 8497f98de244f0f8800df78d6e83a2fb886016bf (diff) | |
Merge #1139
1139: Wdt config changes r=lulf a=huntc
Per commits:
* By passing WDT config around we can control it more easily and promote sharing it between files.
* The memory layout of the s140 crept into a number of memory files, which can cause confusion (well, it did for me!).
* Obtaining the current WDT config is useful so that we do not have to duplicate configurations around the place. A constructor method has been introduced that attempts to return the current running WDT config from the WDT peripheral. The bootloader example has also been updated to show how the watchdog can be obtained and used.
Co-authored-by: huntc <[email protected]>
Diffstat (limited to 'examples/boot/application/nrf/README.md')
| -rw-r--r-- | examples/boot/application/nrf/README.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/boot/application/nrf/README.md b/examples/boot/application/nrf/README.md index 703377a20..a6719b505 100644 --- a/examples/boot/application/nrf/README.md +++ b/examples/boot/application/nrf/README.md | |||
| @@ -32,3 +32,7 @@ cargo objcopy --release --bin b -- -O binary b.bin | |||
| 32 | ``` | 32 | ``` |
| 33 | cargo flash --release --bin a --chip nRF52840_xxAA | 33 | cargo flash --release --bin a --chip nRF52840_xxAA |
| 34 | ``` | 34 | ``` |
| 35 | |||
| 36 | You should then see a solid LED. Pressing button 1 will cause the DFU to be loaded by the bootloader. Upon | ||
| 37 | successfully loading, you'll see the LED flash. After 5 seconds, because there is no petting of the watchdog, | ||
| 38 | you'll see the LED go solid again. This indicates that the bootloader has reverted the update. \ No newline at end of file | ||
