OP-1287 implemented new flightmodes in plan.c
[librepilot.git] / flight / pios / inc / pios_board_info.h
blob2e549f0905204357b0f052240356ef14535b2634
1 #ifndef PIOS_BOARD_INFO_H
2 #define PIOS_BOARD_INFO_H
4 #include <stdint.h> /* uint* */
6 #define PIOS_BOARD_INFO_BLOB_MAGIC 0xBDBDBDBD
8 struct pios_board_info {
9 uint32_t magic;
10 uint8_t board_type;
11 uint8_t board_rev;
12 uint8_t bl_rev;
13 uint8_t hw_type;
14 uint32_t fw_base;
15 uint32_t fw_size;
16 uint32_t desc_base;
17 uint32_t desc_size;
18 uint32_t ee_base;
19 uint32_t ee_size;
20 } __attribute__((packed));
22 extern const struct pios_board_info pios_board_info_blob;
24 #endif /* PIOS_BOARD_INFO_H */