AnsweredAssumed Answered

Wind River Diab Compiler force constants/functions in a specific section

Question asked by meng qiu on Jul 11, 2019

hello , bellow is the example 


#pragma push

#pragma section MYCODE ".mycode"

void my_func()



#pragma pop


In the diab compiler,

there is a warning (dcc:1560) :unknow pragma:push

warning (dcc:1560) :unknow pragma:pop


If there is no push and pop in the diab , how to start and end MYCODE sections in the files?

Thank you very much !