auto-sync

This commit is contained in:
rusEfi 2016-02-27 13:01:45 -05:00
parent affb865517
commit 4dd57a34a4
1 changed files with 16 additions and 15 deletions

View File

@ -114,17 +114,17 @@ static float dodge_map_advance_table[16][16] = {
};
static const fuel_table_t veDodgeNeon2003Table = {
/* Generated by TS2C on Fri Feb 05 18:15:27 EST 2016*/
{/* 0 20.000 *//* 0 650.0*/50.000, /* 1 800.0*/50.000, /* 2 1050.0*/45.711, /* 3 1300.0*/38.952, /* 4 1550.0*/38.308, /* 5 1800.0*/39.369, /* 6 2050.0*/40.337, /* 7 2300.0*/41.638, /* 8 2550.0*/43.207, /* 9 2800.0*/41.059, /* 10 3050.0*/43.308, /* 11 3300.0*/43.873, /* 12 3550.0*/44.716, /* 13 3800.0*/44.624, /* 14 4050.0*/49.708, /* 15 7000.0*/46.900, },
{/* 1 26.000 *//* 0 650.0*/48.551, /* 1 800.0*/43.180, /* 2 1050.0*/43.390, /* 3 1300.0*/43.679, /* 4 1550.0*/46.088, /* 5 1800.0*/45.370, /* 6 2050.0*/45.753, /* 7 2300.0*/46.879, /* 8 2550.0*/46.662, /* 9 2800.0*/44.128, /* 10 3050.0*/48.119, /* 11 3300.0*/49.000, /* 12 3550.0*/50.298, /* 13 3800.0*/51.490, /* 14 4050.0*/54.582, /* 15 7000.0*/52.695, },
{/* 2 33.000 *//* 0 650.0*/47.201, /* 1 800.0*/43.222, /* 2 1050.0*/43.714, /* 3 1300.0*/44.909, /* 4 1550.0*/45.879, /* 5 1800.0*/47.793, /* 6 2050.0*/47.297, /* 7 2300.0*/53.516, /* 8 2550.0*/51.482, /* 9 2800.0*/49.100, /* 10 3050.0*/51.063, /* 11 3300.0*/54.698, /* 12 3550.0*/61.618, /* 13 3800.0*/62.965, /* 14 4050.0*/60.445, /* 15 7000.0*/58.768, },
{/* 3 40.000 *//* 0 650.0*/50.000, /* 1 800.0*/51.595, /* 2 1050.0*/57.851, /* 3 1300.0*/61.601, /* 4 1550.0*/62.826, /* 5 1800.0*/64.296, /* 6 2050.0*/60.518, /* 7 2300.0*/59.807, /* 8 2550.0*/58.159, /* 9 2800.0*/55.678, /* 10 3050.0*/57.924, /* 11 3300.0*/65.266, /* 12 3550.0*/69.225, /* 13 3800.0*/65.775, /* 14 4050.0*/63.758, /* 15 7000.0*/62.336, },
{/* 4 46.000 *//* 0 650.0*/50.626, /* 1 800.0*/55.730, /* 2 1050.0*/61.617, /* 3 1300.0*/68.088, /* 4 1550.0*/72.076, /* 5 1800.0*/64.720, /* 6 2050.0*/63.261, /* 7 2300.0*/60.671, /* 8 2550.0*/60.278, /* 9 2800.0*/60.509, /* 10 3050.0*/63.851, /* 11 3300.0*/66.985, /* 12 3550.0*/70.255, /* 13 3800.0*/69.104, /* 14 4050.0*/67.212, /* 15 7000.0*/63.882, },
{/* 5 53.000 *//* 0 650.0*/51.335, /* 1 800.0*/59.033, /* 2 1050.0*/67.321, /* 3 1300.0*/72.563, /* 4 1550.0*/75.109, /* 5 1800.0*/69.911, /* 6 2050.0*/67.445, /* 7 2300.0*/65.788, /* 8 2550.0*/64.146, /* 9 2800.0*/67.263, /* 10 3050.0*/68.112, /* 11 3300.0*/68.049, /* 12 3550.0*/71.905, /* 13 3800.0*/70.726, /* 14 4050.0*/71.159, /* 15 7000.0*/62.932, },
{/* 6 60.000 *//* 0 650.0*/50.000, /* 1 800.0*/55.339, /* 2 1050.0*/60.021, /* 3 1300.0*/65.225, /* 4 1550.0*/68.076, /* 5 1800.0*/65.446, /* 6 2050.0*/68.415, /* 7 2300.0*/69.111, /* 8 2550.0*/66.011, /* 9 2800.0*/65.027, /* 10 3050.0*/68.688, /* 11 3300.0*/68.285, /* 12 3550.0*/65.666, /* 13 3800.0*/57.860, /* 14 4050.0*/72.340, /* 15 7000.0*/62.807, },
{/* 7 66.000 *//* 0 650.0*/50.000, /* 1 800.0*/52.571, /* 2 1050.0*/54.765, /* 3 1300.0*/60.453, /* 4 1550.0*/65.560, /* 5 1800.0*/69.506, /* 6 2050.0*/65.761, /* 7 2300.0*/69.887, /* 8 2550.0*/69.344, /* 9 2800.0*/65.808, /* 10 3050.0*/63.449, /* 11 3300.0*/63.330, /* 12 3550.0*/66.391, /* 13 3800.0*/67.144, /* 14 4050.0*/69.539, /* 15 7000.0*/58.725, },
{/* 8 73.000 *//* 0 650.0*/50.000, /* 1 800.0*/51.615, /* 2 1050.0*/54.254, /* 3 1300.0*/63.654, /* 4 1550.0*/68.682, /* 5 1800.0*/69.166, /* 6 2050.0*/68.745, /* 7 2300.0*/69.563, /* 8 2550.0*/70.840, /* 9 2800.0*/65.340, /* 10 3050.0*/64.019, /* 11 3300.0*/65.663, /* 12 3550.0*/72.089, /* 13 3800.0*/70.548, /* 14 4050.0*/60.604, /* 15 7000.0*/57.172, },
{/* 9 80.000 *//* 0 650.0*/50.000, /* 1 800.0*/55.606, /* 2 1050.0*/54.335, /* 3 1300.0*/64.895, /* 4 1550.0*/69.790, /* 5 1800.0*/71.390, /* 6 2050.0*/66.446, /* 7 2300.0*/67.940, /* 8 2550.0*/69.405, /* 9 2800.0*/67.392, /* 10 3050.0*/63.423, /* 11 3300.0*/65.188, /* 12 3550.0*/66.690, /* 13 3800.0*/63.338, /* 14 4050.0*/61.055, /* 15 7000.0*/61.559, },
/* Generated by TS2C on Sat Feb 27 12:27:00 EST 2016*/
{/* 0 20.000 *//* 0 650.0*/50.000, /* 1 800.0*/50.000, /* 2 1050.0*/45.711, /* 3 1300.0*/37.745, /* 4 1550.0*/35.271, /* 5 1800.0*/36.824, /* 6 2050.0*/38.181, /* 7 2300.0*/38.348, /* 8 2550.0*/38.456, /* 9 2800.0*/37.169, /* 10 3050.0*/40.770, /* 11 3300.0*/44.283, /* 12 3550.0*/45.523, /* 13 3800.0*/49.706, /* 14 4050.0*/58.258, /* 15 7000.0*/50.124, },
{/* 1 26.000 *//* 0 650.0*/48.551, /* 1 800.0*/43.180, /* 2 1050.0*/43.855, /* 3 1300.0*/41.292, /* 4 1550.0*/37.709, /* 5 1800.0*/40.769, /* 6 2050.0*/46.820, /* 7 2300.0*/49.151, /* 8 2550.0*/44.705, /* 9 2800.0*/38.873, /* 10 3050.0*/40.612, /* 11 3300.0*/47.016, /* 12 3550.0*/53.681, /* 13 3800.0*/56.231, /* 14 4050.0*/58.261, /* 15 7000.0*/56.832, },
{/* 2 33.000 *//* 0 650.0*/47.201, /* 1 800.0*/43.725, /* 2 1050.0*/43.626, /* 3 1300.0*/42.762, /* 4 1550.0*/46.438, /* 5 1800.0*/49.134, /* 6 2050.0*/50.562, /* 7 2300.0*/52.906, /* 8 2550.0*/50.900, /* 9 2800.0*/47.589, /* 10 3050.0*/50.796, /* 11 3300.0*/56.770, /* 12 3550.0*/63.191, /* 13 3800.0*/63.661, /* 14 4050.0*/62.993, /* 15 7000.0*/62.514, },
{/* 3 40.000 *//* 0 650.0*/50.000, /* 1 800.0*/50.929, /* 2 1050.0*/57.976, /* 3 1300.0*/57.464, /* 4 1550.0*/56.629, /* 5 1800.0*/58.909, /* 6 2050.0*/59.538, /* 7 2300.0*/60.754, /* 8 2550.0*/56.594, /* 9 2800.0*/55.017, /* 10 3050.0*/58.128, /* 11 3300.0*/64.483, /* 12 3550.0*/68.120, /* 13 3800.0*/67.438, /* 14 4050.0*/67.265, /* 15 7000.0*/64.521, },
{/* 4 46.000 *//* 0 650.0*/50.626, /* 1 800.0*/57.269, /* 2 1050.0*/61.330, /* 3 1300.0*/63.462, /* 4 1550.0*/63.386, /* 5 1800.0*/60.610, /* 6 2050.0*/59.559, /* 7 2300.0*/60.810, /* 8 2550.0*/61.005, /* 9 2800.0*/60.509, /* 10 3050.0*/63.020, /* 11 3300.0*/66.838, /* 12 3550.0*/70.760, /* 13 3800.0*/69.104, /* 14 4050.0*/67.212, /* 15 7000.0*/63.882, },
{/* 5 53.000 *//* 0 650.0*/52.141, /* 1 800.0*/63.334, /* 2 1050.0*/68.863, /* 3 1300.0*/65.282, /* 4 1550.0*/67.854, /* 5 1800.0*/66.751, /* 6 2050.0*/64.979, /* 7 2300.0*/65.521, /* 8 2550.0*/64.146, /* 9 2800.0*/65.208, /* 10 3050.0*/65.548, /* 11 3300.0*/68.049, /* 12 3550.0*/71.905, /* 13 3800.0*/70.726, /* 14 4050.0*/71.159, /* 15 7000.0*/62.932, },
{/* 6 60.000 *//* 0 650.0*/50.510, /* 1 800.0*/58.092, /* 2 1050.0*/62.755, /* 3 1300.0*/65.530, /* 4 1550.0*/67.684, /* 5 1800.0*/65.372, /* 6 2050.0*/68.865, /* 7 2300.0*/69.934, /* 8 2550.0*/66.011, /* 9 2800.0*/65.027, /* 10 3050.0*/68.688, /* 11 3300.0*/68.285, /* 12 3550.0*/65.666, /* 13 3800.0*/57.860, /* 14 4050.0*/73.116, /* 15 7000.0*/64.326, },
{/* 7 66.000 *//* 0 650.0*/50.000, /* 1 800.0*/53.137, /* 2 1050.0*/58.515, /* 3 1300.0*/67.194, /* 4 1550.0*/69.333, /* 5 1800.0*/69.506, /* 6 2050.0*/66.414, /* 7 2300.0*/69.887, /* 8 2550.0*/69.344, /* 9 2800.0*/65.808, /* 10 3050.0*/63.449, /* 11 3300.0*/63.330, /* 12 3550.0*/66.391, /* 13 3800.0*/67.937, /* 14 4050.0*/75.347, /* 15 7000.0*/66.520, },
{/* 8 73.000 *//* 0 650.0*/50.000, /* 1 800.0*/52.479, /* 2 1050.0*/59.415, /* 3 1300.0*/69.136, /* 4 1550.0*/71.048, /* 5 1800.0*/69.166, /* 6 2050.0*/68.745, /* 7 2300.0*/69.563, /* 8 2550.0*/70.840, /* 9 2800.0*/65.340, /* 10 3050.0*/64.019, /* 11 3300.0*/65.663, /* 12 3550.0*/72.089, /* 13 3800.0*/71.710, /* 14 4050.0*/71.818, /* 15 7000.0*/63.328, },
{/* 9 80.000 *//* 0 650.0*/50.000, /* 1 800.0*/55.606, /* 2 1050.0*/56.680, /* 3 1300.0*/64.895, /* 4 1550.0*/69.790, /* 5 1800.0*/71.390, /* 6 2050.0*/66.446, /* 7 2300.0*/67.940, /* 8 2550.0*/69.405, /* 9 2800.0*/67.392, /* 10 3050.0*/63.423, /* 11 3300.0*/65.188, /* 12 3550.0*/66.690, /* 13 3800.0*/65.273, /* 14 4050.0*/67.290, /* 15 7000.0*/62.481, },
{/* 10 86.000 *//* 0 650.0*/50.819, /* 1 800.0*/55.782, /* 2 1050.0*/57.472, /* 3 1300.0*/63.877, /* 4 1550.0*/75.693, /* 5 1800.0*/65.295, /* 6 2050.0*/64.606, /* 7 2300.0*/70.612, /* 8 2550.0*/66.363, /* 9 2800.0*/59.857, /* 10 3050.0*/62.272, /* 11 3300.0*/69.232, /* 12 3550.0*/66.103, /* 13 3800.0*/53.707, /* 14 4050.0*/68.954, /* 15 7000.0*/68.211, },
{/* 11 93.000 *//* 0 650.0*/50.893, /* 1 800.0*/60.504, /* 2 1050.0*/58.586, /* 3 1300.0*/60.000, /* 4 1550.0*/59.586, /* 5 1800.0*/61.823, /* 6 2050.0*/68.204, /* 7 2300.0*/62.324, /* 8 2550.0*/61.987, /* 9 2800.0*/61.033, /* 10 3050.0*/61.857, /* 11 3300.0*/63.566, /* 12 3550.0*/68.671, /* 13 3800.0*/64.946, /* 14 4050.0*/76.452, /* 15 7000.0*/72.967, },
{/* 12 100.000 *//* 0 650.0*/50.000, /* 1 800.0*/57.131, /* 2 1050.0*/55.322, /* 3 1300.0*/55.398, /* 4 1550.0*/52.569, /* 5 1800.0*/51.964, /* 6 2050.0*/52.396, /* 7 2300.0*/51.056, /* 8 2550.0*/50.000, /* 9 2800.0*/50.000, /* 10 3050.0*/50.000, /* 11 3300.0*/57.607, /* 12 3550.0*/60.201, /* 13 3800.0*/67.047, /* 14 4050.0*/80.092, /* 15 7000.0*/70.286, },
@ -340,6 +340,7 @@ void setDodgeNeonNGCEngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
boardConfiguration->idle.solenoidPin = GPIOC_13;
boardConfiguration->idle.solenoidFrequency = 300;
boardConfiguration->manIdlePosition = 36;
boardConfiguration->fuelPumpPin = GPIOE_3;
boardConfiguration->fuelPumpPinMode = OM_DEFAULT;
@ -440,8 +441,8 @@ void setDodgeNeonNGCEngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
engineConfiguration->fanOnTemperature = 92;
engineConfiguration->fanOffTemperature = 89;
engineConfiguration->fanOnTemperature = 115; // knock testing - value is a bit high
engineConfiguration->fanOffTemperature = 100;
// engineConfiguration->fanOnTemperature = 115; // knock testing - value is a bit high
// engineConfiguration->fanOffTemperature = 100;
// boardConfiguration->tunerStudioSerialSpeed = 9600;
boardConfiguration->tunerStudioSerialSpeed = 19200;
@ -451,8 +452,8 @@ void setDodgeNeonNGCEngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
engineConfiguration->targetVBatt = 14.5;
engineConfiguration->alternatorControl.offset = 10;
engineConfiguration->alternatorControl.pFactor = 5;
engineConfiguration->alternatorControl.iFactor = 2;
engineConfiguration->alternatorControl.dFactor = 1;
engineConfiguration->alternatorControl.iFactor = 0.1;
engineConfiguration->alternatorControl.dFactor = 0.1;
// enableFrankensoCan();
engineConfiguration->canWriteEnabled = true;