dRonin
adbada4
dRonin firmware
|
Modules | |
CMSIS | |
Files | |
file | pios_board.c |
Board specific initialization for the bootloader. | |
file | pios_config.h |
Board specific bootloader configuration file for PiOS. | |
file | cmsis_system.c |
CMSIS Cortex-M4 Device Peripheral Access Layer System Source File. This file contains the system clock configuration for STM32F30x devices, and is generated by the clock configuration tool stm32f30x_Clock_Configuration_V1.0.0.xls. | |
file | pios_board.h |
Board header file for omnibusf3 board. | |
Functions | |
void | PIOS_Board_Init () |
Variables | |
uintptr_t | pios_com_telem_usb_id |
static const TIM_TimeBaseInitTypeDef | tim_1_8_15_time_base |
static const TIM_TimeBaseInitTypeDef | tim_2_3_time_base |
static const struct pios_tim_clock_cfg | tim_2_cfg |
static const struct pios_tim_clock_cfg | tim_3_cfg |
static const struct pios_tim_clock_cfg | tim_8_cfg |
static const struct pios_tim_clock_cfg | tim_15_cfg |
static const struct pios_tim_channel | pios_tim_servoport_pins [] |
uintptr_t | pios_com_telem_serial_id |
uintptr_t | pios_com_gps_id |
uintptr_t | pios_com_telem_usb_id |
uintptr_t | pios_com_bridge_id |
uintptr_t | pios_com_vcp_id |
uintptr_t | pios_com_mavlink_id |
uintptr_t | pios_com_hott_id |
uintptr_t | pios_com_frsky_sensor_hub_id |
uintptr_t | pios_com_lighttelemetry_id |
uintptr_t | pios_com_frsky_sport_id |
uintptr_t | pios_com_openlog_logging_id |
uintptr_t | pios_com_storm32bgc_id |
uintptr_t | pios_com_aux_id |
uintptr_t | pios_uavo_settings_fs_id |
uintptr_t | pios_com_openlog_logging_id |
#define AUTOTUNE_AVERAGING_DECIMATION 2 |
Definition at line 58 of file pios_config.h.
#define BOARD_READABLE true |
Definition at line 84 of file pios_board.h.
#define BOARD_WRITABLE true |
Definition at line 85 of file pios_board.h.
#define BOOTLOADER_PAUSE_DELAY 500 |
Definition at line 45 of file pios_config.h.
#define CHAROSD_FONT_MINIMAL |
Definition at line 83 of file pios_config.h.
#define DEBUG_PRINTF | ( | level, | |
... | |||
) |
Definition at line 40 of file pios_board.h.
#define IDLE_COUNTS_PER_SEC_AT_NO_LOAD (2175780) |
Definition at line 76 of file pios_config.h.
#define MAX_DEL_RETRYS 3 |
Definition at line 86 of file pios_board.h.
#define PIOS_ANNUNCIATOR_BUZZER 1 |
Definition at line 94 of file pios_board.h.
#define PIOS_COM_BRIDGE (pios_com_bridge_id) |
Definition at line 122 of file pios_board.h.
#define PIOS_COM_FRSKY_SENSOR_HUB (pios_com_frsky_sensor_hub_id) |
Definition at line 126 of file pios_board.h.
#define PIOS_COM_FRSKY_SPORT (pios_com_frsky_sport_id) |
Definition at line 128 of file pios_board.h.
#define PIOS_COM_GPS (pios_com_gps_id) |
Definition at line 120 of file pios_board.h.
#define PIOS_COM_HOTT (pios_com_hott_id) |
Definition at line 125 of file pios_board.h.
#define PIOS_COM_LIGHTTELEMETRY (pios_com_lighttelemetry_id) |
Definition at line 127 of file pios_board.h.
#define PIOS_COM_MAVLINK (pios_com_mavlink_id) |
Definition at line 124 of file pios_board.h.
#define PIOS_COM_OPENLOG (pios_com_openlog_logging_id) |
Definition at line 129 of file pios_board.h.
#define PIOS_COM_STORM32BGC (pios_com_storm32bgc_id) |
Definition at line 130 of file pios_board.h.
#define PIOS_COM_TELEM_USB (pios_com_telem_usb_id) |
Definition at line 121 of file pios_board.h.
#define PIOS_COM_VCP (pios_com_vcp_id) |
Definition at line 123 of file pios_board.h.
#define PIOS_DMA_CHANNELS {DMA1_Channel1, DMA1_Channel2, DMA1_Channel3, DMA1_Channel4, DMA1_Channel5, DMA1_Channel6, DMA1_Channel7, DMA2_Channel1, DMA2_Channel2, DMA2_Channel3, DMA2_Channel4, DMA2_Channel5} |
Definition at line 226 of file pios_board.h.
#define PIOS_DMA_MAX_CHANNELS 12 |
Definition at line 224 of file pios_board.h.
#define PIOS_DMA_MAX_HANDLERS_PER_CHANNEL 3 |
Definition at line 225 of file pios_board.h.
#define PIOS_DSM_NUM_INPUTS 12 |
Definition at line 182 of file pios_board.h.
#define PIOS_EVENTDISPATCHER_STACK_SIZE 1024 |
Definition at line 63 of file pios_config.h.
#define PIOS_HSUM_MAX_DEVS 2 |
Definition at line 187 of file pios_board.h.
#define PIOS_HSUM_NUM_INPUTS 32 |
Definition at line 188 of file pios_board.h.
#define PIOS_INCLUDE_ANNUNC |
Definition at line 35 of file pios_config.h.
#define PIOS_INCLUDE_COM_MSG |
Definition at line 41 of file pios_config.h.
#define PIOS_INCLUDE_DMA_CB_SUBSCRIBING_FUNCTION |
Definition at line 39 of file pios_config.h.
#define PIOS_INCLUDE_FASTHEAP |
Definition at line 80 of file pios_config.h.
#define PIOS_INCLUDE_FLASH |
Definition at line 42 of file pios_config.h.
#define PIOS_INCLUDE_FLASH_INTERNAL |
Definition at line 43 of file pios_config.h.
#define PIOS_INCLUDE_IAP |
Definition at line 38 of file pios_config.h.
#define PIOS_INCLUDE_LIGHTTELEMETRY |
Definition at line 53 of file pios_config.h.
#define PIOS_INCLUDE_MAVLINK |
Definition at line 52 of file pios_config.h.
#define PIOS_INCLUDE_MAX7456 |
Definition at line 82 of file pios_config.h.
#define PIOS_INCLUDE_MPU |
Definition at line 45 of file pios_config.h.
#define PIOS_INCLUDE_MPU_MAG |
Definition at line 46 of file pios_config.h.
#define PIOS_INCLUDE_SPI |
Definition at line 36 of file pios_config.h.
#define PIOS_INCLUDE_SPI |
Definition at line 41 of file pios_config.h.
#define PIOS_INCLUDE_SYS |
Definition at line 37 of file pios_config.h.
#define PIOS_INCLUDE_USB |
Definition at line 39 of file pios_config.h.
#define PIOS_INCLUDE_USB_HID |
Definition at line 40 of file pios_config.h.
#define PIOS_INCLUDE_WS2811 |
Definition at line 81 of file pios_config.h.
#define PIOS_IRQ_PRIO_HIGH 5 |
Definition at line 159 of file pios_board.h.
#define PIOS_IRQ_PRIO_HIGHEST 4 |
Definition at line 160 of file pios_board.h.
#define PIOS_IRQ_PRIO_LOW 12 |
Definition at line 157 of file pios_board.h.
#define PIOS_IRQ_PRIO_MID 8 |
Definition at line 158 of file pios_board.h.
#define PIOS_LED_ALARM 0 |
Definition at line 93 of file pios_board.h.
#define PIOS_LED_HEARTBEAT 0 |
Definition at line 92 of file pios_board.h.
#define PIOS_PERIPHERAL_APB1_CLOCK (PIOS_SYSCLK / 2) |
Definition at line 150 of file pios_board.h.
#define PIOS_PERIPHERAL_APB2_CLOCK (PIOS_SYSCLK / 1) |
Definition at line 151 of file pios_board.h.
#define PIOS_PPM_NUM_INPUTS 12 |
Definition at line 172 of file pios_board.h.
#define PIOS_PWM_NUM_INPUTS 1 |
Definition at line 177 of file pios_board.h.
#define PIOS_RCVR_MAX_CHANNELS 12 |
Definition at line 167 of file pios_board.h.
#define PIOS_SBUS_NUM_INPUTS (16+2) |
Definition at line 193 of file pios_board.h.
#define PIOS_SERVO_UPDATE_HZ 50 |
Definition at line 198 of file pios_board.h.
#define PIOS_SERVOS_INITIAL_POSITION 0 /* dont want to start motors, have no pulse till settings loaded */ |
Definition at line 199 of file pios_board.h.
#define PIOS_SYSCLK 72000000 |
Definition at line 149 of file pios_board.h.
#define PIOS_TIM_MAX_DEVS 8 |
Definition at line 204 of file pios_board.h.
#define PIOS_TOLERATE_MISSING_SENSORS |
Definition at line 49 of file pios_config.h.
#define PIOS_USB_ENABLED 1 /* Should remove all references to this */ |
Definition at line 231 of file pios_board.h.
#define PIOS_WATCHDOG_TIMEOUT 250 |
Definition at line 99 of file pios_board.h.
#define PIOS_WDG_REGISTER RTC_BKP_DR4 |
Definition at line 100 of file pios_board.h.
#define STABILIZATION_LQG |
Definition at line 36 of file pios_config.h.
#define SYSTEMMOD_RGBLED_SUPPORT |
Definition at line 85 of file pios_config.h.
#define VREF_PLUS 3.3 |
Definition at line 213 of file pios_board.h.
#define WDG_STATS_DIAGNOSTICS |
Definition at line 42 of file pios_config.h.
void PIOS_Board_Init | ( | void | ) |
PIOS_Board_Init() initializes all the core subsystems on this specific hardware called from System/openpilot.c
Definition at line 45 of file pios_board.c.
uintptr_t pios_com_aux_id |
Definition at line 59 of file pios_board.c.
uintptr_t pios_com_bridge_id |
Definition at line 81 of file pios_hal.c.
uintptr_t pios_com_frsky_sensor_hub_id |
uintptr_t pios_com_frsky_sport_id |
uintptr_t pios_com_gps_id |
Definition at line 80 of file pios_hal.c.
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 |
Definition at line 61 of file pios_board.c.
uintptr_t pios_com_openlog_logging_id |
Definition at line 49 of file pios_board.c.
uintptr_t pios_com_storm32bgc_id |
uintptr_t pios_com_telem_serial_id |
Definition at line 127 of file pios_hal.c.
uintptr_t pios_com_telem_usb_id |
Definition at line 43 of file pios_board.c.
uintptr_t pios_com_telem_usb_id |
Definition at line 42 of file pios_board.c.
uintptr_t pios_com_vcp_id |
|
static |
Definition at line 599 of file board_hw_defs.c.
uintptr_t pios_uavo_settings_fs_id |
Simulation of the flash filesystem
Definition at line 60 of file pios_board.c.
|
static |
Definition at line 586 of file board_hw_defs.c.
|
static |
Definition at line 523 of file board_hw_defs.c.
|
static |
Definition at line 531 of file board_hw_defs.c.
|
static |
Definition at line 539 of file board_hw_defs.c.
|
static |
Definition at line 552 of file board_hw_defs.c.
|
static |
Definition at line 565 of file board_hw_defs.c.