put names in flash (#2939)
* put names in flash * probing freed ram * this one too * probing memory * more like that much
This commit is contained in:
parent
1bba234920
commit
0a40ccd619
|
@ -698,7 +698,7 @@ void initEngineContoller(DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
|||
* UNUSED_SIZE constants.
|
||||
*/
|
||||
#ifndef RAM_UNUSED_SIZE
|
||||
#define RAM_UNUSED_SIZE 900
|
||||
#define RAM_UNUSED_SIZE 1350
|
||||
#endif
|
||||
#ifndef CCM_UNUSED_SIZE
|
||||
#define CCM_UNUSED_SIZE 300
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "efilib.h"
|
||||
#include "loggingcentral.h"
|
||||
|
||||
static const char* s_sensorNames[] = {
|
||||
static const char* const s_sensorNames[] = {
|
||||
"Invalid",
|
||||
"CLT",
|
||||
"IAT",
|
||||
|
|
|
@ -36,13 +36,13 @@ EnginePins enginePins;
|
|||
pin_output_mode_e DEFAULT_OUTPUT = OM_DEFAULT;
|
||||
pin_output_mode_e INVERTED_OUTPUT = OM_INVERTED;
|
||||
|
||||
static const char *sparkNames[] = { "Coil 1", "Coil 2", "Coil 3", "Coil 4", "Coil 5", "Coil 6", "Coil 7", "Coil 8",
|
||||
static const char* const sparkNames[] = { "Coil 1", "Coil 2", "Coil 3", "Coil 4", "Coil 5", "Coil 6", "Coil 7", "Coil 8",
|
||||
"Coil 9", "Coil 10", "Coil 11", "Coil 12"};
|
||||
|
||||
static const char *trailNames[] = { "Trail 1", "Trail 2", "Trail 3", "Trail 4", "Trail 5", "Trail 6", "Trail 7", "Trail 8",
|
||||
static const char* const trailNames[] = { "Trail 1", "Trail 2", "Trail 3", "Trail 4", "Trail 5", "Trail 6", "Trail 7", "Trail 8",
|
||||
"Trail 9", "Trail 10", "Trail 11", "Trail 12"};
|
||||
|
||||
static const char* trailShortNames[] = { "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "tA", "tB", "tD" };
|
||||
static const char* const trailShortNames[] = { "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "tA", "tB", "tD" };
|
||||
|
||||
const char *vvtNames[] = {
|
||||
PROTOCOL_VVT1_NAME,
|
||||
|
@ -51,16 +51,16 @@ const char *vvtNames[] = {
|
|||
PROTOCOL_VVT4_NAME};
|
||||
|
||||
// these short names are part of engine sniffer protocol
|
||||
static const char *sparkShortNames[] = { PROTOCOL_COIL1_SHORT_NAME, "c2", "c3", "c4", "c5", "c6", "c7", "c8",
|
||||
static const char* const sparkShortNames[] = { PROTOCOL_COIL1_SHORT_NAME, "c2", "c3", "c4", "c5", "c6", "c7", "c8",
|
||||
"c9", "cA", "cB", "cD"};
|
||||
|
||||
static const char *injectorNames[] = { "Injector 1", "Injector 2", "Injector 3", "Injector 4", "Injector 5", "Injector 6",
|
||||
static const char* const injectorNames[] = { "Injector 1", "Injector 2", "Injector 3", "Injector 4", "Injector 5", "Injector 6",
|
||||
"Injector 7", "Injector 8", "Injector 9", "Injector 10", "Injector 11", "Injector 12"};
|
||||
|
||||
static const char *injectorShortNames[] = { PROTOCOL_INJ1_SHORT_NAME, "i2", "i3", "i4", "i5", "i6", "i7", "i8",
|
||||
static const char* const injectorShortNames[] = { PROTOCOL_INJ1_SHORT_NAME, "i2", "i3", "i4", "i5", "i6", "i7", "i8",
|
||||
"j9", "iA", "iB", "iC"};
|
||||
|
||||
static const char *auxValveShortNames[] = { "a1", "a2"};
|
||||
static const char* const auxValveShortNames[] = { "a1", "a2"};
|
||||
|
||||
static RegisteredOutputPin * registeredOutputHead = nullptr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue