diff --git a/firmware/config/boards/hellen/small-can-board/board.mk b/firmware/config/boards/hellen/small-can-board/board.mk index 2bbebfe527..2196bfe57e 100644 --- a/firmware/config/boards/hellen/small-can-board/board.mk +++ b/firmware/config/boards/hellen/small-can-board/board.mk @@ -5,8 +5,8 @@ DDEFS += -DSHORT_BOARD_NAME=small-can-board #DDEFS += -DEFI_SENT_SUPPORT=TRUE -#DDEFS += -DPERSISTENT_LOCATION_VALUE=\"__attribute__\(\(section\(\\\".ram1\\\"\)\)\)\" -#DDEFS += -DPERSISTENT_LOCATION_TODO +DDEFS += -DPERSISTENT_LOCATION_VALUE=\"__attribute__\(\(section\(\\\".ram1\\\"\)\)\)\" +DDEFS += -DPERSISTENT_LOCATION_TODO DDEFS += -DEFI_SENSOR_CHART=FALSE # DDEFS += -DLUA_USER_HEAP=50000 DDEFS += -DEFI_MC33816=FALSE diff --git a/firmware/controllers/lua/lua.cpp b/firmware/controllers/lua/lua.cpp index b6b774dcf3..06ff854c70 100644 --- a/firmware/controllers/lua/lua.cpp +++ b/firmware/controllers/lua/lua.cpp @@ -17,9 +17,9 @@ #define LUA_USER_HEAP 1 #endif // LUA_USER_HEAP -#ifdef PERSISTENT_LOCATION_TODO -#define LUA_HEAD_RAM_SECTION CCM_OPTIONAL -#endif +//#ifdef PERSISTENT_LOCATION_TODO +//#define LUA_HEAD_RAM_SECTION CCM_OPTIONAL +//#endif static char luaUserHeap[LUA_USER_HEAP] #ifdef EFI_HAS_EXT_SDRAM diff --git a/firmware/controllers/persistent_store.cpp b/firmware/controllers/persistent_store.cpp index 71fda80039..85273d838e 100644 --- a/firmware/controllers/persistent_store.cpp +++ b/firmware/controllers/persistent_store.cpp @@ -31,7 +31,8 @@ #define PERSISTENT_LOCATION CCM_OPTIONAL #else #pragma message(PERSISTENT_LOCATION_VALUE) -#define PERSISTENT_LOCATION __attribute__((section(".ram1"))) +#define PERSISTENT_LOCATION CCM_OPTIONAL +//#define PERSISTENT_LOCATION __attribute__((section(".ram1"))) #endif persistent_config_container_s persistentState PERSISTENT_LOCATION;