ZAP with espressif/esp_matter #1562
              
                Unanswered
              
          
                  
                    
                      SI-David-Kopczynski
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to setup ZAP with
espressif/esp_matteras a dependency inmain/idf_component.yml.The examples show the usage of
chip_configure_data_model, but this does not build as the component ships with a minimal setup ofconnectedhomeip. Thus, the required files forinclude(${CHIP_ROOT}/src/app/chip_data_model.cmake)do not exist.I have tried
codepregen.pyfrom theespressif/esp-matter:release-v1.4_idf_v5.4.1-Docker with my.zapand.matter, pre-generatingcodegen/cpp-app/appandzap/app-templates/zap-generatedwith success. I could add them toidf_build_set_property(CXX_COMPILE_OPTIONS "-I/.../cpp-app; -I/.../app-templates")(astarget_include_directories(${COMPONENT_LIB} ...did not work foresp_matter), but I am still stuck on linking as cluster implementations assrc/app/clusters/power-source-serverare not included by default. It seems like linking is only possible by enablingCONFIG_ESP_MATTER_ENABLE_DATA_MODELwhich will in turn break ZAP from working -- loggingdata_model: Node cannot be NULLanddata_model: Node does not exist or esp_matter does not start.Furthermore, adding
connectedhomeipas a submodule will also not work. I have tried using it withchip_configure_data_model, but the scripts fail due to missing dependencies withesp_matter.How should ZAP be configured with
espressif/esp_matter? I really like ZAP due to the advantage of more complex definitions (e.g. custom endpoint IDs that are not just incrementing), but also the smaller footprint and less startup implementation. Maybe this is something that should be possible by setting something likeCONFIG_ESP_MATTER_ZAP_PATHto the relative path of a ZAP within the project. Would love to hear other solutions or ideas!Beta Was this translation helpful? Give feedback.
All reactions