CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/AP_Bootloader/app_comms.h
Views: 1798
1
/*
2
application -> bootloader communication structure This is put into
3
the start of RAM by AP_Periph to facilitate firmware upload with
4
UAVCAN
5
*/
6
7
#pragma once
8
9
#define APP_BOOTLOADER_COMMS_MAGIC 0xc544ad9a
10
11
struct app_bootloader_comms {
12
uint32_t magic;
13
uint32_t ip;
14
uint32_t netmask;
15
uint32_t gateway;
16
uint32_t reserved;
17
uint8_t server_node_id;
18
uint8_t my_node_id;
19
uint8_t path[201];
20
};
21
22