Hi,
I wonder how could I implement following logic.
compile will fail. is there a way to work arround?
#define SIZE(x) \
#if( x == 16 ) 0x123\
#elif ( x == 64 ) 0x456\
#elif ( x == 128 ) 0x789\
#elif ( x == 512 ) 0xabc\
#else #error not support size
basiclly I want SIZE(16) will be substituted by 0x123;
SIZE(64) be substitued by 0x456; etc ...
Thx