Page 1 of 1

where global declared variable value is stored in esp32 wrover I module

Posted: Fri Jul 21, 2023 8:42 am
by kesha.modhia
I am using esp32 wrover i module
I have declared global structure in my source code as given below



in header file :
typedef struct
{
uint16_t u16PhysicalDeviceId;
tsDeviceBasicInfo sDeviceBasicInfo;
} tsDeviceInfo;

in .c file globally declared :

static tsDeviceInfo sDeviceList[MAX_DEVICE_SUPPORTED];

when the data is filled in the structure variable, in which memory location it will be stored ?
How much memory is available in that segment