Bootloader for PlayUAVOSD board.
More...
|
| file | cmsis_system.c |
| | CMSIS Cortex-M4 Device Peripheral Access Layer System Source File. This file contains the system clock configuration for STM32F4xx devices, and is generated by the clock configuration tool stm32f4xx_Clock_Configuration_V1.0.0.xls.
|
| |
| file | usb_conf.h |
| | General low level driver configuration.
|
| |
Bootloader for PlayUAVOSD board.
Firmware for PlayUAVOSD board.
Board support for PlayUAVOSD board.
| #define BOARD_READABLE true |
| #define BOARD_WRITABLE true |
| #define CPULOAD_LIMIT_CRITICAL 95 |
| #define CPULOAD_LIMIT_WARNING 80 |
| #define HEAP_LIMIT_CRITICAL 500 |
| #define HEAP_LIMIT_WARNING 1000 |
| #define IDLE_COUNTS_PER_SEC_AT_NO_LOAD (9873737) |
| #define IRQSTACK_LIMIT_CRITICAL 80 |
| #define IRQSTACK_LIMIT_WARNING 150 |
| #define level_mask_height 129 |
| #define level_mask_width 144 |
| #define llama_mask_height 260 |
| #define llama_mask_width 240 |
| #define MODULE_FLIGHTSTATS_BUILTIN |
| #define oplogo_height 144 |
| #define PIOS_INCLUDE_ANNUNC |
| #define PIOS_INCLUDE_ANNUNC |
| #define PIOS_INCLUDE_BL_HELPER |
| #define PIOS_INCLUDE_CHIBIOS |
| #define PIOS_INCLUDE_COM_MSG |
| #define PIOS_INCLUDE_DEBUG_CONSOLE |
| #define PIOS_INCLUDE_DELAY |
| #define PIOS_INCLUDE_EXTI |
| #define PIOS_INCLUDE_FASTHEAP |
| #define PIOS_INCLUDE_FLASH |
| #define PIOS_INCLUDE_FLASH |
| #define PIOS_INCLUDE_FLASH_INTERNAL |
| #define PIOS_INCLUDE_FLASH_INTERNAL |
| #define PIOS_INCLUDE_GPS_NMEA_PARSER |
| #define PIOS_INCLUDE_GPS_UBX_PARSER |
| #define PIOS_INCLUDE_INITCALL /* Include init call structures */ |
| #define PIOS_INCLUDE_LOGFS_SETTINGS |
| #define PIOS_INCLUDE_MAX7456 |
| #define PIOS_INCLUDE_MSP_BRIDGE |
| #define PIOS_INCLUDE_TBSVTXCONFIG |
| #define PIOS_INCLUDE_USART |
| #define PIOS_INCLUDE_USB_CDC |
| #define PIOS_INCLUDE_USB_HID |
| #define PIOS_INCLUDE_USB_HID |
| #define PIOS_INCLUDE_VIDEO |
| #define PIOS_IRQ_PRIO_HIGH 5 |
| #define PIOS_IRQ_PRIO_HIGHEST 4 |
| #define PIOS_IRQ_PRIO_LOW 12 |
| #define PIOS_IRQ_PRIO_MID 8 |
| #define PIOS_LED_HEARTBEAT 0 |
| #define PIOS_OMIT_TIM2IRQ |
| #define PIOS_SYSCLK 168000000 |
| #define PIOS_TIM_MAX_DEVS 6 |
| #define PIOS_USB_ENABLED 1 /* Should remove all references to this */ |
| #define PIOS_VIDEO_SPLITBUFFER |
| #define PIOS_VIDEO_TIM4_COUNTER |
| #define PIOS_WATCHDOG_TIMEOUT 250 |
| #define PIOS_WDG_REGISTER RTC_BKP_DR4 |
| #define WDG_STATS_DIAGNOSTICS |
| void PIOS_Board_Init |
( |
void |
| ) |
|
Initialise PWM Output for black/white level setting PIOS_Board_Init() initializes all the core subsystems on this specific hardware called from System/openpilot.c
Definition at line 39 of file pios_board.c.
| static void PIOS_BOARD_Init_Uavos |
( |
void |
| ) |
|
|
static |
Initialise UAVOs required by OSD module so board can boot
- Todo:
- something nicer about this
Definition at line 330 of file pios_board.c.
| const unsigned short level_bits[] |
|
static |
| const unsigned short level_mask_bits[] |
|
static |
| const unsigned short llama_bits[] |
|
static |
| const unsigned short llama_mask_bits[] |
|
static |
| const unsigned short oplogo_bits[] |
|
static |
| const unsigned short oplogo_mask_bits[] |
|
static |
| uintptr_t pios_com_bridge_id |
| uintptr_t pios_com_debug_id |
| uintptr_t pios_com_frsky_sensor_hub_id |
| uintptr_t pios_com_frsky_sport_id |
| uintptr_t pios_com_gps_id |
| uintptr_t pios_com_hott_id |
| uintptr_t pios_com_lighttelemetry_id |
| uintptr_t pios_com_mavlink_id |
| uintptr_t pios_com_openlog_logging_id |
| uintptr_t pios_com_telem_serial_id |
| uintptr_t pios_com_telem_usb_id |
| uintptr_t pios_com_telem_usb_id |
| uintptr_t pios_com_vcp_id |
| uintptr_t pios_uavo_settings_fs_id |
Initial value:= {
.timer = TIM12,
.irq = {
.init = {
.NVIC_IRQChannel = TIM8_BRK_TIM12_IRQn,
.NVIC_IRQChannelSubPriority = 0,
.NVIC_IRQChannelCmd = ENABLE,
},
},
}
#define PIOS_IRQ_PRIO_MID
static const TIM_TimeBaseInitTypeDef tim_apb1_time_base
Definition at line 322 of file board_hw_defs.c.
Initial value:= {
.timer = TIM3,
.irq = {
.init = {
.NVIC_IRQChannel = TIM3_IRQn,
.NVIC_IRQChannelSubPriority = 0,
.NVIC_IRQChannelCmd = ENABLE,
},
},
}
#define PIOS_IRQ_PRIO_MID
static const TIM_TimeBaseInitTypeDef tim_apb1_time_base
Definition at line 270 of file board_hw_defs.c.
Initial value:= {
.timer = TIM5,
.irq = {
.init = {
.NVIC_IRQChannel = TIM5_IRQn,
.NVIC_IRQChannelSubPriority = 0,
.NVIC_IRQChannelCmd = ENABLE,
},
},
}
#define PIOS_IRQ_PRIO_MID
static const TIM_TimeBaseInitTypeDef tim_apb1_time_base
Definition at line 283 of file board_hw_defs.c.
Initial value:= {
.timer = TIM8,
.irq = {
.init = {
.NVIC_IRQChannel = TIM8_CC_IRQn,
.NVIC_IRQChannelSubPriority = 0,
.NVIC_IRQChannelCmd = ENABLE,
},
},
}
static const TIM_TimeBaseInitTypeDef tim_apb2_time_base
#define PIOS_IRQ_PRIO_MID
Definition at line 296 of file board_hw_defs.c.
Initial value:= {
.timer = TIM9,
.irq = {
.init = {
.NVIC_IRQChannel = TIM1_BRK_TIM9_IRQn,
.NVIC_IRQChannelSubPriority = 0,
.NVIC_IRQChannelCmd = ENABLE,
},
},
}
static const TIM_TimeBaseInitTypeDef tim_apb2_time_base
#define PIOS_IRQ_PRIO_MID
Definition at line 309 of file board_hw_defs.c.
| const TIM_TimeBaseInitTypeDef tim_apb1_time_base |
|
static |
Initial value:= {
.TIM_Prescaler = (PIOS_PERIPHERAL_APB1_COUNTER_CLOCK / 1000000) - 1,
.TIM_ClockDivision = TIM_CKD_DIV1,
.TIM_CounterMode = TIM_CounterMode_Up,
.TIM_Period = 0xFFFF,
.TIM_RepetitionCounter = 0x0000,
}
Definition at line 250 of file board_hw_defs.c.
| const TIM_TimeBaseInitTypeDef tim_apb2_time_base |
|
static |
Initial value:= {
.TIM_Prescaler = (PIOS_PERIPHERAL_APB2_COUNTER_CLOCK / 1000000) - 1,
.TIM_ClockDivision = TIM_CKD_DIV1,
.TIM_CounterMode = TIM_CounterMode_Up,
.TIM_Period = 0xFFFF,
.TIM_RepetitionCounter = 0x0000,
}
Definition at line 261 of file board_hw_defs.c.