cleanup #4
This commit is contained in:
parent
b3a161fce6
commit
c130b249ba
|
@ -40,7 +40,6 @@ void setBoardConfigurationOverrides(void) {
|
|||
|
||||
engineConfiguration->runningLedPin = GPIOB_0; //green LED
|
||||
engineConfiguration->warninigLedPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->configResetPin = GPIO_UNASSIGNED;
|
||||
#if 0
|
||||
engineConfiguration->vbattAdcChannel = EFI_ADC_13;
|
||||
engineConfiguration->adcVcc = ADC_VCC;
|
||||
|
|
|
@ -45,7 +45,6 @@ void setBoardConfigurationOverrides(void) {
|
|||
|
||||
engineConfiguration->runningLedPin = GPIOB_0; //green LED
|
||||
engineConfiguration->warninigLedPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->configResetPin = GPIO_UNASSIGNED;
|
||||
#if 0
|
||||
engineConfiguration->vbattAdcChannel = EFI_ADC_13;
|
||||
engineConfiguration->adcVcc = ADC_VCC;
|
||||
|
|
|
@ -173,7 +173,6 @@ void setBoardConfigurationOverrides(void) {
|
|||
engineConfiguration->runningLedPin = GPIOA_13; //GPIOA_13; // yellow LED
|
||||
engineConfiguration->fatalErrorPin = GPIOA_13;
|
||||
engineConfiguration->warninigLedPin = GPIO_UNASSIGNED;
|
||||
engineConfiguration->configResetPin = GPIO_UNASSIGNED;
|
||||
|
||||
boardConfiguration->triggerInputPins[0] = is469 ? GPIOA_5 : GPIOA_5;
|
||||
boardConfiguration->triggerInputPins[1] = GPIO_UNASSIGNED;
|
||||
|
|
|
@ -25,7 +25,7 @@ typedef void (*CommandHandler)(char *);
|
|||
#include "datalogging.h"
|
||||
|
||||
#ifdef CONFIG_RESET_SWITCH_PORT
|
||||
// todo: make this pin configurable? or maybe it should not be configurable?
|
||||
// this pin is not configurable at runtime so that we have a reliable way to reset configuration
|
||||
#define SHOULD_INGORE_FLASH() (palReadPad(CONFIG_RESET_SWITCH_PORT, CONFIG_RESET_SWITCH_PIN) == 0)
|
||||
#else
|
||||
#define SHOULD_INGORE_FLASH() (false)
|
||||
|
|
|
@ -405,7 +405,6 @@ void setDefaultBasePins(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->fatalErrorPin = GPIOD_14;
|
||||
#endif /* EFI_FATAL_ERROR_PIN */
|
||||
engineConfiguration->warninigLedPin = GPIOD_13;
|
||||
engineConfiguration->configResetPin = GPIOB_1;
|
||||
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
||||
// call overrided board-specific serial configuration setup, if needed (for custom boards only)
|
||||
// needed also by bootloader code
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 04 21:45:00 EDT 2019
|
||||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 11 21:45:26 EDT 2019
|
||||
// begin
|
||||
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
|
||||
#define ENGINE_CONFIGURATION_GENERATED_H_
|
||||
|
@ -1818,19 +1818,18 @@ typedef struct {
|
|||
*/
|
||||
int16_t iacByTpsTaper;
|
||||
/**
|
||||
* RED led on Discovery by default. TODO: start using this property
|
||||
* RED led on Discovery by default.
|
||||
* offset 2060
|
||||
*/
|
||||
brain_pin_e fatalErrorPin;
|
||||
/**
|
||||
* TODO: start using this property
|
||||
* offset 2061
|
||||
*/
|
||||
brain_pin_e warninigLedPin;
|
||||
/**
|
||||
* offset 2062
|
||||
*/
|
||||
brain_pin_e configResetPin;
|
||||
brain_pin_e unused1234234;
|
||||
/**
|
||||
* offset 2063
|
||||
*/
|
||||
|
@ -2648,4 +2647,4 @@ typedef struct {
|
|||
|
||||
#endif
|
||||
// end
|
||||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 04 21:45:00 EDT 2019
|
||||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 11 21:45:26 EDT 2019
|
||||
|
|
|
@ -366,8 +366,6 @@
|
|||
#define coastingFuelCutTps_offset_hex c68
|
||||
#define communicationLedPin_offset 1832
|
||||
#define communicationLedPin_offset_hex 728
|
||||
#define configResetPin_offset 2062
|
||||
#define configResetPin_offset_hex 80e
|
||||
#define CONSOLE_DATA_PROTOCOL_TAG " @"
|
||||
#define consoleLoopPeriodMs_offset 716
|
||||
#define consoleLoopPeriodMs_offset_hex 2cc
|
||||
|
@ -1725,6 +1723,8 @@
|
|||
#define uartConsoleSerialSpeed_offset_hex 830
|
||||
#define unrealisticRpmThreashold_offset 760
|
||||
#define unrealisticRpmThreashold_offset_hex 2f8
|
||||
#define unused1234234_offset 2062
|
||||
#define unused1234234_offset_hex 80e
|
||||
#define unused_1484_bit_20_offset 1476
|
||||
#define unused_1484_bit_20_offset_hex 5c4
|
||||
#define unused_1484_bit_21_offset 1476
|
||||
|
|
|
@ -826,9 +826,9 @@ custom pin_mode_e 1 bits, U08, @OFFSET@, [0:6], @@pin_mode_e_enum@@
|
|||
|
||||
int16_t iacByTpsTaper;Extra IAC, in percent between 0 and 100, tapered between zero and idle deactivation TPS value;"percent", 1, 0, 0, 500, 0
|
||||
|
||||
brain_pin_e fatalErrorPin;RED led on Discovery by default. TODO: start using this property
|
||||
brain_pin_e warninigLedPin;TODO: start using this property
|
||||
brain_pin_e configResetPin;
|
||||
brain_pin_e fatalErrorPin;RED led on Discovery by default.
|
||||
brain_pin_e warninigLedPin;
|
||||
brain_pin_e unused1234234;
|
||||
brain_pin_e LIS302DLCsPin;
|
||||
|
||||
|
||||
|
|
|
@ -1504,6 +1504,8 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
dialog = allPins1
|
||||
field = "TLE8888 CS", tle8888_cs
|
||||
field = "TLE8888 SPI", tle8888spiDevice
|
||||
field = "warninig Led", warninigLedPin
|
||||
field = "fatal Error Led", fatalErrorPin
|
||||
field = "MAP ADC input", map_sensor_hwChannel
|
||||
field = "frequencyReportingMapInputPin", frequencyReportingMapInputPin
|
||||
field = "CLT ADC input", clt_adcChannel
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package com.rusefi.config;
|
||||
|
||||
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Apr 08 10:00:09 EDT 2019
|
||||
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 11 21:45:26 EDT 2019
|
||||
public class Fields {
|
||||
public static final int accelerometerSpiDevice_offset = 2736;
|
||||
public static final int acCutoffHighRpm_offset = 1498;
|
||||
|
@ -226,7 +226,6 @@ public class Fields {
|
|||
public static final int coastingFuelCutTps_offset = 3176;
|
||||
public static final int communicationLedPin_offset = 1832;
|
||||
public static final int communicationLedPin_offset_hex = 728;
|
||||
public static final int configResetPin_offset = 2062;
|
||||
public static final String CONSOLE_DATA_PROTOCOL_TAG = " @";
|
||||
public static final int consoleLoopPeriodMs_offset = 716;
|
||||
public static final int consoleSerialRxPin_offset = 1839;
|
||||
|
@ -1113,6 +1112,7 @@ public class Fields {
|
|||
public static final int uartConsoleSerialSpeed_offset = 2096;
|
||||
public static final int uartConsoleSerialSpeed_offset_hex = 830;
|
||||
public static final int unrealisticRpmThreashold_offset = 760;
|
||||
public static final int unused1234234_offset = 2062;
|
||||
public static final int unused_1484_bit_20_offset = 1476;
|
||||
public static final int unused_1484_bit_21_offset = 1476;
|
||||
public static final int unused_bit_1472_29_offset = 1464;
|
||||
|
@ -1734,7 +1734,7 @@ public class Fields {
|
|||
public static final Field IACBYTPSTAPER = Field.create("IACBYTPSTAPER", 2058, FieldType.INT16);
|
||||
public static final Field FATALERRORPIN = Field.create("FATALERRORPIN", 2060, FieldType.INT8, brain_pin_e);
|
||||
public static final Field WARNINIGLEDPIN = Field.create("WARNINIGLEDPIN", 2061, FieldType.INT8, brain_pin_e);
|
||||
public static final Field CONFIGRESETPIN = Field.create("CONFIGRESETPIN", 2062, FieldType.INT8, brain_pin_e);
|
||||
public static final Field UNUSED1234234 = Field.create("UNUSED1234234", 2062, FieldType.INT8, brain_pin_e);
|
||||
public static final Field LIS302DLCSPIN = Field.create("LIS302DLCSPIN", 2063, FieldType.INT8, brain_pin_e);
|
||||
public static final Field TPSACCELLENGTH = Field.create("TPSACCELLENGTH", 2064, FieldType.INT);
|
||||
public static final Field TPSACCELENRICHMENTTHRESHOLD = Field.create("TPSACCELENRICHMENTTHRESHOLD", 2068, FieldType.FLOAT);
|
||||
|
|
Loading…
Reference in New Issue