APM:Libraries
Macros | Functions | Variables
board.cpp File Reference
#include <boards.h>
#include "../../SPIDevice.h"
#include <AP_Common/AP_Common.h>
Include dependency graph for board.cpp:

Go to the source code of this file.

Macros

#define BOARD_STM32V1F4
 

Functions

void boardInit (void)
 Board-specific initialization code. More...
 

Variables

const stm32_pin_info PIN_MAP [BOARD_NR_GPIO_PINS__FLASH__
 
const SPIDesc spi_device_table []
 
const uint8_t F4Light_SPI_DEVICE_NUM_DEVICES = ARRAY_SIZE(spi_device_table)
 

Macro Definition Documentation

◆ BOARD_STM32V1F4

#define BOARD_STM32V1F4

Definition at line 2 of file board.cpp.

Function Documentation

◆ boardInit()

void boardInit ( void  )

Board-specific initialization code.

Board-specific initialization function.

Todo:
Add your board-specific code, if any.

Definition at line 201 of file board.cpp.

Here is the call graph for this function:

Variable Documentation

◆ __FLASH__

const struct TIM_Channel PWM_Channels [] __FLASH__

Definition at line 157 of file board.cpp.

◆ F4Light_SPI_DEVICE_NUM_DEVICES

const uint8_t F4Light_SPI_DEVICE_NUM_DEVICES = ARRAY_SIZE(spi_device_table)

◆ spi_device_table

const SPIDesc spi_device_table[]
Initial value:
= {
}
Definition: spi.h:55
#define BOARD_BMP280_CS_PIN
Definition: board.h:115
const spi_dev *const _SPI2
Definition: spi.c:43
#define DMA_Priority_Low
Definition: dma.h:162
#define BOARD_INS_MPU60x0_NAME
Definition: board.h:132
#define DMA_Priority_High
Definition: dma.h:164
const spi_dev *const _SPI3
Definition: spi.c:54
#define BOARD_MPU6000_CS_PIN
Definition: board.h:69
#define BOARD_SDCARD_NAME
Definition: board.h:136
Definition: spi.h:61
#define DMA_Priority_Medium
Definition: dma.h:163
#define DMA_Priority_VeryHigh
Definition: dma.h:165
#define BOARD_OSD_NAME
Definition: board.h:146
const spi_dev *const _SPI1
Definition: spi.c:32
#define HAL_BARO_BMP280_NAME
Definition: chibios.h:53
#define BOARD_OSD_CS_PIN
Definition: board.h:147