This commit is contained in:
rusefi 2019-12-14 09:36:46 -05:00
commit a1f6b358ef
7 changed files with 17 additions and 14 deletions

View File

@ -48,7 +48,7 @@
// See global_shared.h notes about stack requirements
// see also http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:stacks
#define PORT_INT_REQUIRED_STACK 400
#define PORT_INT_REQUIRED_STACK 128
#define CHPRINTF_USE_FLOAT TRUE

View File

@ -45,7 +45,7 @@
// See global_shared.h notes about stack requirements
// see also http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:stacks
#define PORT_INT_REQUIRED_STACK 400
#define PORT_INT_REQUIRED_STACK 128
#define CHPRINTF_USE_FLOAT TRUE

View File

@ -45,7 +45,7 @@
// See global_shared.h notes about stack requirements
// see also http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:stacks
#define PORT_INT_REQUIRED_STACK 400
#define PORT_INT_REQUIRED_STACK 128
#define CHPRINTF_USE_FLOAT TRUE

View File

@ -676,7 +676,7 @@ static CommunicationBlinkingTask communicationsBlinkingTask;
#if EFI_LCD
class LcdController : public PeriodicController<UTILITY_THREAD_STACK_SIZE> {
public:
LcdController() : PeriodicController("BenchThread") { }
LcdController() : PeriodicController("LCD") { }
private:
void PeriodicTask(efitime_t nowNt) override {
UNUSED(nowNt);

View File

@ -798,7 +798,7 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX)
// help to notice when RAM usage goes up - if a code change adds to RAM usage these variables would fail
// linking process which is the way to raise the alarm
#ifndef RAM_UNUSED_SIZE
#define RAM_UNUSED_SIZE 10000
#define RAM_UNUSED_SIZE 14000
#endif
#ifndef CCM_UNUSED_SIZE
#define CCM_UNUSED_SIZE 4600

View File

@ -20,7 +20,10 @@
EXTERN_ENGINE;
THD_WORKING_AREA(servoThreadStack, UTILITY_THREAD_STACK_SIZE);
// This thread calls scheduleForLater which eventually could trip the main trigger callback
// if self stimulation (heh) is enabled, which uses a TON of stack space.
// So this stack has to be pretty big, unfortunately.
THD_WORKING_AREA(servoThreadStack, UTILITY_THREAD_STACK_SIZE * 3);
static OutputPin pins[SERVO_COUNT];

View File

@ -1652,13 +1652,13 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
field = "Idle Stepper Enable", stepperEnablePin
field = "Fuel Pump Pin", fuelPumpPin
field = "Fuel Pump Pin Mode", fuelPumpPinMode
field = "ETB#1 Dir #1", etb1_directionPin1 @@if_ts_show_etb_pins
field = "ETB#1 Dir #2", etb1_directionPin2 @@if_ts_show_etb_pins
field = "ETB#1 Control #1", etb1_controlPin1 @@if_ts_show_etb_pins
field = "etb1_controlPinMode", etb1_controlPinMode @@if_ts_show_etb_pins
field = "ETB#2 Dir #1", etb2_directionPin1 @@if_ts_show_etb_pins
field = "ETB#2 Dir #2", etb2_directionPin2 @@if_ts_show_etb_pins
field = "ETB#2 Control #1", etb2_controlPin1 @@if_ts_show_etb_pins
field = "ETB#1 Dir #1", etbIo1_directionPin1 @@if_ts_show_etb_pins
field = "ETB#1 Dir #2", etbIo1_directionPin2 @@if_ts_show_etb_pins
field = "ETB#1 Control #1", etbIo1_controlPin1 @@if_ts_show_etb_pins
field = "etb1_controlPinMode", etbIo1_controlPinMode @@if_ts_show_etb_pins
field = "ETB#2 Dir #1", etbIo2_directionPin1 @@if_ts_show_etb_pins
field = "ETB#2 Dir #2", etbIo2_directionPin2 @@if_ts_show_etb_pins
field = "ETB#2 Control #1", etbIo2_controlPin1 @@if_ts_show_etb_pins
field = "SD CS Pin", sdCardCsPin
field = "MIL / Check Engine Pin", malfunctionIndicatorPin
field = "MIL / Check Engine Pin Mode", malfunctionIndicatorPinMode
@ -2505,7 +2505,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
field = "No1 Control #1", etbIo1_controlPin1, {throttlePedalPositionAdcChannel != 16 && etb_use_two_wires == 0}
field = "No2 Direction #1", etbIo2_directionPin1, {throttlePedalPositionAdcChannel != 16}
field = "No2 Direction #2", etbIo2_directionPin2, {throttlePedalPositionAdcChannel != 16}
field = "No2 Control #1", etb2_controlPin1, {throttlePedalPositionAdcChannel != 16 && etb_use_two_wires == 0}
field = "No2 Control #1", etbIo2_controlPin1, {throttlePedalPositionAdcChannel != 16 && etb_use_two_wires == 0}
field = "TPS#2 min", tps2Min, {etbIo2_directionPin1 != 0}
field = "TPS#2 max", tps2Max, {etbIo2_directionPin1 != 0}
panel = etbPidDialog