Hi,
Thanks for the reply.
I've follow the solution you provided to test it on one of NXP Uart example code, but it seems not to work on the project.
May I check the testing process with you?
process
1.create MACRO.h and add it to ${ProjDirPath}/ with the same content
David0406_0-1681206201832.png
2.add it to CDT_User_Setting_Entries
David0406_2-1681206522080.png
3.add #IF conditional in main.c
David0406_4-1681206785474.png
David0406_1-1681206353858.png
the #if block did being shaded if changing the compared value with TEST to 150
result
the warning messge was shown in the build log
David0406_5-1681207359898.png
flash binaries and monitor with uart terminal software
David0406_6-1681207501624.png
thanks in advance!