diff options
Diffstat (limited to 'src/stm32/setup.h')
-rw-r--r-- | src/stm32/setup.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stm32/setup.h b/src/stm32/setup.h index b9432dc..f583d20 100644 --- a/src/stm32/setup.h +++ b/src/stm32/setup.h @@ -4,11 +4,12 @@ #include <stm32f0xx_hal_uart.h> #include <stm32f0xx_hal_tim.h> #include <stm32f0xx_hal_gpio.h> +#include <stm32f0xx_hal_dma.h> extern UART_HandleTypeDef huart2; // NOLINT -extern GPIO_InitTypeDef spi_gpio; // NOLINT extern SPI_HandleTypeDef hspi1; // NOLINT extern TIM_HandleTypeDef htim3; // NOLINT +extern DMA_HandleTypeDef hdma_spi1_tx; // NOLINT // required HAL setup functions void HAL_MspInit(); // NOLINT @@ -21,3 +22,4 @@ void HardFault_Handler(); // NOLINT void SysTick_Handler(); // NOLINT void EXTI4_15_IRQHandler(); // NOLINT void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin); // NOLINT +void DMA1_Ch2_3_DMA2_Ch1_2_IRQHandler(); // NOLINT |