Hello,
A variable defined as volatile static Uint16 u16SineWaveIndex = 0; is not showing up in the memory map file. u16SineWaveIndex is used in an inlined function and that function is also used in an inlined function (please see example code below that describes the situation). the optimization is set to "whole program".
Why isn't the function showing up in the memory map?
Stephen
volatile static Uint16 u16SineWaveIndex = 0; __inline void function1(void) { u16SineWaveIndex++; } __inline void function2(void) { function1(); } int main(void) { function2(); }