1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
LibrePilot/flight/PiOS
Stacey Sheldon 575010169a build: add pios_board_info_blob struct to bootloader flash image
The board info blob is stored in the last 128 bytes of the
bootloader's flash bank.  You can access this data from the
application firmware like this:
  #include <pios_board_info.h>

  if (pios_board_info_blob.magic == PIOS_BOARD_INFO_BLOB_MAGIC) {
    /* Check some other fields */
  }

DO NOT link pios_board_info.c into your application firmware.
Only bootloaders should provide the content for the board info
structure.  The application firmware is only a user of the data.
2011-05-16 08:30:30 -04:00
..
Boards build: add pios_board_info_blob struct to bootloader flash image 2011-05-16 08:30:30 -04:00
Common build: add pios_board_info_blob struct to bootloader flash image 2011-05-16 08:30:30 -04:00
inc build: add pios_board_info_blob struct to bootloader flash image 2011-05-16 08:30:30 -04:00
STM32F10x build: add pios_board_info_blob struct to bootloader flash image 2011-05-16 08:30:30 -04:00
pios.h OP-216: Make the object manager use new flash fs for objects 2011-05-14 14:23:02 -05:00