M62T vanos support #2243

still trying to fix Kinetis
This commit is contained in:
rusefillc 2021-02-09 00:25:02 -05:00
parent 767183b369
commit f65df4f24f
2 changed files with 6 additions and 0 deletions

View File

@ -16,3 +16,5 @@
#define CAMS_PER_BANK 1
#define BANKS_COUNT 1
#define CAMS_PER_BANK_padding 1
#define CAM_INPUTS_COUNT_padding 3

View File

@ -82,8 +82,10 @@ struct_no_prefix engine_configuration_s
! V engines or flat engines would have pairs of shafts with same trigger shape and target position
#define BANKS_COUNT 2
#define CAMS_PER_BANK 2
#define CAMS_PER_BANK_padding 0
#define CAM_INPUTS_COUNT @@BANKS_COUNT@@ * @@CAMS_PER_BANK@@
#define CAM_INPUTS_COUNT_padding 0
#define SERVO_COUNT 8
@ -675,6 +677,7 @@ float globalFuelCorrection;set global_fuel_correction X;"coef", 1, 0.0,
float adcVcc;; "volts", 1, 0.0, 0, 6.0, 3
float maxKnockSubDeg;maximum total number of degrees to subtract from ignition advance\nwhen knocking;"Deg", 1, 0, 0, 100, 0
brain_input_pin_e[CAM_INPUTS_COUNT iterate] camInputs;+Camshaft input could be used either just for engine phase detection if your trigger shape does not include cam sensor as 'primary' channel, or it could be used for Variable Valve timing on one of the camshafts.\nTODO #660
uint8_t[CAM_INPUTS_COUNT_padding] camInputsPadding;;
struct afr_sensor_s
adc_channel_e hwChannel;
@ -1300,6 +1303,7 @@ float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300,
float[NARROW_BAND_WIDE_BAND_CONVERSION_SIZE] narrowToWideOxygenBins;Narrow Band WBO Approximation;"V", 1, 0, -10.0, 10.0, 3
float[NARROW_BAND_WIDE_BAND_CONVERSION_SIZE] narrowToWideOxygen;;"ratio", 1, 0, -40.0, 40.0, 2
vvt_mode_e[CAMS_PER_BANK iterate] vvtMode;set vvt_mode X
uint8_t[CAMS_PER_BANK_padding] vvtModePadding;;
uint8_t[22] unusedOldBiquad;;"units", 1, 0, -20, 100, 0
float[CLT_TIMING_CURVE_SIZE] cltTimingBins;CLT-based timing correction;"C", 1, 0, -100.0, 250.0, 1
float[CLT_TIMING_CURVE_SIZE] cltTimingExtra;;"degree", 1, 0, -400.0, 400.0, 0