Some more include fixes for linux (#738)
* Some more include fixes for linux * Pass cross-compile path through CROSS_COMPILE * Lower-upper case conversion fixes for linux
This commit is contained in:
parent
3e656803e8
commit
12e07bc3ab
|
@ -310,8 +310,11 @@ INCDIR = $(CHIBIOS)/os/license \
|
||||||
|
|
||||||
MCU = cortex-m4
|
MCU = cortex-m4
|
||||||
|
|
||||||
#TRGT = arm-elf-
|
ifeq ($(CROSS_COMPILE),)
|
||||||
TRGT = arm-none-eabi-
|
TRGT = arm-none-eabi-
|
||||||
|
else
|
||||||
|
TRGT = $(CROSS_COMPILE)
|
||||||
|
endif
|
||||||
CC = $(TRGT)gcc
|
CC = $(TRGT)gcc
|
||||||
CPPC = $(TRGT)g++
|
CPPC = $(TRGT)g++
|
||||||
# Enable loading with g++ only if you need C++ runtime support.
|
# Enable loading with g++ only if you need C++ runtime support.
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# List of all the board related files.
|
# List of all the board related files.
|
||||||
BOARDSRC = $(PROJECT_DIR)/config/boards/ST_STM32F4/board.c
|
BOARDSRC = $(PROJECT_DIR)/config/boards/st_stm32f4/board.c
|
||||||
BOARDSRC_CPP =
|
BOARDSRC_CPP =
|
||||||
|
|
||||||
# Required include directories
|
# Required include directories
|
||||||
BOARDINC = $(PROJECT_DIR)/config/boards/ST_STM32F4
|
BOARDINC = $(PROJECT_DIR)/config/boards/st_stm32f4
|
||||||
|
|
||||||
# MCU defines
|
# MCU defines
|
||||||
DDEFS += -DSTM32F407xx
|
DDEFS += -DSTM32F407xx
|
||||||
|
|
|
@ -96,7 +96,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if EFI_HIP_9011 || defined(__DOXYGEN__)
|
#if EFI_HIP_9011 || defined(__DOXYGEN__)
|
||||||
#include "HIP9011.h"
|
#include "hip9011.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif /* EFI_PROD_CODE */
|
||||||
|
|
||||||
#if EFI_CJ125 || defined(__DOXYGEN__)
|
#if EFI_CJ125 || defined(__DOXYGEN__)
|
||||||
#include "CJ125.h"
|
#include "cj125.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(EFI_BOOTLOADER_INCLUDE_CODE) || defined(__DOXYGEN__)
|
#if defined(EFI_BOOTLOADER_INCLUDE_CODE) || defined(__DOXYGEN__)
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "cyclic_buffer.h"
|
#include "cyclic_buffer.h"
|
||||||
|
|
||||||
#if EFI_CJ125 || defined(__DOXYGEN__)
|
#if EFI_CJ125 || defined(__DOXYGEN__)
|
||||||
#include "CJ125.h"
|
#include "cj125.h"
|
||||||
#endif /* EFI_CJ125 */
|
#endif /* EFI_CJ125 */
|
||||||
|
|
||||||
EXTERN_ENGINE;
|
EXTERN_ENGINE;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @file HIP9011.h
|
* @file hip9011.h
|
||||||
* @brief HIP9011/TPIC8101 driver
|
* @brief HIP9011/TPIC8101 driver
|
||||||
*
|
*
|
||||||
* @date Nov 27, 2013
|
* @date Nov 27, 2013
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* @file CJ125.h
|
* @file cj125.h
|
||||||
*
|
*
|
||||||
* @date: Jul 17, 2016
|
* @date: Jul 17, 2016
|
||||||
* @author Andrey Belomutskiy, (c) 2012-2018
|
* @author Andrey Belomutskiy, (c) 2012-2018
|
||||||
|
|
Loading…
Reference in New Issue