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

2.add it to CDT_User_Setting_Entries

3.add #IF conditional in main.c


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

flash binaries and monitor with uart terminal software

thanks in advance!