Checklist
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