2019-10-21 00:46:49 -03:00
|
|
|
/*
|
|
|
|
application -> bootloader communication structure This is put into
|
|
|
|
the start of RAM by AP_Periph to facilitate firmware upload with
|
|
|
|
UAVCAN
|
|
|
|
*/
|
|
|
|
|
2019-10-25 22:45:33 -03:00
|
|
|
#pragma once
|
|
|
|
|
2019-10-21 00:46:49 -03:00
|
|
|
#define APP_BOOTLOADER_COMMS_MAGIC 0xc544ad9a
|
|
|
|
|
|
|
|
struct app_bootloader_comms {
|
|
|
|
uint32_t magic;
|
2024-01-15 17:33:55 -04:00
|
|
|
uint32_t ip;
|
|
|
|
uint32_t netmask;
|
|
|
|
uint32_t gateway;
|
|
|
|
uint32_t reserved;
|
2019-10-21 00:46:49 -03:00
|
|
|
uint8_t server_node_id;
|
|
|
|
uint8_t my_node_id;
|
|
|
|
uint8_t path[201];
|
|
|
|
};
|