26 #ifndef BL_MESSAGES_H_
27 #define BL_MESSAGES_H_
30 #define BL_INCLUDE_CAP_EXTENSIONS
55 #define BL_MSG_FLAGS_ECHO_REQ 0x80
56 #define BL_MSG_FLAGS_ECHO_REP 0x40
57 #define BL_MSG_FLAGS_MASK 0xC0
58 #define BL_MSG_COMMAND_MASK 0x3F
100 #if defined(BL_INCLUDE_CAP_EXTENSIONS)
102 #define BL_CAP_EXTENSION_MAGIC 0x3456
138 #define XFER_BYTES_PER_PACKET 56
struct bl_messages::@23::msg_enter_dfu enter_dfu
enum dfu_partition_label __attribute__((packed))
struct bl_messages::@23::msg_xfer_start xfer_start
struct bl_messages::@23::msg_wipe_partition wipe_partition
struct bl_messages::@23::msg_reset reset
uint16_t number_of_devices
union bl_messages::@23 __attribute__((aligned(1))) v
struct bl_messages::@23::msg_capabilities_rep_all cap_rep_all
#define XFER_BYTES_PER_PACKET
uint16_t cap_extension_magic
struct bl_messages::@23::msg_capabilities_rep_specific cap_rep_specific
struct bl_messages::@23::msg_status_rep status_rep
DFU_PARTITION_LOADABLE_EXTENSION
struct bl_messages::@23::msg_capabilities_req cap_req
struct bl_messages::@23::msg_op_end op_end
uint32_t packets_in_transfer
struct bl_messages::@23::msg_xfer_cont xfer_cont
enum dfu_partition_label label
uint32_t partition_sizes[10]
struct bl_messages::@23::msg_status_req status_req
uint32_t current_packet_number
struct bl_messages::@23::msg_jump_fw jump_fw
uint8_t words_in_last_packet
uint8_t data[XFER_BYTES_PER_PACKET]
struct bl_messages::@23::msg_op_abort op_abort