we need TLE8888 driver #714

reviving build
This commit is contained in:
rusefi 2019-04-13 16:35:45 -04:00
parent 75ea5cd812
commit 6516c4753d
2 changed files with 9 additions and 1 deletions

View File

@ -5,7 +5,7 @@ echo Starting compilation for Discovery-407
rem set PROJECT_BOARD=Prometheus
rem set PROMETHEUS_BOARD=405
rem set EXTRA_PARAMS=-DDUMMY -DSTM32F405xx -DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_CHECKS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE
set EXTRA_PARAMS=-DDUMMY -DEFI_BOOTLOADER
set EXTRA_PARAMS=-DDUMMY -DEFI_BOOTLOADER -DBOARD_TLE8888_COUNT=0
set BOOTLOADER_CODE_DESTINATION_PATH=".."
set BOOTLOADER_COMMENT="/*F4discovery*/"
rem set DEBUG_LEVEL_OPT="-O2"

View File

@ -123,9 +123,17 @@
//#define EFI_POTENTIOMETER FALSE
#define EFI_POTENTIOMETER TRUE
#ifndef BOARD_TLE6240_COUNT
#define BOARD_TLE6240_COUNT 0
#endif
#ifndef BOARD_MC33972_COUNT
#define BOARD_MC33972_COUNT 0
#endif
#ifndef BOARD_TLE8888_COUNT
#define BOARD_TLE8888_COUNT 1
#endif
// todo: move this outside of efifeatures.h
#define BOARD_EXT_GPIOCHIPS (BOARD_TLE6240_COUNT + BOARD_MC33972_COUNT + BOARD_TLE8888_COUNT)