dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_bl_helper.c
Go to the documentation of this file.
1 
15 /*
16  * This program is free software; you can redistribute it and/or modify
17  * it under the terms of the GNU General Public License as published by
18  * the Free Software Foundation; either version 3 of the License, or
19  * (at your option) any later version.
20  *
21  * This program is distributed in the hope that it will be useful, but
22  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24  * for more details.
25  *
26  * You should have received a copy of the GNU General Public License along
27  * with this program; if not, see <http://www.gnu.org/licenses/>
28  */
29 
30 /* Project Includes */
31 #include "pios.h"
32 #if defined(PIOS_INCLUDE_BL_HELPER)
33 #include <pios_board_info.h>
34 
36 {
37  return 0;
38 }
39 
40 extern const struct fw_version_info fw_version_blob;
41 void PIOS_BL_HELPER_FLASH_Read_Description(uint8_t * array, uint8_t size)
42 {
43  uint8_t * desc = (uint8_t *) &fw_version_blob;
44  for (uint32_t i = 0; i < size; i++) {
45  array[i] = desc[i];
46  }
47 }
48 
50 {
51 }
52 #endif
Main PiOS header to include all the compiled in PiOS options.
uint32_t PIOS_BL_HELPER_CRC_Memory_Calc()
tuple desc
Definition: px_mkfw.py:82
void PIOS_BL_HELPER_FLASH_Read_Description(uint8_t *array, uint8_t size)
uint8_t i
Definition: msp_messages.h:97
void PIOS_BL_HELPER_CRC_Ini()