Инициализация SPI перенесена в отдельные файлы
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
|
||||
|
||||
// user includes
|
||||
#include "main.h"
|
||||
|
||||
|
||||
extern void Error_Handler(void);
|
||||
@@ -18,10 +17,17 @@ extern void Error_Handler(void);
|
||||
|
||||
#include "stm32f4xx_hal.h"
|
||||
|
||||
|
||||
#include "gpio_general.h"
|
||||
//#include "uart_general.h"
|
||||
//#include "tim_general.h"
|
||||
//#include "flash_general.h"
|
||||
#ifdef HAL_SPI_MODULE_ENABLED
|
||||
#include "spi_general.h"
|
||||
#endif
|
||||
#ifdef HAL_UART_MODULE_ENABLED
|
||||
#include "uart_general.h"
|
||||
#endif
|
||||
#ifdef HAL_TIM_MODULE_ENABLED
|
||||
#include "tim_general.h"
|
||||
#endif
|
||||
|
||||
|
||||
#endif // __PERIPH_GENERAL_H_
|
||||
Reference in New Issue
Block a user