only:small-can-board

This commit is contained in:
rusefillc 2023-06-24 00:39:53 -04:00
parent 063739f618
commit 8680acdfea
3 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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;