This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
doc:crazyflie:bootloader:client [2015-04-20 15:01] arnaud |
doc:crazyflie:bootloader:client [2019-09-05 15:23] kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page is deprecated and is moved to the main Bitcraze website. Please go to: | ||
+ | [[ | ||
+ | https:// | ||
+ | ]] | ||
+ | |||
+ | </ | ||
+ | |||
+ | ======Bootloader client implementation ====== | ||
+ | |||
+ | ====== Bootloader file format ====== | ||
+ | In order to make bootloading easier across platforms the different firmwares are packaged together in a ZIP file that contains a manifest describing which files are used for what. Here's an example of a manifest, it should be called // | ||
+ | < | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Each entry in the file describes one file, with the following attributes: | ||
+ | | **Attribute** | **Values** | **Comments** | | ||
+ | | platform | ||
+ | | target | ||
+ | | type | fw, bootloader, softdevice, userapp | Describe what's contained in the binary | | ||
+ | | origin | ||
+ | |||
+ | Currently only platform=cf2, |