|
#define | BOARD_TAWAKI |
|
#define | AHB_CLK STM32_HCLK |
| ChibiOS board file. More...
|
|
#define | _CONCAT_BOARD_PARAM(_s1, _s2) _s1 ## _s2 |
|
#define | CONCAT_BOARD_PARAM(_s1, _s2) _CONCAT_BOARD_PARAM(_s1, _s2) |
|
#define | USE_LED_1 1 |
|
#define | LED_1_GPIO PAL_PORT(LINE_LED1) |
|
#define | LED_1_GPIO_PIN PAL_PAD(LINE_LED1) |
|
#define | LED_1_GPIO_ON gpio_set |
|
#define | LED_1_GPIO_OFF gpio_clear |
|
#define | USE_LED_2 1 |
|
#define | LED_2_GPIO PAL_PORT(LINE_LED2) |
|
#define | LED_2_GPIO_PIN PAL_PAD(LINE_LED2) |
|
#define | LED_2_GPIO_ON gpio_set |
|
#define | LED_2_GPIO_OFF gpio_clear |
|
#define | USE_LED_3 1 |
|
#define | LED_3_GPIO PAL_PORT(LINE_LED3) |
|
#define | LED_3_GPIO_PIN PAL_PAD(LINE_LED3) |
|
#define | LED_3_GPIO_ON gpio_set |
|
#define | LED_3_GPIO_OFF gpio_clear |
|
#define | USE_LED_4 1 |
|
#define | LED_4_GPIO PAL_PORT(LINE_LED4) |
|
#define | LED_4_GPIO_PIN PAL_PAD(LINE_LED4) |
|
#define | LED_4_GPIO_ON gpio_set |
|
#define | LED_4_GPIO_OFF gpio_clear |
|
#define | USE_ADC_9 1 |
|
#define | AD1_9_CHANNEL CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN) |
|
#define | ADC_9 AD1_9 |
|
#define | ADC_9_GPIO_PORT PAL_PORT(LINE_VBAT_MEAS) |
|
#define | ADC_9_GPIO_PIN PAL_PAD(LINE_VBAT_MEAS) |
|
#define | ADC_CHANNEL_VSUPPLY ADC_9 |
|
#define | VBAT_R1 2200.0f |
|
#define | VBAT_R2 12000.0f |
|
#define | DefaultVoltageOfAdc(adc) ((3.3f/4096.0f)*((VBAT_R1+VBAT_R2)/VBAT_R1)*adc) |
|
#define | USE_PWM_TIM1 1 |
|
#define | USE_PWM1 1 |
|
#define | PWM_SERVO_1 1 |
|
#define | PWM_SERVO_1_GPIO PAL_PORT(LINE_SRVA1) |
|
#define | PWM_SERVO_1_PIN PAL_PAD(LINE_SRVA1) |
|
#define | PWM_SERVO_1_AF AF_SRVA1 |
|
#define | PWM_SERVO_1_DRIVER CONCAT_BOARD_PARAM(PWMD, SRVA1_TIM) |
|
#define | PWM_SERVO_1_CHANNEL (SRVA1_TIM_CH-1) |
|
#define | PWM_SERVO_1_CONF CONCAT_BOARD_PARAM(pwmcfg, SRVA1_TIM) |
|
#define | USE_PWM2 1 |
|
#define | PWM_SERVO_2 2 |
|
#define | PWM_SERVO_2_GPIO PAL_PORT(LINE_SRVA2) |
|
#define | PWM_SERVO_2_PIN PAL_PAD(LINE_SRVA2) |
|
#define | PWM_SERVO_2_AF AF_SRVA2 |
|
#define | PWM_SERVO_2_DRIVER CONCAT_BOARD_PARAM(PWMD, SRVA2_TIM) |
|
#define | PWM_SERVO_2_CHANNEL (SRVA2_TIM_CH-1) |
|
#define | PWM_SERVO_2_CONF CONCAT_BOARD_PARAM(pwmcfg, SRVA2_TIM) |
|
#define | USE_PWM3 1 |
|
#define | PWM_SERVO_3 3 |
|
#define | PWM_SERVO_3_GPIO PAL_PORT(LINE_SRVA3) |
|
#define | PWM_SERVO_3_PIN PAL_PAD(LINE_SRVA3) |
|
#define | PWM_SERVO_3_AF AF_SRVA3 |
|
#define | PWM_SERVO_3_DRIVER CONCAT_BOARD_PARAM(PWMD, SRVA3_TIM) |
|
#define | PWM_SERVO_3_CHANNEL (SRVA3_TIM_CH-1) |
|
#define | PWM_SERVO_3_CONF CONCAT_BOARD_PARAM(pwmcfg, SRVA3_TIM) |
|
#define | USE_PWM4 1 |
|
#define | PWM_SERVO_4 4 |
|
#define | PWM_SERVO_4_GPIO PAL_PORT(LINE_SRVA4) |
|
#define | PWM_SERVO_4_PIN PAL_PAD(LINE_SRVA4) |
|
#define | PWM_SERVO_4_AF AF_SRVA4 |
|
#define | PWM_SERVO_4_DRIVER CONCAT_BOARD_PARAM(PWMD, SRVA4_TIM) |
|
#define | PWM_SERVO_4_CHANNEL (SRVA4_TIM_CH-1) |
|
#define | PWM_SERVO_4_CONF CONCAT_BOARD_PARAM(pwmcfg, SRVA4_TIM) |
|
#define | USE_PWM5 0 |
|
#define | USE_PWM6 0 |
|
#define | USE_PWM7 0 |
|
#define | USE_PWM8 0 |
|
#define | USE_PWM9 0 |
|
#define | USE_PWM10 0 |
|
#define | USE_PWM11 0 |
|
#define | USE_PWM12 0 |
|
#define | USE_PWM13 0 |
|
#define | USE_PWM14 0 |
|
#define | USE_PWM15 0 |
|
#define | USE_PWM16 0 |
|
#define | ACTUATORS_PWM_NB 17 |
|
#define | DSHOT_TIM4_TELEMETRY_DEV NULL |
| DSHOT. More...
|
|
#define | DSHOT_TIM1_TELEMETRY_DEV NULL |
|
#define | DSHOT_TLM_RX 5 |
|
#define | DSHOT_TLM_AUX_RX 4 |
|
#define | USE_DSHOT_TIM4 1 |
|
#define | DSHOT_SERVO_1 1 |
|
#define | DSHOT_SERVO_1_GPIO PAL_PORT(LINE_SRVB1) |
|
#define | DSHOT_SERVO_1_PIN PAL_PAD(LINE_SRVB1) |
|
#define | DSHOT_SERVO_1_AF AF_SRVB1 |
|
#define | DSHOT_SERVO_1_DRIVER CONCAT_BOARD_PARAM(DSHOTD, SRVB1_TIM) |
|
#define | DSHOT_SERVO_1_CHANNEL SRVB1_TIM_CH |
|
#define | DSHOT_SERVO_2 2 |
|
#define | DSHOT_SERVO_2_GPIO PAL_PORT(LINE_SRVB2) |
|
#define | DSHOT_SERVO_2_PIN PAL_PAD(LINE_SRVB2) |
|
#define | DSHOT_SERVO_2_AF AF_SRVB2 |
|
#define | DSHOT_SERVO_2_DRIVER CONCAT_BOARD_PARAM(DSHOTD, SRVB2_TIM) |
|
#define | DSHOT_SERVO_2_CHANNEL SRVB2_TIM_CH |
|
#define | DSHOT_SERVO_3 3 |
|
#define | DSHOT_SERVO_3_GPIO PAL_PORT(LINE_SRVB3) |
|
#define | DSHOT_SERVO_3_PIN PAL_PAD(LINE_SRVB3) |
|
#define | DSHOT_SERVO_3_AF AF_SRVB3 |
|
#define | DSHOT_SERVO_3_DRIVER CONCAT_BOARD_PARAM(DSHOTD, SRVB3_TIM) |
|
#define | DSHOT_SERVO_3_CHANNEL SRVB3_TIM_CH |
|
#define | DSHOT_SERVO_4 4 |
|
#define | DSHOT_SERVO_4_GPIO PAL_PORT(LINE_SRVB4) |
|
#define | DSHOT_SERVO_4_PIN PAL_PAD(LINE_SRVB4) |
|
#define | DSHOT_SERVO_4_AF AF_SRVB4 |
|
#define | DSHOT_SERVO_4_DRIVER CONCAT_BOARD_PARAM(DSHOTD, SRVB4_TIM) |
|
#define | DSHOT_SERVO_4_CHANNEL SRVB4_TIM_CH |
|
#define | DSHOT_CONF_TIM4 1 |
|
#define | DSHOT_CONF4_DEF |
|
#define | UART2_GPIO_PORT_TX PAL_PORT(LINE_UART2_TX) |
| UART2 (Modem with optional flow control on AUXa disabled by default) More...
|
|
#define | UART2_GPIO_TX PAL_PAD(LINE_UART2_TX) |
|
#define | UART2_GPIO_PORT_RX PAL_PORT(LINE_UART2_RX) |
|
#define | UART2_GPIO_RX PAL_PAD(LINE_UART2_RX) |
|
#define | UART2_GPIO_AF AF_UART2_TX |
|
#define | UART2_HW_FLOW_CONTROL FALSE |
|
#define | UART3_GPIO_PORT_TX PAL_PORT(LINE_UART3_TX) |
| UART7 (GPS) and UART3 (Companion) are configured as UART from ChibiOS board file by default. More...
|
|
#define | UART3_GPIO_TX PAL_PAD(LINE_UART3_TX) |
|
#define | UART3_GPIO_PORT_RX PAL_PORT(LINE_UART3_RX) |
|
#define | UART3_GPIO_RX PAL_PAD(LINE_UART3_RX) |
|
#define | UART3_GPIO_AF AF_UART3_TX |
|
#define | UART7_GPIO_PORT_TX PAL_PORT(LINE_UART7_TX) |
|
#define | UART7_GPIO_TX PAL_PAD(LINE_UART7_TX) |
|
#define | UART7_GPIO_PORT_RX PAL_PORT(LINE_UART7_RX) |
|
#define | UART7_GPIO_RX PAL_PAD(LINE_UART7_RX) |
|
#define | UART7_GPIO_AF AF_UART7_TX |
|
#define | UART4_GPIO_PORT_TX PAL_PORT(LINE_AUX_A1) |
| UART4 on AUXa (not configured by default) More...
|
|
#define | UART4_GPIO_TX PAL_PAD(LINE_AUX_A1) |
|
#define | UART4_GPIO_PORT_RX PAL_PORT(LINE_AUX_A2) |
|
#define | UART4_GPIO_RX PAL_PAD(LINE_AUX_A2) |
|
#define | UART4_GPIO_AF AUX_A1_UART_AF |
|
#define | UART5_GPIO_PORT_RX PAL_PORT(LINE_DSHOT_RX) |
| UART5 on SRVB (DSHOT telemetry) More...
|
|
#define | UART5_GPIO_RX PAL_PAD(LINE_DSHOT_RX) |
|
#define | UART5_GPIO_AF AF_DSHOT_RX |
|
#define | USE_UART8_RX TRUE |
| SBUS / Spektrum port. More...
|
|
#define | USE_UART8_TX FALSE |
|
#define | UART8_GPIO_PORT_TX PAL_PORT(LINE_RC1) |
|
#define | UART8_GPIO_TX PAL_PAD(LINE_RC1) |
|
#define | UART8_GPIO_PORT_RX PAL_PORT(LINE_RC1) |
|
#define | UART8_GPIO_RX PAL_PAD(LINE_RC1) |
|
#define | UART8_GPIO_AF RC1_UART_AF |
|
#define | USE_UART6_RX FALSE |
|
#define | USE_UART6_TX TRUE |
|
#define | UART6_GPIO_PORT_TX PAL_PORT(LINE_RC2) |
|
#define | UART6_GPIO_TX PAL_PAD(LINE_RC2) |
|
#define | UART6_GPIO_PORT_RX PAL_PORT(LINE_RC2) |
|
#define | UART6_GPIO_RX PAL_PAD(LINE_RC2) |
|
#define | UART6_GPIO_AF RC2_USART_AF |
|
#define | SPEKTRUM_BIND_PIN PAL_PORT(LINE_AUX_B4) |
|
#define | SPEKTRUM_BIND_PIN_PORT PAL_PAD(LINE_AUX_B4) |
|
#define | SPEKTRUM_BIND_WAIT 30000 |
|
#define | RC_PPM_TICKS_PER_USEC 6 |
| PPM radio defines. More...
|
|
#define | PPM_TIMER_FREQUENCY 6000000 |
|
#define | PPM_CHANNEL CONCAT_BOARD_PARAM(ICU_CHANNEL_, RC2_TIM_CH) |
|
#define | PPM_TIMER CONCAT_BOARD_PARAM(ICUD, RC2_TIM) |
|
#define | PWM_INPUT1_ICU ICUD2 |
|
#define | PWM_INPUT1_CHANNEL ICU_CHANNEL_1 |
|
#define | PWM_INPUT1_GPIO_PORT PAL_PORT(LINE_AUX_A1) |
|
#define | PWM_INPUT1_GPIO_PIN PAL_PAD(LINE_AUX_A1) |
|
#define | PWM_INPUT1_GPIO_AF GPIO_AF1 |
|
#define | PWM_INPUT2_ICU ICUD5 |
|
#define | PWM_INPUT2_CHANNEL ICU_CHANNEL_2 |
|
#define | PWM_INPUT2_GPIO_PORT PAL_PORT(LINE_AUX_A2) |
|
#define | PWM_INPUT2_GPIO_PIN PAL_PAD(LINE_AUX_A2) |
|
#define | PWM_INPUT2_GPIO_AF GPIO_AF2 |
|
#define | STM32_CR1_DNF(n) ((n & 0x0f) << 8) |
| I2C defines. More...
|
|
#define | I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR |
|
#define | I2C_STD_100KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR |
|
#define | I2C4_CLOCK_SPEED 400000 |
|
#define | I2C4_CFG_DEF |
|
#define | I2C2_CLOCK_SPEED 400000 |
|
#define | I2C2_CFG_DEF |
|
#define | SPI4_GPIO_AF AF_SPI4_INTERNAL_CLK |
| SPI Config. More...
|
|
#define | SPI4_GPIO_PORT_MISO PAL_PORT(LINE_SPI4_INTERNAL_MISO) |
|
#define | SPI4_GPIO_MISO PAL_PAD(LINE_SPI4_INTERNAL_MISO) |
|
#define | SPI4_GPIO_PORT_MOSI PAL_PORT(LINE_SPI4_INTERNAL_MOSI) |
|
#define | SPI4_GPIO_MOSI PAL_PAD(LINE_SPI4_INTERNAL_MOSI) |
|
#define | SPI4_GPIO_PORT_SCK PAL_PORT(LINE_SPI4_INTERNAL_CLK) |
|
#define | SPI4_GPIO_SCK PAL_PAD(LINE_SPI4_INTERNAL_CLK) |
|
#define | SPI2_GPIO_AF AF_SPI2_EXTERNAL_CLK |
|
#define | SPI2_GPIO_PORT_MISO PAL_PORT(LINE_SPI2_EXTERNAL_MISO) |
|
#define | SPI2_GPIO_MISO PAL_PAD(LINE_SPI2_EXTERNAL_MISO) |
|
#define | SPI2_GPIO_PORT_MOSI PAL_PORT(LINE_SPI2_EXTERNAL_MOSI) |
|
#define | SPI2_GPIO_MOSI PAL_PAD(LINE_SPI2_EXTERNAL_MOSI) |
|
#define | SPI2_GPIO_PORT_SCK PAL_PORT(LINE_SPI2_EXTERNAL_CLK) |
|
#define | SPI2_GPIO_SCK PAL_PAD(LINE_SPI2_EXTERNAL_CLK) |
|
#define | SPI_SELECT_SLAVE0_PORT PAL_PORT(LINE_SPI2_EXTERNAL_CS) |
|
#define | SPI_SELECT_SLAVE0_PIN PAL_PAD(LINE_SPI2_EXTERNAL_CS) |
|
#define | SPI_SELECT_SLAVE1_PORT PAL_PORT(LINE_AUX_B1) |
|
#define | SPI_SELECT_SLAVE1_PIN PAL_PAD(LINE_AUX_B1) |
|
#define | SPI_SELECT_SLAVE2_PORT PAL_PORT(LINE_AUX_B2) |
|
#define | SPI_SELECT_SLAVE2_PIN PAL_PAD(LINE_AUX_B2) |
|
#define | SPI_SELECT_SLAVE3_PORT PAL_PORT(LINE_AUX_B3) |
|
#define | SPI_SELECT_SLAVE3_PIN PAL_PAD(LINE_AUX_B3) |
|
#define | SPI_SELECT_SLAVE4_PORT PAL_PORT(LINE_AUX_B4) |
|
#define | SPI_SELECT_SLAVE4_PIN PAL_PAD(LINE_AUX_B4) |
|
#define | SPI_SELECT_SLAVE5_PORT PAL_PORT(LINE_SPI4_INTERNAL_CS) |
|
#define | SPI_SELECT_SLAVE5_PIN PAL_PAD(LINE_SPI4_INTERNAL_CS) |
|
#define | USE_BARO_BOARD 0 |
| Baro. More...
|
|
#define | SDIO_D0_PORT PAL_PORT(LINE_SDMMC1_D0) |
| SDIO. More...
|
|
#define | SDIO_D0_PIN PAL_PAD(LINE_SDMMC1_D0) |
|
#define | SDIO_D1_PORT PAL_PORT(LINE_SDMMC1_D1) |
|
#define | SDIO_D1_PIN PAL_PAD(LINE_SDMMC1_D1) |
|
#define | SDIO_D2_PORT PAL_PORT(LINE_SDMMC1_D2) |
|
#define | SDIO_D2_PIN PAL_PAD(LINE_SDMMC1_D2) |
|
#define | SDIO_D3_PORT PAL_PORT(LINE_SDMMC1_D3) |
|
#define | SDIO_D3_PIN PAL_PAD(LINE_SDMMC1_D3) |
|
#define | SDIO_CK_PORT PAL_PORT(LINE_SDMMC1_CK) |
|
#define | SDIO_CK_PIN PAL_PAD(LINE_SDMMC1_CK) |
|
#define | SDIO_CMD_PORT PAL_PORT(LINE_SDMMC1_CMD) |
|
#define | SDIO_CMD_PIN PAL_PAD(LINE_SDMMC1_CMD) |
|
#define | SDIO_AF AF_SDMMC1_CK |
|
#define | SDLOG_BAT_ADC CONCAT_BOARD_PARAM(ADCD, VBAT_MEAS_ADC) |
|
#define | SDLOG_BAT_CHAN CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN) |
|
#define | SDLOG_USB_LED 4 |
|
#define | SDLOG_USB_VBUS_PORT PAL_PORT(LINE_USB_VBUS) |
|
#define | SDLOG_USB_VBUS_PIN PAL_PAD(LINE_USB_VBUS) |
|
#define | DEFAULT_ACTUATORS "modules/actuators/actuators_pwm.h" |
|
#define | ActuatorDefaultSet(_x, _y) ActuatorPwmSet(_x,_y) |
|
#define | ActuatorsDefaultInit() ActuatorsPwmInit() |
|
#define | ActuatorsDefaultCommit() ActuatorsPwmCommit() |
|
#define | WS2812D1_GPIO PAL_PORT(LINE_AUX_A1) |
| For WS2812. More...
|
|
#define | WS2812D1_PIN PAL_PAD(LINE_AUX_A1) |
|
#define | WS2812D1_AF 2 |
|
#define | WS2812D1_CFG_DEF |
|