Question
How to resolve expression must be pointer to complete object type error?
@TDK
I am getting error in below line in my code
*((uint8_t*)(CB[arr_index].baseaddress + (CB[arr_index].position*sizeof(uint8_t)))) = *((uint8_t*)data);
This error is not occuring when i am using STMCube IDE but when i am imported my project to IAR embedded workbench this line getting error
can anyone please how to resolve this problem and why it is occuring?
