13 #ifndef APP_CONFIG_STM32_H_
14 #define APP_CONFIG_STM32_H_
20 #include "stm32_uart.h"
21 #include "stm32_spi.h"
22 #include "stm32_i2c.h"
23 #include "stm32_gpio.h"
24 #include "stm32_gpio_irq.h"
34 #define HW_CARRIER_NAME SDP-K1
37 #define MAX_SPI_BAUDRATE 10000000
38 #define SPI_DEVICE_ID 1
43 #define APP_UART_HANDLE &huart5
46 #define UART_IRQ_ID UART5_IRQn
49 #define I2C_DEVICE_ID 1
62 #define RDY_GPIO_PRIORITY 1
67 extern I2C_HandleTypeDef
hi2c1;
68 extern SPI_HandleTypeDef
hspi1;
74 extern UART_HandleTypeDef
huart5;
UART_HandleTypeDef huart5
struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params
Definition: app_config_stm32.c:35
void stm32_system_init(void)
Initialize the STM32 system peripherals.
Definition: app_config_stm32.c:111
struct stm32_uart_init_param stm32_uart_extra_init_params
Definition: app_config_stm32.c:49
struct stm32_spi_init_param stm32_spi_extra_init_params
Definition: app_config_stm32.c:54
struct stm32_i2c_init_param stm32_i2c_extra_init_params
Definition: app_config_stm32.c:99
struct stm32_gpio_init_param stm32_gpio_sync_extra_init_params
Definition: app_config_stm32.c:46