When I create a new configuration based on a configuration, I add a new macro on the new configuration, but this macro is invalid for the new configuration, only adding this macro on the original configuration is valid for the new configuration, what is the reason for this? Isn't it true that the different configurations are not controlled separately?
Sorry, I didn't notice another problem that I didn't select the corresponding build file after compiling, and now the problem has been solved, only the code is still grayed out, but it doesn't affect the run, thanks for your reply!
in the past there was some issue that preprocessor macros was visible only from First configuration (typically debug_FLASH). What is your S32DS version? Can you try to put this macro definition in first debug configuration and check, if the code is still invalid?
Sorry, I didn't notice another problem that I didn't select the corresponding build file after compiling, and now the problem has been solved, only the code is still grayed out, but it doesn't affect the run, thanks for your reply!