uavcan bootloader use new AppDes

This commit is contained in:
David Sidrane
2021-01-28 13:08:16 -08:00
committed by Daniel Agar
parent bfdc6cd675
commit 760e47bbf9
7 changed files with 239 additions and 86 deletions
+4 -3
View File
@@ -73,13 +73,14 @@ namespace uavcannode
* image crc, size etc of this application
*/
boot_app_shared_section app_descriptor_t AppDescriptor = {
.signature = {APP_DESCRIPTOR_SIGNATURE},
.signature = APP_DESCRIPTOR_SIGNATURE,
.image_crc = 0,
.image_size = 0,
.vcs_commit = 0,
.git_hash = 0,
.major_version = APP_VERSION_MAJOR,
.minor_version = APP_VERSION_MINOR,
.reserved = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
.board_id = HW_VERSION_MAJOR << 8 | HW_VERSION_MINOR,
.reserved = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
};
UavcanNode *UavcanNode::_instance;