### Checklist - [X] Checked the issue tracker for similar issues to ensure this is not a duplicate - [X] Read the documentation to confirm the issue is not addressed there and your configuration is set correctly - [X] Tested with the latest version to ensure the issue hasn't been fixed ### How often does this bug occurs? always ### Expected behavior Compile Matter code with pioarduino is successful ### Actual behavior (suspected bug) Compile stops since `-DCHIP_HAVE_CONFIG_H` is missing ### Error logs or terminal output _No response_ ### Steps to reproduce the behavior Try to compile Matter example ### Project release version Arduino Core 3.1.0 ### System architecture Intel/AMD 64-bit (modern PC, older Mac) ### Operating system MacOS ### Operating system version every ### Shell ZSH ### Additional context Fix is adding `-DCHIP_HAVE_CONFIG_H` to `pioarduino_end.txt`