13 #ifndef APP_CONFIG_STM32_H_
14 #define APP_CONFIG_STM32_H_
21 #include "stm32_uart.h"
22 #include "stm32_spi.h"
23 #include "stm32_gpio.h"
32 #define TARGET_NAME SDP_K1
35 #define APP_UART_HANDLE &huart5
36 #define UART_IRQ_ID UART5_IRQn
39 #define SPI_DEVICE_ID 1
41 #define STM32_SPI_CS_PORT 0
47 #define spi_extra_init_params stm32_spi_init_params
48 #define uart_extra_init_params stm32_uart_init_params
51 #define gpio_ops stm32_gpio_ops
52 #define spi_ops stm32_spi_ops
53 #define uart_ops stm32_uart_ops
62 extern UART_HandleTypeDef
huart5;
UART_HandleTypeDef huart5
struct stm32_spi_init_param stm32_spi_init_params
Definition: app_config_stm32.c:40
struct stm32_uart_init_param stm32_uart_init_params
Definition: app_config_stm32.c:30
void stm32_system_init(void)
Initialize the STM32 system peripherals.
Definition: app_config_stm32.c:111