mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-10 18:24:11 +01:00
8bd08e381a
The pipxtreme boards use a sector of the on-board flash for configuration storage. Adjust the memory maps to reflect this. The board_info_blob is also extended to include the EE bank definitions. This should be used by the pipxtreme firmware rather than determining it based on chip size.
18 lines
384 B
C
18 lines
384 B
C
#define PIOS_BOARD_INFO_BLOB_MAGIC 0xBDBDBDBD
|
|
|
|
struct pios_board_info {
|
|
uint32_t magic;
|
|
uint8_t board_type;
|
|
uint8_t board_rev;
|
|
uint8_t bl_rev;
|
|
uint8_t hw_type;
|
|
uint32_t fw_base;
|
|
uint32_t fw_size;
|
|
uint32_t desc_base;
|
|
uint32_t desc_size;
|
|
uint32_t ee_base;
|
|
uint32_t ee_size;
|
|
} __attribute__((packed));
|
|
|
|
extern const struct pios_board_info pios_board_info_blob;
|