Hi @ShuxinHuang ,
If my understanding is correct, you're requesting using multi variant config in EB Tresos.
Please refer this thread to setup variants for Port module in your config:
Solved: MCAL Variant Handling in EB Tresos - NXP Community
After configured, you will see on the top of each module, the variant parameter can be selectable:

Select each variant and config Port module as per variant.
Then after generated, you will get different config set generated in separate file:


Using these config corresponding with for projects
