cfstore sram mode fix for flash test

Simon Hughes 2016-06-17 15:28:11 +01:00
parent b09d6dbc9c
commit 5bd164d662
2 changed files with 2 additions and 1 deletions

View File

@ -140,8 +140,8 @@ UVISOR_BOX_CONFIG(cfstore_flash_box1, UVISOR_BOX_STACK_SIZE);
* Globals
*/
#ifdef CFSTORE_CONFIG_BACKEND_FLASH_ENABLED
char cfstore_flash_utest_msg_g[CFSTORE_FLASH_UTEST_MSG_BUF_SIZE];
#ifdef CFSTORE_CONFIG_BACKEND_FLASH_ENABLED
uint16_t cfstore_flash_mtd_async_ops_g = 0;
extern ARM_DRIVER_STORAGE ARM_Driver_Storage_(0);

View File

@ -298,6 +298,7 @@ int32_t cfstore_test_create_table(const cfstore_kv_data_t* table)
cfstore_kv_data_t* node = NULL;
ARM_CFSTORE_KEYDESC kdesc;
(void) node; /* suppresses warning when building release */
CFSTORE_FENTRYLOG("%s:entered.\r\n", __func__);
memset(&kdesc, 0, sizeof(kdesc));
kdesc.drl = ARM_RETENTION_WHILE_DEVICE_ACTIVE;