Corrupt Matter ZCL file generation (Matter Template project)

I am creating a Matter accessory device with the nrf52840dk and the guide on https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_matter_creating_accessory.html
However, I am running into a problem at step 9 of the Edit cluster using the ZAP tool step.

The endpoint_config.h file is not generated correctly for example at lines 386, 391, 396, 404, 414, 454 till 459, 469 and 481 (see zap-files.zip ) I included the other zap generated files and my template.zap in this file as well might I have overlooked other errors. 

I noted that the zap tool logged some errors. These can be found in the zap.log file.

I have freshly installed the nrfconnect sdk v1.9.1 through the toolchain manager on win10. 
My nodejs version is 14.15.5 and my npm version is 8.5.5

Can anyone help me solve this?

{"level":40,"time":1651137778294,"pid":26224,"hostname":"2017042","name":"zap","msg":"Attempting to insert cluster extension, but the cluster was not found: 0","err":{"alert":""}}
{"level":40,"time":1651137778815,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\CHIPClientCallbacks-src.zapt : Helper asUnderlyingZclType is deprecated. Use as_underlying_zcl_type instead.","err":{"alert":""}}
{"level":40,"time":1651137778848,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\gen_config.zapt : Helper asDelimitedMacro is deprecated. Use as_delimited_macro instead.","err":{"alert":""}}
{"level":40,"time":1651137778850,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\gen_config.zapt : Helper isServer is deprecated. Use is_server instead.","err":{"alert":""}}
{"level":40,"time":1651137778864,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\gen_config.zapt : Helper isStrEqual is deprecated. Use is_str_equal instead.","err":{"alert":""}}
{"level":40,"time":1651137778867,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\callback-stub-src.zapt : Helper asDelimitedMacro is deprecated. Use as_delimited_macro instead.","err":{"alert":""}}
{"level":40,"time":1651137779029,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\im-cluster-command-handler.zapt : Helper isServer is deprecated. Use is_server instead.","err":{"alert":""}}
{"level":40,"time":1651137779184,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\im-cluster-command-handler.zapt : Helper asSymbol is deprecated. Use as_symbol instead.","err":{"alert":""}}
{"level":40,"time":1651137779196,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\MatterIDL.zapt : Helper isServer is deprecated. Use is_server instead.","err":{"alert":""}}
{"level":40,"time":1651137779228,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\CHIPClientCallbacks-src.zapt : Helper asSymbol is deprecated. Use as_symbol instead.","err":{"alert":""}}
{"level":40,"time":1651137779234,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\CHIPClientCallbacks.zapt : Helper asUnderlyingZclType is deprecated. Use as_underlying_zcl_type instead.","err":{"alert":""}}
{"level":40,"time":1651137779234,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\CHIPClientCallbacks.zapt : Helper asSymbol is deprecated. Use as_symbol instead.","err":{"alert":""}}
{"level":40,"time":1651137779258,"pid":26224,"hostname":"2017042","name":"zap","msg":"C:\\Users\\jheu\\ncs\\v1.9.1\\modules\\lib\\matter\\src\\app\\zap-templates\\templates\\app\\im-cluster-command-handler.zapt : Helper asUnderlyingZclType is deprecated. Use as_underlying_zcl_type instead.","err":{"alert":""}}

zap files.zip

Parents Reply Children
Related