diff --git a/.gitmodules b/.gitmodules index 164d2ce98..12672aae1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -57,3 +57,7 @@ [submodule "components/mqtt/esp-mqtt"] path = components/mqtt/esp-mqtt url = https://github.com/espressif/esp-mqtt.git + +[submodule "components/protobuf-c/protobuf-c"] + path = components/protobuf-c/protobuf-c + url = https://github.com/protobuf-c/protobuf-c diff --git a/components/protobuf-c/CMakeLists.txt b/components/protobuf-c/CMakeLists.txt new file mode 100644 index 000000000..1c9a3ffc3 --- /dev/null +++ b/components/protobuf-c/CMakeLists.txt @@ -0,0 +1,4 @@ +set(COMPONENT_ADD_INCLUDEDIRS protobuf-c) +set(COMPONENT_SRCS "protobuf-c/protobuf-c/protobuf-c.c") + +register_component() diff --git a/components/protobuf-c/component.mk b/components/protobuf-c/component.mk new file mode 100644 index 000000000..a8c4900ab --- /dev/null +++ b/components/protobuf-c/component.mk @@ -0,0 +1,8 @@ +# +# Component Makefile +# +COMPONENT_ADD_INCLUDEDIRS := protobuf-c + +COMPONENT_SRCDIRS := protobuf-c/protobuf-c + +COMPONENT_SUBMODULES += protobuf-c diff --git a/components/protobuf-c/protobuf-c b/components/protobuf-c/protobuf-c new file mode 160000 index 000000000..dac1a65fe --- /dev/null +++ b/components/protobuf-c/protobuf-c @@ -0,0 +1 @@ +Subproject commit dac1a65feac4ad72f612aab99f487056fbcf5c1a diff --git a/tools/ci/mirror-list.txt b/tools/ci/mirror-list.txt index 621a03b4c..b015e61cb 100644 --- a/tools/ci/mirror-list.txt +++ b/tools/ci/mirror-list.txt @@ -15,3 +15,4 @@ components/lwip/lwip @GENERAL_MIRROR_SERVER@/idf/ third-party/mruby @GENERAL_MIRROR_SERVER@/idf/mruby.git ALLOW_TO_SYNC_FROM_PUBLIC third-party/neverbleed @GENERAL_MIRROR_SERVER@/idf/neverbleed.git ALLOW_TO_SYNC_FROM_PUBLIC components/mqtt/esp-mqtt @GENERAL_MIRROR_SERVER@/idf/esp-mqtt.git ALLOW_TO_SYNC_FROM_PUBLIC +components/protobuf-c/protobuf-c @GENERAL_MIRROR_SERVER@/idf/protobuf-c.git ALLOW_TO_SYNC_FROM_PUBLIC