Cosmetics
This commit is contained in:
@@ -742,7 +742,7 @@ PACK(struct TrainerData {
|
|||||||
#define EXTRA_GENERAL_FIELDS
|
#define EXTRA_GENERAL_FIELDS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(COLORLCD)
|
#if defined(COLORLCD) && !defined(BACKUP)
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
#define THEME_NAME_LEN 8
|
#define THEME_NAME_LEN 8
|
||||||
#define THEME_DATA \
|
#define THEME_DATA \
|
||||||
|
|||||||
@@ -29,10 +29,10 @@
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#if __clang__
|
#if __clang__
|
||||||
// clang is very picky about the use of "register"
|
// clang is very picky about the use of "register"
|
||||||
// Tell clang to ignore the warnings for the following files
|
// Tell clang to ignore the warnings for the following files
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(STM32F4)
|
#if defined(STM32F4)
|
||||||
|
|||||||
@@ -243,7 +243,7 @@ if(PYTHONINTERP_FOUND)
|
|||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${PROJECT_BINARY_DIR}/radio/src/datacopy.cpp
|
OUTPUT ${PROJECT_BINARY_DIR}/radio/src/datacopy.cpp
|
||||||
WORKING_DIRECTORY ${RADIO_DIRECTORY}/src
|
WORKING_DIRECTORY ${RADIO_DIRECTORY}/src
|
||||||
COMMAND ${PYTHON_EXECUTABLE} ${RADIO_DIRECTORY}/util/generate_datacopy.py datastructs.h -DPCBHORUS -DPCBX10 -DCPUARM -DSTM32F4 -DSTM32F429_439xx -DCOLORLCD -DBACKUP -DSIMU -I. -Itargets/horus -Itargets/common/arm/stm32 -I${THIRDPARTY_DIR} -I${THIRDPARTY_DIR}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include ${arm_gcc_include_path} > ${PROJECT_BINARY_DIR}/radio/src/datacopy.cpp
|
COMMAND ${PYTHON_EXECUTABLE} ${RADIO_DIRECTORY}/util/generate_datacopy.py datastructs.h -DPCBHORUS -DPCBX10 -DCPUARM -DSTM32F4 -DSTM32F429_439xx -DCOLORLCD -DBACKUP -DSIMU -I. -Igui/colorlcd -Itargets/horus -Itargets/common/arm/stm32 -I${THIRDPARTY_DIR} -I${THIRDPARTY_DIR}/libopenui/src -I${THIRDPARTY_DIR}/STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -I${THIRDPARTY_DIR}/STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include -I${THIRDPARTY_DIR}/STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/CMSIS/Include ${arm_gcc_include_path} > ${PROJECT_BINARY_DIR}/radio/src/datacopy.cpp
|
||||||
DEPENDS ${RADIO_DIRECTORY}/src/datastructs.h ${RADIO_DIRECTORY}/util/generate_datacopy.py
|
DEPENDS ${RADIO_DIRECTORY}/src/datastructs.h ${RADIO_DIRECTORY}/util/generate_datacopy.py
|
||||||
)
|
)
|
||||||
add_custom_target(datacopy
|
add_custom_target(datacopy
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ PACK(typedef struct {
|
|||||||
extern HardwareOptions hardwareOptions;
|
extern HardwareOptions hardwareOptions;
|
||||||
|
|
||||||
#if !defined(LUA_EXPORT_GENERATION)
|
#if !defined(LUA_EXPORT_GENERATION)
|
||||||
#include "stm32f4xx_sdio.h"
|
#include "stm32f4xx_sdio.h"
|
||||||
#include "stm32f4xx_dma2d.h"
|
#include "stm32f4xx_dma2d.h"
|
||||||
#include "stm32f4xx_ltdc.h"
|
#include "stm32f4xx_ltdc.h"
|
||||||
#include "stm32f4xx_fmc.h"
|
#include "stm32f4xx_fmc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FLASHSIZE 0x200000
|
#define FLASHSIZE 0x200000
|
||||||
|
|||||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 882e53546b...5cce8bc930
Reference in New Issue
Block a user