thank you Dron_gus fot the idea!

This commit is contained in:
rusEfi 2019-04-13 19:55:18 -04:00
parent d0945b9449
commit ad50909f18
10 changed files with 47 additions and 5 deletions

View File

@ -10,3 +10,8 @@ set DEBUG_LEVEL_OPT="-O2"
call !compile_bootloader.bat -r
rem Clean up so that no one inherits this value
set PROJECT_BOARD=
set EXTRA_PARAMS=
set DEBUG_LEVEL_OPT=

View File

@ -10,3 +10,7 @@ set DEBUG_LEVEL_OPT="-O2"
call !compile_bootloader.bat -r
rem Clean up so that no one inherits this value
set PROJECT_BOARD=
set EXTRA_PARAMS=
set DEBUG_LEVEL_OPT=

View File

@ -12,3 +12,7 @@ rem set DEBUG_LEVEL_OPT="-O2"
call !compile_bootloader.bat -r
rem Clean up so that no one inherits this value
set PROJECT_BOARD=
set EXTRA_PARAMS=
set DEBUG_LEVEL_OPT=

View File

@ -13,3 +13,9 @@ set EXTRA_PARAMS=-DDUMMY -DSTM32F746xx ^
set DEBUG_LEVEL_OPT="-O2"
make -j4
..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu
rem Clean up so that no one inherits this value
set PROJECT_BOARD=
set EXTRA_PARAMS=
set DEBUG_LEVEL_OPT=
set USE_BOOTLOADER=

View File

@ -14,4 +14,10 @@ set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^
-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 DEBUG_LEVEL_OPT="-O2"
make -j4
..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu
..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu
rem Clean up so that no one inherits this value
set PROJECT_BOARD=
set EXTRA_PARAMS=
set DEBUG_LEVEL_OPT=
set USE_BOOTLOADER=

View File

@ -13,4 +13,10 @@ set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^
-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 DEBUG_LEVEL_OPT="-O2"
make -j4
..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu
..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu
rem Clean up so that no one inherits this value
set PROJECT_BOARD=
set EXTRA_PARAMS=
set DEBUG_LEVEL_OPT=
set USE_BOOTLOADER=

View File

@ -12,3 +12,9 @@ rem call compile.bat -r
rem temp stuff trying to fix CI
make clean
make -r
rem Clean up so that no one inherits this value
set PROJECT_BOARD=
set EXTRA_PARAMS=
set DEBUG_LEVEL_OPT=
set USE_BOOTLOADER=

View File

@ -12,3 +12,9 @@ rem call compile.bat -r
rem temp stuff trying to fix CI
make clean
make -r
rem Clean up so that no one inherits this value
set PROJECT_BOARD=
set EXTRA_PARAMS=
set DEBUG_LEVEL_OPT=
set USE_BOOTLOADER=

View File

@ -6,7 +6,6 @@
* @author Andrey Gusakov, (c) 2019
*/
#include "efifeatures.h"
#include "global.h"
#include "gpio/gpio_ext.h"

View File

@ -85,7 +85,7 @@ void initSmartGpio() {
#if (BOARD_TLE6240_COUNT > 0)
tle6240.spi_bus = getSpiDevice(engineConfiguration->tle6240spiDevice);
tle6240_add(0, &tle6240);
#else
#elif (BOARD_EXT_GPIOCHIPS > 0)
gpiochip_use_gpio_base(TLE6240_OUTPUTS);
#endif /* (BOARD_TLE6240_COUNT > 0) */
@ -93,7 +93,7 @@ void initSmartGpio() {
mc33972.spi_bus = getSpiDevice(engineConfiguration->mc33972spiDevice);
// todo: propogate 'basePinOffset' parameter
mc33972_add(0, &mc33972);
#else
#elif (BOARD_EXT_GPIOCHIPS > 0)
gpiochip_use_gpio_base(MC33972_INPUTS);
#endif /* (BOARD_MC33972_COUNT > 0) */