pioarduino/platform-espressif32

Arduino Matter examples do fail to compile

Opened this issue · 2 comments

Thx @sivar2311 for the info

Reason found. A build flag is missing. As workaround add the missing build flag for code which uses Matter -DCHIP_HAVE_CONFIG_H

example:

[env:esp32dev]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip 
board = esp32dev
framework = arduino
board_build.partitions = huge_app.csv
build_flags = -DCHIP_HAVE_CONFIG_H

The missing flag will be added with next release in Arduino code.