auto-sync

This commit is contained in:
rusEfi 2015-01-28 18:06:39 -06:00
parent 5a85a07c4c
commit 9d6fd7aa5a
3 changed files with 79 additions and 76 deletions

View File

@ -1,4 +1,4 @@
// this section was generated by config_definition.jar on Tue Jan 27 18:37:17 EST 2015 // this section was generated by config_definition.jar on Wed Jan 28 18:53:51 EST 2015
// begin // begin
#include "rusefi_types.h" #include "rusefi_types.h"
typedef struct { typedef struct {
@ -45,7 +45,7 @@ typedef struct {
/** /**
* @brief MAP averaging configuration * @brief MAP averaging configuration
*/ */
typedef struct { typedef struct {
/** /**
* offset 0 * offset 0
@ -75,7 +75,7 @@ typedef struct {
/** /**
* @brief Thermistor curve parameters * @brief Thermistor curve parameters
*/ */
typedef struct { typedef struct {
/** /**
* these values are in Celcuus * these values are in Celcuus
@ -124,7 +124,7 @@ typedef struct {
/** /**
* @brief Trigger wheel(s) configuration * @brief Trigger wheel(s) configuration
*/ */
typedef struct { typedef struct {
/** /**
* offset 0 * offset 0
@ -373,26 +373,26 @@ typedef struct {
*/ */
pin_output_mode_e o2heaterPinModeTodO; pin_output_mode_e o2heaterPinModeTodO;
/** /**
offset 372 bit 0 */ offset 372 bit 0 */
bool_t is_enabled_spi_1 :1; bool_t is_enabled_spi_1 : 1;
/** /**
offset 372 bit 1 */ offset 372 bit 1 */
bool_t is_enabled_spi_2 :1; bool_t is_enabled_spi_2 : 1;
/** /**
offset 372 bit 2 */ offset 372 bit 2 */
bool_t is_enabled_spi_3 :1; bool_t is_enabled_spi_3 : 1;
/** /**
offset 372 bit 3 */ offset 372 bit 3 */
bool_t isSdCardEnabled :1; bool_t isSdCardEnabled : 1;
/** /**
offset 372 bit 4 */ offset 372 bit 4 */
bool_t isFastAdcEnabled :1; bool_t isFastAdcEnabled : 1;
/** /**
offset 372 bit 5 */ offset 372 bit 5 */
bool_t isEngineControlEnabled :1; bool_t isEngineControlEnabled : 1;
/** /**
offset 372 bit 6 */ offset 372 bit 6 */
bool_t isHip9011Enabled :1; bool_t isHip9011Enabled : 1;
/** /**
* offset 376 * offset 376
*/ */
@ -760,7 +760,7 @@ typedef struct {
/** /**
* offset 976 * offset 976
*/ */
int cylindersCount; cylinders_count_t cylindersCount;
/** /**
* offset 980 * offset 980
*/ */
@ -896,50 +896,50 @@ typedef struct {
board_configuration_s bc; board_configuration_s bc;
/** /**
* @see isMapAveragingEnabled * @see isMapAveragingEnabled
offset 9480 bit 0 */ offset 9480 bit 0 */
bool_t hasMapSensor :1; bool_t hasMapSensor : 1;
/** /**
offset 9480 bit 1 */ offset 9480 bit 1 */
bool_t hasIatSensor :1; bool_t hasIatSensor : 1;
/** /**
offset 9480 bit 2 */ offset 9480 bit 2 */
bool_t hasBaroSensor :1; bool_t hasBaroSensor : 1;
/** /**
offset 9480 bit 3 */ offset 9480 bit 3 */
bool_t hasAfrSensor :1; bool_t hasAfrSensor : 1;
/** /**
offset 9480 bit 4 */ offset 9480 bit 4 */
bool_t useConstantDwellDuringCranking :1; bool_t useConstantDwellDuringCranking : 1;
/** /**
offset 9480 bit 5 */ offset 9480 bit 5 */
bool_t isDigitalChartEnabled :1; bool_t isDigitalChartEnabled : 1;
/** /**
offset 9480 bit 6 */ offset 9480 bit 6 */
bool_t isCanEnabled :1; bool_t isCanEnabled : 1;
/** /**
offset 9480 bit 7 */ offset 9480 bit 7 */
bool_t hasCltSensor :1; bool_t hasCltSensor : 1;
/** /**
offset 9480 bit 8 */ offset 9480 bit 8 */
bool_t canReadEnabled :1; bool_t canReadEnabled : 1;
/** /**
offset 9480 bit 9 */ offset 9480 bit 9 */
bool_t canWriteEnabled :1; bool_t canWriteEnabled : 1;
/** /**
offset 9480 bit 10 */ offset 9480 bit 10 */
bool_t hasVehicleSpeedSensor :1; bool_t hasVehicleSpeedSensor : 1;
/** /**
offset 9480 bit 11 */ offset 9480 bit 11 */
bool_t isJoystickEnabled :1; bool_t isJoystickEnabled : 1;
/** /**
offset 9480 bit 12 */ offset 9480 bit 12 */
bool_t isGpsEnabled :1; bool_t isGpsEnabled : 1;
/** /**
offset 9480 bit 13 */ offset 9480 bit 13 */
bool_t hasMafSensor :1; bool_t hasMafSensor : 1;
/** /**
offset 9480 bit 14 */ offset 9480 bit 14 */
bool_t hasTpsSensor :1; bool_t hasTpsSensor : 1;
/** /**
* offset 9484 * offset 9484
*/ */
@ -949,47 +949,47 @@ typedef struct {
*/ */
idle_mode_e idleMode; idle_mode_e idleMode;
/** /**
offset 9492 bit 0 */ offset 9492 bit 0 */
bool_t isInjectionEnabled :1; bool_t isInjectionEnabled : 1;
/** /**
offset 9492 bit 1 */ offset 9492 bit 1 */
bool_t isIgnitionEnabled :1; bool_t isIgnitionEnabled : 1;
/** /**
offset 9492 bit 2 */ offset 9492 bit 2 */
bool_t isCylinderCleanupEnabled :1; bool_t isCylinderCleanupEnabled : 1;
/** /**
offset 9492 bit 3 */ offset 9492 bit 3 */
bool_t secondTriggerChannelEnabled :1; bool_t secondTriggerChannelEnabled : 1;
/** /**
offset 9492 bit 4 */ offset 9492 bit 4 */
bool_t needSecondTriggerInput :1; bool_t needSecondTriggerInput : 1;
/** /**
offset 9492 bit 5 */ offset 9492 bit 5 */
bool_t isMapAveragingEnabled :1; bool_t isMapAveragingEnabled : 1;
/** /**
offset 9492 bit 6 */ offset 9492 bit 6 */
bool_t isMilEnabled :1; bool_t isMilEnabled : 1;
/** /**
offset 9492 bit 7 */ offset 9492 bit 7 */
bool_t isFuelPumpEnabled :1; bool_t isFuelPumpEnabled : 1;
/** /**
offset 9492 bit 8 */ offset 9492 bit 8 */
bool_t isTunerStudioEnabled :1; bool_t isTunerStudioEnabled : 1;
/** /**
offset 9492 bit 9 */ offset 9492 bit 9 */
bool_t isWaveAnalyzerEnabled :1; bool_t isWaveAnalyzerEnabled : 1;
/** /**
offset 9492 bit 10 */ offset 9492 bit 10 */
bool_t isIdleThreadEnabled :1; bool_t isIdleThreadEnabled : 1;
/** /**
offset 9492 bit 11 */ offset 9492 bit 11 */
bool_t isPrintTriggerSynchDetails :1; bool_t isPrintTriggerSynchDetails : 1;
/** /**
* Usually if we have no trigger events that means engine is stopped * Usually if we have no trigger events that means engine is stopped
* Unless we are troubleshooting and spinning the engine by hand - this case a longer * Unless we are troubleshooting and spinning the engine by hand - this case a longer
* delay is needed * delay is needed
offset 9492 bit 12 */ offset 9492 bit 12 */
bool_t isManualSpinningMode :1; bool_t isManualSpinningMode : 1;
/** /**
* offset 9496 * offset 9496
*/ */
@ -1109,4 +1109,4 @@ typedef struct {
} engine_configuration_s; } engine_configuration_s;
// end // end
// this section was generated by config_definition.jar on Tue Jan 27 18:37:17 EST 2015 // this section was generated by config_definition.jar on Wed Jan 28 18:53:51 EST 2015

View File

@ -83,4 +83,6 @@ typedef struct {
ignition_table_t map; ignition_table_t map;
} full_i_table_s; } full_i_table_s;
typedef int cylinders_count_t;
#endif /* CONTROLLERS_ALGO_RUSEFI_TYPES_H_ */ #endif /* CONTROLLERS_ALGO_RUSEFI_TYPES_H_ */

View File

@ -0,0 +1 @@
openocd-0.8.0.exe -f interface/stlink-v2.cfg -f board/stm32f4discovery.cfg -c init -c targets -c "halt" -c "flash write_image erase build/rusefi.elf" -c "verify_image firmware.elf" -c "reset run" -c shutdown