mbedtls: support esp32s2beta

This commit is contained in:
Michael (XIAO Xufeng) 2019-08-18 13:28:52 +08:00 committed by Angus Gratton
parent 3b39e60f97
commit b76d5d74d9
2 changed files with 4 additions and 2 deletions

View file

@ -41,5 +41,7 @@ foreach(target ${mbedtls_targets})
target_compile_definitions(${target} PUBLIC -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h")
endforeach()
set_property(TARGET mbedcrypto APPEND PROPERTY LINK_INTERFACE_LIBRARIES mbedtls)
# Link mbedtls libraries to component library
target_link_libraries(${COMPONENT_LIB} INTERFACE ${mbedtls_targets})
target_link_libraries(${COMPONENT_LIB} INTERFACE ${mbedtls_targets})

View file

@ -61,7 +61,7 @@ static IRAM_ATTR void rsa_complete_isr(void *arg)
}
}
static void rsa_isr_initialise()
static void rsa_isr_initialise(void)
{
if (op_complete_sem == NULL) {
op_complete_sem = xSemaphoreCreateBinary();