File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,13 +19,27 @@ For more information about flash partitions, flags and states see [Flash partiti
1919libwolfboot provides low-level access interface to flash partition states. The state
2020of each partition can be retrieved and altered by the application.
2121
22- Basic interaction from the application is provided via the two high-level function calls:
22+ Basic interaction from the application is provided via the following high-level function calls:
23+
24+ ` uint32_t wolfBoot_get_image_version(uint8_t part) `
2325
2426` void wolfBoot_update(void) `
2527
28+ ` void wolfBoot_success(void) `
29+
30+ ### Firmware version
31+
32+ Current (boot) firmware and update firmware versions can be retrieved from the application using:
33+
34+ ` uint32_t wolfBoot_get_image_version(uint8_t part) `
35+
36+ Or via the shortcut macros:
37+
38+ ` wolfBoot_current_firmware_version() `
39+
2640and
2741
28- ` void wolfBoot_success(void )`
42+ ` wolfBoot_update_firmware_version( )`
2943
3044### Trigger an update
3145
You can’t perform that action at this time.
0 commit comments