Go to the source code of this file.
◆ BOARD_STM32V1F4
◆ boardInit()
Board-specific initialization code.
Board-specific initialization function.
- Todo:
- Add your board-specific code, if any.
Definition at line 201 of file board.cpp.
◆ __FLASH__
◆ F4Light_SPI_DEVICE_NUM_DEVICES
◆ spi_device_table
const SPIDesc spi_device_table[] |
Initial value:= {
{
BOARD_INS_MPU60x0_NAME,
_SPI1, 1,
SPI_MODE_0,
BOARD_MPU6000_CS_PIN,
SPI_1_125MHZ,
SPI_9MHZ,
SPI_TRANSFER_DMA,
DMA_Priority_VeryHigh, 1, 5 },
{
BOARD_SDCARD_NAME,
_SPI2, 2,
SPI_MODE_0, 255,
SPI_1_125MHZ,
SPI_18MHZ,
SPI_TRANSFER_DMA,
DMA_Priority_Medium, 0, 0 },
{
HAL_BARO_BMP280_NAME,
_SPI3, 3,
SPI_MODE_3,
BOARD_BMP280_CS_PIN,
SPI_1_125MHZ,
SPI_9MHZ,
SPI_TRANSFER_DMA,
DMA_Priority_High, 1, 1 },
{
BOARD_OSD_NAME,
_SPI3, 3,
SPI_MODE_3,
BOARD_OSD_CS_PIN,
SPI_1_125MHZ,
SPI_4_5MHZ,
SPI_TRANSFER_DMA,
DMA_Priority_Low, 2, 2 },
}
#define BOARD_BMP280_CS_PIN
const spi_dev *const _SPI2
#define BOARD_INS_MPU60x0_NAME
#define DMA_Priority_High
const spi_dev *const _SPI3
#define BOARD_MPU6000_CS_PIN
#define BOARD_SDCARD_NAME
#define DMA_Priority_Medium
#define DMA_Priority_VeryHigh
const spi_dev *const _SPI1
#define HAL_BARO_BMP280_NAME