ardupilot/Tools/AP_Bootloader/app_comms.h
Andrew Tridgell ada699b9b1 AP_Bootloader: support app comms area for CAN fw update
this allows MissionPlanner to update firmware
2020-02-05 10:43:36 +11:00

16 lines
354 B
C

/*
application -> bootloader communication structure This is put into
the start of RAM by AP_Periph to facilitate firmware upload with
UAVCAN
*/
#define APP_BOOTLOADER_COMMS_MAGIC 0xc544ad9a
struct app_bootloader_comms {
uint32_t magic;
uint32_t reserved[4];
uint8_t server_node_id;
uint8_t my_node_id;
uint8_t path[201];
};