flexibility

This commit is contained in:
rusefi 2019-02-06 23:30:53 -05:00
parent 9a3b15f5b6
commit edb79a0dc7
1 changed files with 8 additions and 2 deletions

View File

@ -756,8 +756,14 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX)
// these two variables are here only to let us know how much RAM is available, also these
// help to notice when RAM usage goes up - if a code change adds to RAM usage these variables would fail
// linking process which is the way to raise the alarm
static char UNUSED_RAM_SIZE[10200];
static char UNUSED_CCM_SIZE[7000] CCM_OPTIONAL;
#ifndef RAM_UNUSED_SIZE
#define RAM_UNUSED_SIZE 10200
#endif
#ifndef CCM_UNUSED_SIZE
#define CCM_UNUSED_SIZE 7000
#endif
static char UNUSED_RAM_SIZE[RAM_UNUSED_SIZE];
static char UNUSED_CCM_SIZE[CCM_UNUSED_SIZE] CCM_OPTIONAL;
/**
* See also VCS_VERSION