Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@
[submodule "components/coap/libcoap"]
path = components/coap/libcoap
url = ../../obgm/libcoap.git

[submodule "components/wolfssl"]
path = components/wolfssl
url = ../wolfssl.git
10 changes: 7 additions & 3 deletions components/esp-tls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ endif()
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "."
PRIV_INCLUDE_DIRS "private_include"
REQUIRES mbedtls
REQUIRES mbedtls wolfssl
PRIV_REQUIRES lwip http_parser)

if(CONFIG_ESP_TLS_USING_WOLFSSL)
idf_component_get_property(wolfssl esp-wolfssl COMPONENT_LIB)
target_link_libraries(${COMPONENT_LIB} PUBLIC ${wolfssl})
if(CONFIG_ESP_WOLFSSL_INTERNAL)
idf_component_get_property(wolfssl esp-wolfssl COMPONENT_LIB)
target_link_libraries(${COMPONENT_LIB} PUBLIC ${wolfssl})
elseif(CONFIG_TLS_STACK_WOLFSSL)
component_compile_options("-DWOLFSSL_USER_SETTINGS")
endif()
endif()
2 changes: 1 addition & 1 deletion components/spi_flash/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(srcs "src/partition"
set(srcs "src/partition.c"
"src/spi_flash_raw.c"
"src/spi_flash.c")
if(BOOTLOADER_BUILD)
Expand Down
1 change: 1 addition & 0 deletions components/wolfssl
Submodule wolfssl added at ec5c78