test fixture progress

This commit is contained in:
rusefi 2020-05-21 18:36:32 -04:00
parent 5c9851e976
commit aac7712df5
9 changed files with 25 additions and 16 deletions

View File

@ -1,7 +1,7 @@
#include "global.h"
#include "rusefi_enums.h"
#include "rusefi_hw_enums.h"
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Wed May 20 22:25:18 EDT 2020
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Thu May 21 18:17:55 EDT 2020
// see also gen_config_and_enums.bat
@ -669,8 +669,10 @@ case MINIMAL_PINS:
return "MINIMAL_PINS";
case MITSU_4G93:
return "MITSU_4G93";
case MRE_BOARD_TEST:
return "MRE_BOARD_TEST";
case MRE_BOARD_NEW_TEST:
return "MRE_BOARD_NEW_TEST";
case MRE_BOARD_OLD_TEST:
return "MRE_BOARD_OLD_TEST";
case MRE_MIATA_NA6:
return "MRE_MIATA_NA6";
case MRE_MIATA_NB2:

View File

@ -3,7 +3,7 @@ cd ../../..
set PROJECT_BOARD=microrusefi
set PROJECT_CPU=ARCH_STM32F4
set DEFAULT_ENGINE_TYPE=-DDEFAULT_ENGINE_TYPE=MRE_BOARD_TEST
set DEFAULT_ENGINE_TYPE=-DDEFAULT_ENGINE_TYPE=MRE_BOARD_NEW_TEST
set EXTRA_PARAMS=-DHW_CHECK_MODE=TRUE
call config/boards/common_make.bat

View File

@ -7,9 +7,11 @@
* MICRO_RUS_EFI
* set engine_type 60
*
* MRE_BOARD_TEST
* MRE_BOARD_OLD_TEST
* set engine_type 30
*
* MRE_BOARD_NEW_TEST
* set engine_type 31
*
* See https://github.com/rusefi/rusefi/wiki/Hardware_microRusEfi_wiring
*

View File

@ -397,7 +397,7 @@ void setTle8888TestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
* set engine_type 30
* MRE_BOARD_TEST
*/
void mreBoardTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
void mreBoardOldTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
#if (BOARD_TLE8888_COUNT > 0)
engineConfiguration->debugMode = DBG_TLE8888;

View File

@ -19,6 +19,7 @@ void setTle8888TestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void setIssue898(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void mreBoardTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void mreBoardOldTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void mreBoardNewTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void setTest33816EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);

View File

@ -1,7 +1,7 @@
#include "global.h"
#include "rusefi_enums.h"
#include "rusefi_hw_enums.h"
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Wed May 20 22:25:09 EDT 2020
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Thu May 21 18:17:54 EDT 2020
// see also gen_config_and_enums.bat
@ -807,8 +807,10 @@ case MINIMAL_PINS:
return "MINIMAL_PINS";
case MITSU_4G93:
return "MITSU_4G93";
case MRE_BOARD_TEST:
return "MRE_BOARD_TEST";
case MRE_BOARD_NEW_TEST:
return "MRE_BOARD_NEW_TEST";
case MRE_BOARD_OLD_TEST:
return "MRE_BOARD_OLD_TEST";
case MRE_MIATA_NA6:
return "MRE_MIATA_NA6";
case MRE_MIATA_NB2:

View File

@ -1196,8 +1196,9 @@ void resetConfigurationExt(Logging * logger, configuration_callback_t boardCallb
// all basic settings are already set in prepareVoidConfiguration(), no need to set anything here
// nothing to do - we do it all in setBoardConfigurationOverrides
break;
case MRE_BOARD_TEST:
mreBoardTest(PASS_CONFIG_PARAMETER_SIGNATURE);
case MRE_BOARD_OLD_TEST:
case MRE_BOARD_NEW_TEST:
mreBoardOldTest(PASS_CONFIG_PARAMETER_SIGNATURE);
break;
case TEST_ENGINE:
setTestEngineConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);

View File

@ -102,9 +102,10 @@ typedef enum {
SACHS = 29,
MRE_BOARD_TEST = 30,
// LED physical order set for older test fixtures
MRE_BOARD_OLD_TEST = 30,
DODGE_RAM = 31,
MRE_BOARD_NEW_TEST = 31,
VW_ABA = 32,
@ -185,6 +186,8 @@ typedef enum {
BMW_M73_PROTEUS = 63,
DODGE_RAM = 64,
/**
* this configuration has as few pins configured as possible
*/

View File

@ -188,8 +188,6 @@ const char* getConfigurationName(engine_type_e engineType) {
return "CAMARO_4";
case CHEVY_C20_1973:
return "CHEVY C20";
case MRE_BOARD_TEST:
return "MRE_TEST";
case DODGE_RAM:
return "DODGE_RAM";
default: