Midnight Sun Firmware
|
Private Bootloader State Storage. More...
#include <bootloader.h>
Public Attributes | |
uintptr_t | application_start |
uintptr_t | current_write_address |
uint32_t | bytes_written |
uint32_t | data_size |
uint32_t | packet_crc32 |
uint16_t | expected_sequence_number |
uint16_t | buffer_index |
BootloaderStates | state |
BootloaderError | error |
uint16_t | target_nodes |
bool | first_byte_received |
Private Bootloader State Storage.
uintptr_t application_start |
Application start address
uint16_t buffer_index |
Data buffer index for correct reading/writing
uint32_t bytes_written |
Number of bytes written to flash
uintptr_t current_write_address |
Current write address
uint32_t data_size |
Data size (ie: Binary application size)
BootloaderError error |
Bootloader error tracker
uint16_t expected_sequence_number |
Next expected sequence number for validation
bool first_byte_received |
Boolean flag to track if the first byte was received
uint32_t packet_crc32 |
Packet CRC32 if available
BootloaderStates state |
Internal state tracker
uint16_t target_nodes |
Target MCU Ids