Other Parts Discussed in Thread: C2000WARE
Hi Champ,
I am asking for my customer.
In .c and .h file, user could use #ifdef to switch between the code configuration.
How about in .cmd file ? I followed the way as defining the contents into different sections in EABI format by using #if defined(), while by this way, it doesn't work correctly (it should allocate .const into FLASH_BANK0_SEC10).
Would the expert kindly show the correct way to define #ifdef directive in .cmd file ?
Thanks and regards,
Johnny
