Skip to content

Commit c3498ea

Browse files
authored
Update README.md
Quote text to prevent markdown formatting
1 parent 98a5b1f commit c3498ea

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ The update firmware candidate is still stored on sd-card.
180180

181181
Given the above flash layout the following configuration need to change in the mbed_app.json:
182182

183-
1. "nvstore.area_1_address": "(0x08000000+(2*1024-2*128)*1024)"
184-
1. "nvstore.area_1_size": "(128*1024)"
185-
1. "nvstore.area_2_address": "(0x08000000+(2*1024-128)*1024)"
186-
1. "nvstore.area_2_size": "(128*1024)"
187-
1. "update-client.application-details": "(0x08000000+3*16*1024)"
188-
1. "application-start-address": "(0x08000000+(3*16+1)*1024)"
189-
1. "max-application-size" : "((1024*2-128*2-3*16-1)*1024)"
183+
1. `"nvstore.area_1_address": "(0x08000000+(2*1024-2*128)*1024)"`
184+
1. `"nvstore.area_1_size": "(128*1024)"`
185+
1. `"nvstore.area_2_address": "(0x08000000+(2*1024-128)*1024)"`
186+
1. `"nvstore.area_2_size": "(128*1024)"`
187+
1. `"update-client.application-details": "(0x08000000+3*16*1024)"`
188+
1. `"application-start-address": "(0x08000000+(3*16+1)*1024)"`
189+
1. `"max-application-size" : "((1024*2-128*2-3*16-1)*1024)"`
190190

191191
Now compile your bootloader. Flash and run the bootloader, on the serial uart you will see the following printout:
192192

@@ -198,20 +198,20 @@ Keep a note of the `boot_loader_info_address` which we will use in the next step
198198

199199
In mbed_app.json, change the following:
200200

201-
1. "update-client.application-details" : "(0x08000000+3*16*1024)"
202-
1. "update-client.bootloader-details" : "<boot_loader_info_address>"
201+
1. `"update-client.application-details" : "(0x08000000+3*16*1024)"`
202+
1. `"update-client.bootloader-details" : "<boot_loader_info_address>"`
203203

204204
In mbed_lib.json change the following:
205205

206-
1. "sotp-section-1-address": "(0x08000000+(2*1024-2*128)*1024)",
207-
1. "sotp-section-1-size": "(128*1024)",
208-
1. "sotp-section-2-address": "(0x08000000+(2*1024-128)*1024)",
209-
1. "sotp-section-2-size": "(128*1024)"
206+
1. `"sotp-section-1-address": "(0x08000000+(2*1024-2*128)*1024)",`
207+
1. `"sotp-section-1-size": "(128*1024)",`
208+
1. `"sotp-section-2-address": "(0x08000000+(2*1024-128)*1024)",`
209+
1. `"sotp-section-2-size": "(128*1024)"`
210210

211211
Also add the following in mbed_app.json:
212212

213-
1. "target.app_offset": "0x800c400",
214-
1. "target.header_offset": "0x800c000",
215-
1. "target.bootloader_img": "<path_to_your_newly_built_image>"
213+
1. `"target.app_offset": "0x800c400",`
214+
1. `"target.header_offset": "0x800c000",`
215+
1. `"target.bootloader_img": "<path_to_your_newly_built_image>"`
216216

217217
Now you can build the application following the [Pelion Device Management Platform Documentation](https://cloud.mbed.com/docs/current/updating-firmware/updating-end-to-end-tutorials.html).

0 commit comments

Comments
 (0)