I don't know where I have to put the initialization code before all threads starts execution, because e2 studio overwrites edited code when I compile the project. I tried to add the code in common_data.c and startup_SxXx.c file, but it doesn't works.
I would appreciate your help. Thank you.
Marcos