Skip to content

File BootProtocol.h

FileList > BootProtocol > BootProtocol.h

Go to the source code of this file

The CAN bootloader's wire contract (#363) — frame IDs, commands, replies, status codes, the entry flag and the protocol version. More...

  • #include <stdint.h>

Namespaces

Type Name
namespace OpenSkyhawk
Thin wrapper over Adafruit_ADS1115; see ADS1115.h .
namespace Boot

Classes

Type Name
struct BootloaderInfo

Macros

Type Name
define BOOT_RSP_MSG_NAME "\_BOOT\_RSP"

Detailed Description

One source for every side of an update: the bootloader (Firmware/Bootloader), the running firmware that sends a node into it (STM32Board / CANProtocol, #365), the bridge relay (PanelBridge, #365), the Gateway uploader (#366) and the client sync. Header-only, no Arduino, no HAL — the bootloader builds bare-metal.

Every wire value is a named enum class X : T { NAME = literal } or constexpr T NAME = literal so the client sync can read it (#346). Full protocol: FirmwarePlan/12-bootloader.md.

Copyright:

GPL-2.0-only — see Firmware/LICENSE

Macro Definition Documentation

define BOOT_RSP_MSG_NAME

#define BOOT_RSP_MSG_NAME `"_BOOT_RSP"`


The documentation for this class was generated from the following file Firmware/Libraries/BootProtocol/BootProtocol.h