i think we better be explicit about buffer size?
This commit is contained in:
parent
ad09177105
commit
1c4488d930
|
@ -441,6 +441,8 @@
|
||||||
#define coastingFuelCutTps_offset_hex c50
|
#define coastingFuelCutTps_offset_hex c50
|
||||||
#define communicationLedPin_offset 1812
|
#define communicationLedPin_offset 1812
|
||||||
#define communicationLedPin_offset_hex 714
|
#define communicationLedPin_offset_hex 714
|
||||||
|
#define COMPOSITE_DATA_LENGTH 2000
|
||||||
|
#define COMPOSITE_PACKET_COUNT 1000
|
||||||
#define COMPOSITE_PACKET_SIZE 2
|
#define COMPOSITE_PACKET_SIZE 2
|
||||||
#define CONSOLE_DATA_PROTOCOL_TAG " @"
|
#define CONSOLE_DATA_PROTOCOL_TAG " @"
|
||||||
#define consoleLoopPeriodMs_offset 716
|
#define consoleLoopPeriodMs_offset 716
|
||||||
|
|
|
@ -441,6 +441,8 @@
|
||||||
#define coastingFuelCutTps_offset_hex c50
|
#define coastingFuelCutTps_offset_hex c50
|
||||||
#define communicationLedPin_offset 1812
|
#define communicationLedPin_offset 1812
|
||||||
#define communicationLedPin_offset_hex 714
|
#define communicationLedPin_offset_hex 714
|
||||||
|
#define COMPOSITE_DATA_LENGTH 2000
|
||||||
|
#define COMPOSITE_PACKET_COUNT 1000
|
||||||
#define COMPOSITE_PACKET_SIZE 2
|
#define COMPOSITE_PACKET_SIZE 2
|
||||||
#define CONSOLE_DATA_PROTOCOL_TAG " @"
|
#define CONSOLE_DATA_PROTOCOL_TAG " @"
|
||||||
#define consoleLoopPeriodMs_offset 716
|
#define consoleLoopPeriodMs_offset 716
|
||||||
|
|
|
@ -76,7 +76,9 @@ struct_no_prefix engine_configuration_s
|
||||||
#define TRIGGER_TYPE_60_2 8
|
#define TRIGGER_TYPE_60_2 8
|
||||||
#define TRIGGER_TYPE_36_1 9
|
#define TRIGGER_TYPE_36_1 9
|
||||||
|
|
||||||
|
#define COMPOSITE_PACKET_COUNT 1000
|
||||||
#define COMPOSITE_PACKET_SIZE 2
|
#define COMPOSITE_PACKET_SIZE 2
|
||||||
|
#define COMPOSITE_DATA_LENGTH @@COMPOSITE_PACKET_SIZE@@*@@COMPOSITE_PACKET_COUNT@@
|
||||||
|
|
||||||
#define MAP_ANGLE_SIZE 8
|
#define MAP_ANGLE_SIZE 8
|
||||||
#define MAP_WINDOW_SIZE 8
|
#define MAP_WINDOW_SIZE 8
|
||||||
|
|
|
@ -86,7 +86,7 @@ enable2ndByteCanID = false
|
||||||
|
|
||||||
; see PAGE_0_SIZE in C source code
|
; see PAGE_0_SIZE in C source code
|
||||||
; CONFIG_DEFINITION_START
|
; CONFIG_DEFINITION_START
|
||||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 19:03:41 EDT 2020
|
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 23:50:33 EDT 2020
|
||||||
|
|
||||||
pageSize = 20000
|
pageSize = 20000
|
||||||
page = 1
|
page = 1
|
||||||
|
@ -1253,6 +1253,8 @@ page = 1
|
||||||
dataReadCommand = "L"
|
dataReadCommand = "L"
|
||||||
dataReadTimeout = 10000 ; time in ms
|
dataReadTimeout = 10000 ; time in ms
|
||||||
dataReadyCondition = { toothLogReady }
|
dataReadyCondition = { toothLogReady }
|
||||||
|
; each packet is 2 and we have 1000 of those
|
||||||
|
dataLength = 2000
|
||||||
|
|
||||||
; recordDef = headerLen, footerLen, recordLen
|
; recordDef = headerLen, footerLen, recordLen
|
||||||
recordDef = 0, 0, 2
|
recordDef = 0, 0, 2
|
||||||
|
|
|
@ -115,6 +115,8 @@ enable2ndByteCanID = false
|
||||||
dataReadCommand = "L"
|
dataReadCommand = "L"
|
||||||
dataReadTimeout = 10000 ; time in ms
|
dataReadTimeout = 10000 ; time in ms
|
||||||
dataReadyCondition = { toothLogReady }
|
dataReadyCondition = { toothLogReady }
|
||||||
|
; each packet is @@COMPOSITE_PACKET_SIZE@@ and we have @@COMPOSITE_PACKET_COUNT@@ of those
|
||||||
|
dataLength = @@COMPOSITE_DATA_LENGTH@@
|
||||||
|
|
||||||
; recordDef = headerLen, footerLen, recordLen
|
; recordDef = headerLen, footerLen, recordLen
|
||||||
recordDef = 0, 0, @@COMPOSITE_PACKET_SIZE@@
|
recordDef = 0, 0, @@COMPOSITE_PACKET_SIZE@@
|
||||||
|
|
|
@ -86,7 +86,7 @@ enable2ndByteCanID = false
|
||||||
|
|
||||||
; see PAGE_0_SIZE in C source code
|
; see PAGE_0_SIZE in C source code
|
||||||
; CONFIG_DEFINITION_START
|
; CONFIG_DEFINITION_START
|
||||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 19:03:48 EDT 2020
|
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 23:50:39 EDT 2020
|
||||||
|
|
||||||
pageSize = 20000
|
pageSize = 20000
|
||||||
page = 1
|
page = 1
|
||||||
|
@ -1253,6 +1253,8 @@ page = 1
|
||||||
dataReadCommand = "L"
|
dataReadCommand = "L"
|
||||||
dataReadTimeout = 10000 ; time in ms
|
dataReadTimeout = 10000 ; time in ms
|
||||||
dataReadyCondition = { toothLogReady }
|
dataReadyCondition = { toothLogReady }
|
||||||
|
; each packet is 2 and we have 1000 of those
|
||||||
|
dataLength = 2000
|
||||||
|
|
||||||
; recordDef = headerLen, footerLen, recordLen
|
; recordDef = headerLen, footerLen, recordLen
|
||||||
recordDef = 0, 0, 2
|
recordDef = 0, 0, 2
|
||||||
|
|
|
@ -86,7 +86,7 @@ enable2ndByteCanID = false
|
||||||
|
|
||||||
; see PAGE_0_SIZE in C source code
|
; see PAGE_0_SIZE in C source code
|
||||||
; CONFIG_DEFINITION_START
|
; CONFIG_DEFINITION_START
|
||||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 19:03:45 EDT 2020
|
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 23:50:36 EDT 2020
|
||||||
|
|
||||||
pageSize = 20000
|
pageSize = 20000
|
||||||
page = 1
|
page = 1
|
||||||
|
@ -1253,6 +1253,8 @@ page = 1
|
||||||
dataReadCommand = "L"
|
dataReadCommand = "L"
|
||||||
dataReadTimeout = 10000 ; time in ms
|
dataReadTimeout = 10000 ; time in ms
|
||||||
dataReadyCondition = { toothLogReady }
|
dataReadyCondition = { toothLogReady }
|
||||||
|
; each packet is 2 and we have 1000 of those
|
||||||
|
dataLength = 2000
|
||||||
|
|
||||||
; recordDef = headerLen, footerLen, recordLen
|
; recordDef = headerLen, footerLen, recordLen
|
||||||
recordDef = 0, 0, 2
|
recordDef = 0, 0, 2
|
||||||
|
|
|
@ -86,7 +86,7 @@ enable2ndByteCanID = false
|
||||||
|
|
||||||
; see PAGE_0_SIZE in C source code
|
; see PAGE_0_SIZE in C source code
|
||||||
; CONFIG_DEFINITION_START
|
; CONFIG_DEFINITION_START
|
||||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 19:03:51 EDT 2020
|
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 23:50:43 EDT 2020
|
||||||
|
|
||||||
pageSize = 20000
|
pageSize = 20000
|
||||||
page = 1
|
page = 1
|
||||||
|
@ -1253,6 +1253,8 @@ page = 1
|
||||||
dataReadCommand = "L"
|
dataReadCommand = "L"
|
||||||
dataReadTimeout = 10000 ; time in ms
|
dataReadTimeout = 10000 ; time in ms
|
||||||
dataReadyCondition = { toothLogReady }
|
dataReadyCondition = { toothLogReady }
|
||||||
|
; each packet is 2 and we have 1000 of those
|
||||||
|
dataLength = 2000
|
||||||
|
|
||||||
; recordDef = headerLen, footerLen, recordLen
|
; recordDef = headerLen, footerLen, recordLen
|
||||||
recordDef = 0, 0, 2
|
recordDef = 0, 0, 2
|
||||||
|
|
|
@ -86,7 +86,7 @@ enable2ndByteCanID = false
|
||||||
|
|
||||||
; see PAGE_0_SIZE in C source code
|
; see PAGE_0_SIZE in C source code
|
||||||
; CONFIG_DEFINITION_START
|
; CONFIG_DEFINITION_START
|
||||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 19:03:54 EDT 2020
|
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 23:50:46 EDT 2020
|
||||||
|
|
||||||
pageSize = 20000
|
pageSize = 20000
|
||||||
page = 1
|
page = 1
|
||||||
|
@ -1253,6 +1253,8 @@ page = 1
|
||||||
dataReadCommand = "L"
|
dataReadCommand = "L"
|
||||||
dataReadTimeout = 10000 ; time in ms
|
dataReadTimeout = 10000 ; time in ms
|
||||||
dataReadyCondition = { toothLogReady }
|
dataReadyCondition = { toothLogReady }
|
||||||
|
; each packet is 2 and we have 1000 of those
|
||||||
|
dataLength = 2000
|
||||||
|
|
||||||
; recordDef = headerLen, footerLen, recordLen
|
; recordDef = headerLen, footerLen, recordLen
|
||||||
recordDef = 0, 0, 2
|
recordDef = 0, 0, 2
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.rusefi.config.generated;
|
package com.rusefi.config.generated;
|
||||||
|
|
||||||
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 19:03:41 EDT 2020
|
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Sun Apr 12 23:47:17 EDT 2020
|
||||||
|
|
||||||
// by class com.rusefi.output.FileJavaFieldsConsumer
|
// by class com.rusefi.output.FileJavaFieldsConsumer
|
||||||
import com.rusefi.config.*;
|
import com.rusefi.config.*;
|
||||||
|
@ -285,6 +285,8 @@ public class Fields {
|
||||||
public static final int coastingFuelCutTps_offset = 3152;
|
public static final int coastingFuelCutTps_offset = 3152;
|
||||||
public static final int communicationLedPin_offset = 1812;
|
public static final int communicationLedPin_offset = 1812;
|
||||||
public static final int communicationLedPin_offset_hex = 714;
|
public static final int communicationLedPin_offset_hex = 714;
|
||||||
|
public static final int COMPOSITE_DATA_LENGTH = 2000;
|
||||||
|
public static final int COMPOSITE_PACKET_COUNT = 1000;
|
||||||
public static final int COMPOSITE_PACKET_SIZE = 2;
|
public static final int COMPOSITE_PACKET_SIZE = 2;
|
||||||
public static final String CONSOLE_DATA_PROTOCOL_TAG = " @";
|
public static final String CONSOLE_DATA_PROTOCOL_TAG = " @";
|
||||||
public static final int consoleLoopPeriodMs_offset = 716;
|
public static final int consoleLoopPeriodMs_offset = 716;
|
||||||
|
|
Loading…
Reference in New Issue