mirror of https://github.com/rusefi/openblt.git
Refs #659. Made STM32 HAL port includes conditional for the communication interfaces.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@633 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
83e9c0018c
commit
e9ba4a1d03
|
@ -31,11 +31,11 @@
|
||||||
* Include files
|
* Include files
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
#include "boot.h" /* bootloader generic header */
|
#include "boot.h" /* bootloader generic header */
|
||||||
|
#if (BOOT_COM_CAN_ENABLE > 0)
|
||||||
#include "stm32f0xx.h" /* STM32 CPU and HAL header */
|
#include "stm32f0xx.h" /* STM32 CPU and HAL header */
|
||||||
#include "stm32f0xx_ll_rcc.h" /* STM32 LL RCC header */
|
#include "stm32f0xx_ll_rcc.h" /* STM32 LL RCC header */
|
||||||
|
|
||||||
|
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Macro definitions
|
* Macro definitions
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
|
@ -30,11 +30,11 @@
|
||||||
* Include files
|
* Include files
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
#include "boot.h" /* bootloader generic header */
|
#include "boot.h" /* bootloader generic header */
|
||||||
|
#if (BOOT_COM_UART_ENABLE > 0)
|
||||||
#include "stm32f0xx.h" /* STM32 CPU and HAL header */
|
#include "stm32f0xx.h" /* STM32 CPU and HAL header */
|
||||||
#include "stm32f0xx_ll_usart.h" /* STM32 LL USART header */
|
#include "stm32f0xx_ll_usart.h" /* STM32 LL USART header */
|
||||||
|
|
||||||
|
|
||||||
#if (BOOT_COM_UART_ENABLE > 0)
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Macro definitions
|
* Macro definitions
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
|
@ -31,13 +31,11 @@
|
||||||
* Include files
|
* Include files
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
#include "boot.h" /* bootloader generic header */
|
#include "boot.h" /* bootloader generic header */
|
||||||
|
#if (BOOT_COM_CAN_ENABLE > 0)
|
||||||
#include "stm32f1xx.h" /* STM32 CPU and HAL header */
|
#include "stm32f1xx.h" /* STM32 CPU and HAL header */
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
|
||||||
#include "stm32f1xx_ll_rcc.h" /* STM32 LL RCC header */
|
#include "stm32f1xx_ll_rcc.h" /* STM32 LL RCC header */
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Macro definitions
|
* Macro definitions
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
|
@ -31,11 +31,11 @@
|
||||||
* Include files
|
* Include files
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
#include "boot.h" /* bootloader generic header */
|
#include "boot.h" /* bootloader generic header */
|
||||||
|
#if (BOOT_COM_CAN_ENABLE > 0)
|
||||||
#include "stm32f2xx.h" /* STM32 CPU and HAL header */
|
#include "stm32f2xx.h" /* STM32 CPU and HAL header */
|
||||||
#include "stm32f2xx_ll_rcc.h" /* STM32 LL RCC header */
|
#include "stm32f2xx_ll_rcc.h" /* STM32 LL RCC header */
|
||||||
|
|
||||||
|
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Macro definitions
|
* Macro definitions
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
|
@ -30,11 +30,11 @@
|
||||||
* Include files
|
* Include files
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
#include "boot.h" /* bootloader generic header */
|
#include "boot.h" /* bootloader generic header */
|
||||||
|
#if (BOOT_COM_UART_ENABLE > 0)
|
||||||
#include "stm32f2xx.h" /* STM32 CPU and HAL header */
|
#include "stm32f2xx.h" /* STM32 CPU and HAL header */
|
||||||
#include "stm32f2xx_ll_usart.h" /* STM32 LL USART header */
|
#include "stm32f2xx_ll_usart.h" /* STM32 LL USART header */
|
||||||
|
|
||||||
|
|
||||||
#if (BOOT_COM_UART_ENABLE > 0)
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Macro definitions
|
* Macro definitions
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
|
@ -31,11 +31,11 @@
|
||||||
* Include files
|
* Include files
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
#include "boot.h" /* bootloader generic header */
|
#include "boot.h" /* bootloader generic header */
|
||||||
|
#if (BOOT_COM_CAN_ENABLE > 0)
|
||||||
#include "stm32f3xx.h" /* STM32 CPU and HAL header */
|
#include "stm32f3xx.h" /* STM32 CPU and HAL header */
|
||||||
#include "stm32f3xx_ll_rcc.h" /* STM32 LL RCC header */
|
#include "stm32f3xx_ll_rcc.h" /* STM32 LL RCC header */
|
||||||
|
|
||||||
|
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Macro definitions
|
* Macro definitions
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
|
@ -30,11 +30,11 @@
|
||||||
* Include files
|
* Include files
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
#include "boot.h" /* bootloader generic header */
|
#include "boot.h" /* bootloader generic header */
|
||||||
|
#if (BOOT_COM_UART_ENABLE > 0)
|
||||||
#include "stm32f3xx.h" /* STM32 CPU and HAL header */
|
#include "stm32f3xx.h" /* STM32 CPU and HAL header */
|
||||||
#include "stm32f3xx_ll_usart.h" /* STM32 LL USART header */
|
#include "stm32f3xx_ll_usart.h" /* STM32 LL USART header */
|
||||||
|
|
||||||
|
|
||||||
#if (BOOT_COM_UART_ENABLE > 0)
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Macro definitions
|
* Macro definitions
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
|
@ -31,11 +31,11 @@
|
||||||
* Include files
|
* Include files
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
#include "boot.h" /* bootloader generic header */
|
#include "boot.h" /* bootloader generic header */
|
||||||
|
#if (BOOT_COM_CAN_ENABLE > 0)
|
||||||
#include "stm32l4xx.h" /* STM32 CPU and HAL header */
|
#include "stm32l4xx.h" /* STM32 CPU and HAL header */
|
||||||
#include "stm32l4xx_ll_rcc.h" /* STM32 LL RCC header */
|
#include "stm32l4xx_ll_rcc.h" /* STM32 LL RCC header */
|
||||||
|
|
||||||
|
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Macro definitions
|
* Macro definitions
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
|
@ -30,11 +30,11 @@
|
||||||
* Include files
|
* Include files
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
#include "boot.h" /* bootloader generic header */
|
#include "boot.h" /* bootloader generic header */
|
||||||
|
#if (BOOT_COM_UART_ENABLE > 0)
|
||||||
#include "stm32l4xx.h" /* STM32 CPU and HAL header */
|
#include "stm32l4xx.h" /* STM32 CPU and HAL header */
|
||||||
#include "stm32l4xx_ll_usart.h" /* STM32 LL USART header */
|
#include "stm32l4xx_ll_usart.h" /* STM32 LL USART header */
|
||||||
|
|
||||||
|
|
||||||
#if (BOOT_COM_UART_ENABLE > 0)
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Macro definitions
|
* Macro definitions
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue