thank you Dron_gus fot the idea!
This commit is contained in:
parent
76cc822b1e
commit
f8fec2e2fb
|
@ -10,3 +10,8 @@ set DEBUG_LEVEL_OPT="-O2"
|
||||||
|
|
||||||
call !compile_bootloader.bat -r
|
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=
|
||||||
|
|
||||||
|
|
|
@ -10,3 +10,7 @@ set DEBUG_LEVEL_OPT="-O2"
|
||||||
|
|
||||||
call !compile_bootloader.bat -r
|
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=
|
||||||
|
|
|
@ -12,3 +12,7 @@ rem set DEBUG_LEVEL_OPT="-O2"
|
||||||
|
|
||||||
call !compile_bootloader.bat -r
|
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=
|
||||||
|
|
|
@ -13,3 +13,9 @@ set EXTRA_PARAMS=-DDUMMY -DSTM32F746xx ^
|
||||||
set DEBUG_LEVEL_OPT="-O2"
|
set DEBUG_LEVEL_OPT="-O2"
|
||||||
make -j4
|
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=
|
||||||
|
|
|
@ -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
|
-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"
|
set DEBUG_LEVEL_OPT="-O2"
|
||||||
make -j4
|
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=
|
||||||
|
|
|
@ -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
|
-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"
|
set DEBUG_LEVEL_OPT="-O2"
|
||||||
make -j4
|
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=
|
||||||
|
|
|
@ -12,3 +12,9 @@ rem call compile.bat -r
|
||||||
rem temp stuff trying to fix CI
|
rem temp stuff trying to fix CI
|
||||||
make clean
|
make clean
|
||||||
make -r
|
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=
|
||||||
|
|
|
@ -12,3 +12,9 @@ rem call compile.bat -r
|
||||||
rem temp stuff trying to fix CI
|
rem temp stuff trying to fix CI
|
||||||
make clean
|
make clean
|
||||||
make -r
|
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=
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
* @author Andrey Gusakov, (c) 2019
|
* @author Andrey Gusakov, (c) 2019
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "efifeatures.h"
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "gpio/gpio_ext.h"
|
#include "gpio/gpio_ext.h"
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ void initSmartGpio() {
|
||||||
#if (BOARD_TLE6240_COUNT > 0)
|
#if (BOARD_TLE6240_COUNT > 0)
|
||||||
tle6240.spi_bus = getSpiDevice(engineConfiguration->tle6240spiDevice);
|
tle6240.spi_bus = getSpiDevice(engineConfiguration->tle6240spiDevice);
|
||||||
tle6240_add(0, &tle6240);
|
tle6240_add(0, &tle6240);
|
||||||
#else
|
#elif (BOARD_EXT_GPIOCHIPS > 0)
|
||||||
gpiochip_use_gpio_base(TLE6240_OUTPUTS);
|
gpiochip_use_gpio_base(TLE6240_OUTPUTS);
|
||||||
#endif /* (BOARD_TLE6240_COUNT > 0) */
|
#endif /* (BOARD_TLE6240_COUNT > 0) */
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ void initSmartGpio() {
|
||||||
mc33972.spi_bus = getSpiDevice(engineConfiguration->mc33972spiDevice);
|
mc33972.spi_bus = getSpiDevice(engineConfiguration->mc33972spiDevice);
|
||||||
// todo: propogate 'basePinOffset' parameter
|
// todo: propogate 'basePinOffset' parameter
|
||||||
mc33972_add(0, &mc33972);
|
mc33972_add(0, &mc33972);
|
||||||
#else
|
#elif (BOARD_EXT_GPIOCHIPS > 0)
|
||||||
gpiochip_use_gpio_base(MC33972_INPUTS);
|
gpiochip_use_gpio_base(MC33972_INPUTS);
|
||||||
#endif /* (BOARD_MC33972_COUNT > 0) */
|
#endif /* (BOARD_MC33972_COUNT > 0) */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue