This commit is contained in:
rusefillc 2022-07-21 15:23:42 -04:00
commit c600a9f59c
57 changed files with 102 additions and 101 deletions

View File

@ -1,5 +1,6 @@
<div align="center">
<img src="https://raw.githubusercontent.com/wiki/rusefi/rusefi/Images/logo_new.png" alt="rusEFI" width="600" />
<b>GPL open-source DIY ECU</b>

View File

@ -102,7 +102,7 @@ struct CanTsThread : public TunerstudioThread {
static CanTsThread canTsThread;
void startCanConsole() {
canTsThread.Start();
canTsThread.start();
canStreamInit();
}

View File

@ -93,12 +93,12 @@ void startSerialChannels() {
#if HAS_PRIMARY
// todo: invert setting one day?
if (!engineConfiguration->disablePrimaryUart) {
primaryChannelThread.Start();
primaryChannelThread.start();
}
#endif
#if HAS_SECONDARY
secondaryChannelThread.Start();
secondaryChannelThread.start();
#endif
}

View File

@ -98,7 +98,7 @@ void startEthernetConsole() {
efiSetPadMode("ethernet", Gpio::G14, PAL_MODE_ALTERNATE(0xb));
#endif // STM32H7
ethernetConsole.Start();
ethernetConsole.start();
}
#endif // EFI_ETHERNET

View File

@ -934,10 +934,10 @@ void startStatusThreads(void) {
// todo: refactoring needed, this file should probably be split into pieces
#if EFI_PROD_CODE
initStatusLeds();
communicationsBlinkingTask.Start();
communicationsBlinkingTask.start();
#endif /* EFI_PROD_CODE */
#if EFI_LCD
lcdInstance.Start();
lcdInstance.start();
#endif /* EFI_LCD */
}

View File

@ -51,7 +51,7 @@ struct UsbThread : public TunerstudioThread {
static UsbThread usbConsole;
void startUsbConsole() {
usbConsole.Start();
usbConsole.start();
}
#endif // EFI_USB_SERIAL

View File

@ -1008,7 +1008,7 @@ void doInitElectronicThrottle() {
#endif /* EFI_UNIT_TEST */
#if !EFI_UNIT_TEST
etbThread.Start();
etbThread.start();
#endif
}

View File

@ -156,7 +156,7 @@ void initAuxPid() {
startVvtControlPins();
for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
instances[i].Start();
instances[i].start();
}
}

View File

@ -574,7 +574,7 @@ void initBenchTest() {
addConsoleActionFFFFF("luabench2", luaOutBench2);
instance.setPeriod(200 /*ms*/);
instance.Start();
instance.start();
onConfigurationChangeBenchTest();
}

View File

@ -1,2 +1,2 @@
#pragma once
#define VCS_DATE 20220720
#define VCS_DATE 20220721

View File

@ -237,8 +237,8 @@ static void doPeriodicSlowCallback() {
}
void initPeriodicEvents() {
slowController.Start();
fastController.Start();
slowController.start();
fastController.start();
}
char * getPinNameByAdcChannel(const char *msg, adc_channel_e hwChannel, char *buffer) {
@ -697,7 +697,7 @@ void initEngineContoller() {
return;
}
engineStateBlinkingTask.Start();
engineStateBlinkingTask.start();
initVrPwm();

View File

@ -122,7 +122,7 @@ void initMalfunctionIndicator(void) {
return;
}
instance.setPeriod(10 /*ms*/);
instance.Start();
instance.start();
#if TEST_MIL_CODE
addConsoleAction("testmil", testMil);

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3402620106
#define TS_SIGNATURE "rusEFI 2022.07.20.48way.3402620106"
#define SIGNATURE_HASH 2318799270
#define TS_SIGNATURE "rusEFI 2022.07.21.48way.2318799270"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3723023493
#define TS_SIGNATURE "rusEFI 2022.07.20.all.3723023493"
#define SIGNATURE_HASH 2635143657
#define TS_SIGNATURE "rusEFI 2022.07.21.all.2635143657"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 4026157545
#define TS_SIGNATURE "rusEFI 2022.07.20.alphax-2chan.4026157545"
#define SIGNATURE_HASH 2936243333
#define TS_SIGNATURE "rusEFI 2022.07.21.alphax-2chan.2936243333"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 4267981766
#define TS_SIGNATURE "rusEFI 2022.07.20.alphax-4chan.4267981766"
#define SIGNATURE_HASH 3198023338
#define TS_SIGNATURE "rusEFI 2022.07.21.alphax-4chan.3198023338"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3240239522
#define TS_SIGNATURE "rusEFI 2022.07.20.atlas.3240239522"
#define SIGNATURE_HASH 2178673870
#define TS_SIGNATURE "rusEFI 2022.07.21.atlas.2178673870"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 721716604
#define TS_SIGNATURE "rusEFI 2022.07.20.core8.721716604"
#define SIGNATURE_HASH 1811761168
#define TS_SIGNATURE "rusEFI 2022.07.21.core8.1811761168"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3723023493
#define TS_SIGNATURE "rusEFI 2022.07.20.f407-discovery.3723023493"
#define SIGNATURE_HASH 2635143657
#define TS_SIGNATURE "rusEFI 2022.07.21.f407-discovery.2635143657"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3723023493
#define TS_SIGNATURE "rusEFI 2022.07.20.f429-discovery.3723023493"
#define SIGNATURE_HASH 2635143657
#define TS_SIGNATURE "rusEFI 2022.07.21.f429-discovery.2635143657"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2676238401
#define TS_SIGNATURE "rusEFI 2022.07.20.frankenso_na6.2676238401"
#define SIGNATURE_HASH 3749569837
#define TS_SIGNATURE "rusEFI 2022.07.21.frankenso_na6.3749569837"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2835647482
#define TS_SIGNATURE "rusEFI 2022.07.20.harley81.2835647482"
#define SIGNATURE_HASH 3925690006
#define TS_SIGNATURE "rusEFI 2022.07.21.harley81.3925690006"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 4243047904
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen-gm-e67.4243047904"
#define SIGNATURE_HASH 3156084876
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen-gm-e67.3156084876"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 73655625
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen-nb1.73655625"
#define SIGNATURE_HASH 1150953509
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen-nb1.1150953509"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 1429630063
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen121nissan.1429630063"
#define SIGNATURE_HASH 365928707
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen121nissan.365928707"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2915637247
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen121vag.2915637247"
#define SIGNATURE_HASH 3979401875
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen121vag.3979401875"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 352927588
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen128.352927588"
#define SIGNATURE_HASH 1441853960
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen128.1441853960"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 1168614913
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen154hyundai.1168614913"
#define SIGNATURE_HASH 90073965
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen154hyundai.90073965"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 802684289
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen72.802684289"
#define SIGNATURE_HASH 1865298157
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen72.1865298157"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 4284288143
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen81.4284288143"
#define SIGNATURE_HASH 3215245795
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen81.3215245795"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2793089360
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen88bmw.2793089360"
#define SIGNATURE_HASH 3867337788
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen88bmw.3867337788"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 1600333285
#define TS_SIGNATURE "rusEFI 2022.07.20.hellenNA6.1600333285"
#define SIGNATURE_HASH 530245769
#define TS_SIGNATURE "rusEFI 2022.07.21.hellenNA6.530245769"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 3746631349
#define TS_SIGNATURE "rusEFI 2022.07.20.hellenNA8_96.3746631349"
#define SIGNATURE_HASH 2678637529
#define TS_SIGNATURE "rusEFI 2022.07.21.hellenNA8_96.2678637529"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on hellen_cypress_gen_config.bat null
//
#define SIGNATURE_HASH 2563021455
#define TS_SIGNATURE "rusEFI 2022.07.20.hellen_cypress.2563021455"
#define SIGNATURE_HASH 3627898851
#define TS_SIGNATURE "rusEFI 2022.07.21.hellen_cypress.3627898851"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on kinetis_gen_config.bat null
//
#define SIGNATURE_HASH 3330800898
#define TS_SIGNATURE "rusEFI 2022.07.20.kin.3330800898"
#define SIGNATURE_HASH 2256416878
#define TS_SIGNATURE "rusEFI 2022.07.21.kin.2256416878"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 306075763
#define TS_SIGNATURE "rusEFI 2022.07.20.mre_f4.306075763"
#define SIGNATURE_HASH 1388811551
#define TS_SIGNATURE "rusEFI 2022.07.21.mre_f4.1388811551"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 306075763
#define TS_SIGNATURE "rusEFI 2022.07.20.mre_f7.306075763"
#define SIGNATURE_HASH 1388811551
#define TS_SIGNATURE "rusEFI 2022.07.21.mre_f7.1388811551"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2365721955
#define TS_SIGNATURE "rusEFI 2022.07.20.prometheus_405.2365721955"
#define SIGNATURE_HASH 3455827983
#define TS_SIGNATURE "rusEFI 2022.07.21.prometheus_405.3455827983"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2365721955
#define TS_SIGNATURE "rusEFI 2022.07.20.prometheus_469.2365721955"
#define SIGNATURE_HASH 3455827983
#define TS_SIGNATURE "rusEFI 2022.07.21.prometheus_469.3455827983"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2015695859
#define TS_SIGNATURE "rusEFI 2022.07.20.proteus_f4.2015695859"
#define SIGNATURE_HASH 953999007
#define TS_SIGNATURE "rusEFI 2022.07.21.proteus_f4.953999007"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2015695859
#define TS_SIGNATURE "rusEFI 2022.07.20.proteus_f7.2015695859"
#define SIGNATURE_HASH 953999007
#define TS_SIGNATURE "rusEFI 2022.07.21.proteus_f7.953999007"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2015695859
#define TS_SIGNATURE "rusEFI 2022.07.20.proteus_h7.2015695859"
#define SIGNATURE_HASH 953999007
#define TS_SIGNATURE "rusEFI 2022.07.21.proteus_h7.953999007"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on config/boards/subaru_eg33/config/gen_subaru_config.sh null
//
#define SIGNATURE_HASH 3606654263
#define TS_SIGNATURE "rusEFI 2022.07.20.subaru_eg33_f7.3606654263"
#define SIGNATURE_HASH 2516639835
#define TS_SIGNATURE "rusEFI 2022.07.21.subaru_eg33_f7.2516639835"

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh null
//
#define SIGNATURE_HASH 2011175633
#define TS_SIGNATURE "rusEFI 2022.07.20.tdg-pdm8.2011175633"
#define SIGNATURE_HASH 924440509
#define TS_SIGNATURE "rusEFI 2022.07.21.tdg-pdm8.924440509"

View File

@ -501,8 +501,8 @@ float getConfigValueByName(const char *name) {
return engineConfiguration->launchBoostDuty;
if (strEqualCaseInsensitive(name, "hardCutRpmRange"))
return engineConfiguration->hardCutRpmRange;
if (strEqualCaseInsensitive(name, "launchTpsTreshold"))
return engineConfiguration->launchTpsTreshold;
if (strEqualCaseInsensitive(name, "launchTpsThreshold"))
return engineConfiguration->launchTpsThreshold;
if (strEqualCaseInsensitive(name, "stft.maxIdleRegionRpm"))
return engineConfiguration->stft.maxIdleRegionRpm;
if (strEqualCaseInsensitive(name, "stft.maxOverrunLoad"))
@ -1695,9 +1695,9 @@ void setConfigValueByName(const char *name, float value) {
engineConfiguration->hardCutRpmRange = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "launchTpsTreshold"))
if (strEqualCaseInsensitive(name, "launchTpsThreshold"))
{
engineConfiguration->launchTpsTreshold = (int)value;
engineConfiguration->launchTpsThreshold = (int)value;
return;
}
if (strEqualCaseInsensitive(name, "stft.maxIdleRegionRpm"))

View File

@ -352,7 +352,7 @@ void startLua() {
initLuaCanRx();
#endif // EFI_CAN_SUPPORT
luaThread.Start();
luaThread.start();
addConsoleActionS("lua", [](const char* str){
if (interactivePending) {

View File

@ -150,7 +150,7 @@ void initSoftwareKnock() {
#if KNOCK_HAS_CH2
efiSetPadMode("knock ch2", KNOCK_PIN_CH2, PAL_MODE_INPUT_ANALOG);
#endif
kt.Start();
kt.start();
}
}

View File

@ -35,7 +35,7 @@ public:
/**
* This invokes PeriodicTask() immediately and starts the cycle of invocations and sleeps
*/
virtual void Start() {
virtual void start() {
#if !EFI_UNIT_TEST
chVTObjectInit(&timer);
#endif // EFI_UNIT_TEST

View File

@ -55,7 +55,7 @@ public:
/**
* @brief Start the thread.
*/
void Start()
void start()
{
if (m_isStarted) {
warning(CUSTOM_OBD_6003, "Tried to start thread %s but it was already running", m_name);

View File

@ -460,7 +460,7 @@ void initAdcInputs() {
portInitAdc();
// Start the slow ADC thread
slowAdcController.Start();
slowAdcController.start();
#if EFI_USE_FAST_ADC
fastAdc.init();

View File

@ -139,11 +139,11 @@ public:
{
}
void Start(CANDriver* device) {
void start(CANDriver* device) {
m_device = device;
if (device) {
ThreadController::Start();
ThreadController::start();
}
}
@ -318,12 +318,12 @@ void initCan() {
// fire up threads, as necessary
if (engineConfiguration->canWriteEnabled) {
canWrite.Start();
canWrite.start();
}
if (engineConfiguration->canReadEnabled) {
canRead1.Start(device1);
canRead2.Start(device2);
canRead1.start(device1);
canRead2.start(device2);
}
isCanEnabled = true;

View File

@ -85,7 +85,7 @@ void initAuxSerial(void) {
startAuxSerialPins();
if (isSerialRXEnabled)
serialRead.Start();
serialRead.start();
}
#endif // EFI_AUX_SERIAL

View File

@ -117,7 +117,7 @@ void initUsbMsd() {
msd.attachLun(1, (BaseBlockDevice*)&ND1, blkbuf1, &sdCardInquiry, nullptr);
// start the mass storage thread
msd.Start();
msd.start();
}
#endif // HAL_USE_USB_MSD

View File

@ -177,7 +177,7 @@ void initMicrosecondTimer() {
watchDogBuddyCallback(NULL);
#if EFI_EMULATE_POSITION_SENSORS
watchdogControllerInstance.Start();
watchdogControllerInstance.start();
#endif /* EFI_EMULATE_POSITION_SENSORS */
}

View File

@ -209,7 +209,7 @@ bool StepDirectionStepper::step(bool positive) {
void StepperMotor::initialize(StepperHw *hardware, int totalSteps) {
StepperMotorBase::initialize(hardware, totalSteps);
Start();
start();
}
void StepDirectionStepper::initialize(brain_pin_e stepPin, brain_pin_e directionPin, pin_output_mode_e directionPinMode, float reactionTime, brain_pin_e enablePin, pin_output_mode_e enablePinMode) {

View File

@ -1,12 +1,12 @@
// This file was generated by Version2Header
// Wed Jul 20 00:20:03 UTC 2022
// Thu Jul 21 00:23:32 UTC 2022
#ifndef GIT_HASH
#define GIT_HASH "208779081aea5469cbc1fba48368d1794daaebd0"
#define GIT_HASH "76ec58fc8388e3697e5163c4c63b1cdff9b231ca"
#endif
#ifndef VCS_VERSION
#define VCS_VERSION "42068"
#define VCS_VERSION "42086"
#endif

View File

@ -160,7 +160,7 @@ void startLoggingProcessor() {
}
// Start processing used buffers
lbf.Start();
lbf.start();
}
#endif // EFI_PROD_CODE