33 #include "pios_config.h"
35 #include "uavobjectsinit.h"
90 #if defined(STM32F4XX)
92 #include <stm32f4xx_flash.h>
99 uint8_t bor = FLASH_OB_GetBOR();
101 if (bor != OB_BOR_LEVEL3) {
103 FLASH_OB_BORConfig(OB_BOR_LEVEL3);
105 while (FLASH_WaitForLastOperation() == FLASH_BUSY) {
109 while (FLASH_WaitForLastOperation() == FLASH_BUSY) {
155 (serial[i+2] << 16) |
156 (serial[i+3] << 24));
void PIOS_HAL_InitUAVTalkReceiver()
#define MODULE_TASKCREATE_ALL
#define PIOS_THREAD_TIMEOUT_MAX
void PIOS_Board_Init(void)
static void initTask(void)
#define PIOS_SYS_SERIAL_NUM_BINARY_LEN
int32_t PIOS_DELAY_Init(void)
#define MODULE_INITIALISE_ALL(wdgfn)
void PIOS_WDG_Clear(void)
Clear the watchdog timer.
void __early_init(void)
Early initialization code.
void PIOS_heap_initialize_blocks(void)
void PIOS_Thread_Sleep(uint32_t time_ms)
void randomize_addseed(uint32_t seed)
int32_t TaskMonitorInitialize(void)
Includes PiOS and core architecture components.
int32_t UAVObjInitialize()
int32_t AlarmsInitialize(void)
void boardInit(void)
Board-specific initialization code.
int32_t PIOS_SYS_SerialNumberGetBinary(uint8_t array[PIOS_SYS_SERIAL_NUM_BINARY_LEN])