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

kesha.modhia
Posts: 44
Joined: Fri May 13, 2022 12:36 pm

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

Postby kesha.modhia » Fri Jul 21, 2023 8:42 am

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

Who is online

Users browsing this forum: No registered users and 136 guests