Skip to content

Commit

Permalink
Merge branch 'refactor/protocomm_public_hdr_v5.1' into 'release/v5.1'
Browse files Browse the repository at this point in the history
refactor(protocomm): Make the protocomm `proto-c` headers public (v5.1)

See merge request espressif/esp-idf!29359
  • Loading branch information
mahavirj committed Mar 1, 2024
2 parents 67c4eac + bda0a44 commit d22c95a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/esp_local_ctrl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(include_dirs include)
set(priv_include_dirs proto-c src ../protocomm/proto-c)
set(priv_include_dirs proto-c src)
set(srcs "src/esp_local_ctrl.c"
"src/esp_local_ctrl_handler.c"
"proto-c/esp_local_ctrl.pb-c.c")
Expand Down
5 changes: 3 additions & 2 deletions components/protocomm/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
set(include_dirs include/common
include/security
include/transports
include/crypto/srp6a)
set(priv_include_dirs proto-c src/common)
include/crypto/srp6a
proto-c)
set(priv_include_dirs src/common)
set(srcs
"src/common/protocomm.c"
"proto-c/constants.pb-c.c"
Expand Down
1 change: 0 additions & 1 deletion components/protocomm/test_apps/main/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_INCLUDE_DIRS "../../proto-c/"
PRIV_REQUIRES cmock mbedtls protocomm protobuf-c test_utils unity)
2 changes: 1 addition & 1 deletion components/wifi_provisioning/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ endif()

idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS include
PRIV_INCLUDE_DIRS src proto-c ../protocomm/proto-c
PRIV_INCLUDE_DIRS src proto-c
REQUIRES lwip protocomm
PRIV_REQUIRES protobuf-c bt json esp_timer esp_wifi)

0 comments on commit d22c95a

Please sign in to comment.