Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 217296

Forum Post: RE: TMS320F28P650DH: Compiler doubt

$
0
0
I presume you build with the newer --abi=eabi . In that case, all sections which are never referenced are automatically removed. This automatic removal happens in the linker. It occurs regardless of the compiler optimization level. My guess is that all of the variables are defined in the same section. If none of them are ever used, the linker removes the section. For one way to disable this behavior, please search the C28x compiler manual for the sub-chapter titled The RETAIN Pragma . Thanks and regards, -George

Viewing all articles
Browse latest Browse all 217296

Trending Articles