Hello,
I am using S32 Design Studio for S32 Platform for Compilation
Version: 3.5
Build id: 230629 (Update 3)
T32 for Debugging : Software Version: R.2023.02.000159199
I imported IPCF example code in S32 design studio and build the code with 0 error and 0 warning
Loaded .elf file in T32, while debugging code, static variable (ipc_shm_priv_data) and *cfg kept in watch window to check whether value is updated or not.
we found that static variable is not updated and and for cfg "bus error" is shown in watch window
After that we checked map file then we found all static variables are missing in map file.
Please suggest the solution. piece of code attached below
static int ipc_shm_init_instance(uint8 instance,
const struct ipc_shm_cfg *cfg)
{
ipc_shm_priv_data[instance].shm_size = cfg->shm_size;
ipc_shm_priv_data[instance].num_channels = cfg->num_channels;
}
Hi,
is optimization level set to none?