only:small-can-board
This commit is contained in:
parent
063739f618
commit
8680acdfea
|
@ -5,8 +5,8 @@ DDEFS += -DSHORT_BOARD_NAME=small-can-board
|
||||||
|
|
||||||
#DDEFS += -DEFI_SENT_SUPPORT=TRUE
|
#DDEFS += -DEFI_SENT_SUPPORT=TRUE
|
||||||
|
|
||||||
#DDEFS += -DPERSISTENT_LOCATION_VALUE=\"__attribute__\(\(section\(\\\".ram1\\\"\)\)\)\"
|
DDEFS += -DPERSISTENT_LOCATION_VALUE=\"__attribute__\(\(section\(\\\".ram1\\\"\)\)\)\"
|
||||||
#DDEFS += -DPERSISTENT_LOCATION_TODO
|
DDEFS += -DPERSISTENT_LOCATION_TODO
|
||||||
DDEFS += -DEFI_SENSOR_CHART=FALSE
|
DDEFS += -DEFI_SENSOR_CHART=FALSE
|
||||||
# DDEFS += -DLUA_USER_HEAP=50000
|
# DDEFS += -DLUA_USER_HEAP=50000
|
||||||
DDEFS += -DEFI_MC33816=FALSE
|
DDEFS += -DEFI_MC33816=FALSE
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
#define LUA_USER_HEAP 1
|
#define LUA_USER_HEAP 1
|
||||||
#endif // LUA_USER_HEAP
|
#endif // LUA_USER_HEAP
|
||||||
|
|
||||||
#ifdef PERSISTENT_LOCATION_TODO
|
//#ifdef PERSISTENT_LOCATION_TODO
|
||||||
#define LUA_HEAD_RAM_SECTION CCM_OPTIONAL
|
//#define LUA_HEAD_RAM_SECTION CCM_OPTIONAL
|
||||||
#endif
|
//#endif
|
||||||
|
|
||||||
static char luaUserHeap[LUA_USER_HEAP]
|
static char luaUserHeap[LUA_USER_HEAP]
|
||||||
#ifdef EFI_HAS_EXT_SDRAM
|
#ifdef EFI_HAS_EXT_SDRAM
|
||||||
|
|
|
@ -31,7 +31,8 @@
|
||||||
#define PERSISTENT_LOCATION CCM_OPTIONAL
|
#define PERSISTENT_LOCATION CCM_OPTIONAL
|
||||||
#else
|
#else
|
||||||
#pragma message(PERSISTENT_LOCATION_VALUE)
|
#pragma message(PERSISTENT_LOCATION_VALUE)
|
||||||
#define PERSISTENT_LOCATION __attribute__((section(".ram1")))
|
#define PERSISTENT_LOCATION CCM_OPTIONAL
|
||||||
|
//#define PERSISTENT_LOCATION __attribute__((section(".ram1")))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
persistent_config_container_s persistentState PERSISTENT_LOCATION;
|
persistent_config_container_s persistentState PERSISTENT_LOCATION;
|
||||||
|
|
Loading…
Reference in New Issue