mbedtls: support esp32s2beta
This commit is contained in:
parent
3b39e60f97
commit
b76d5d74d9
2 changed files with 4 additions and 2 deletions
|
@ -41,5 +41,7 @@ foreach(target ${mbedtls_targets})
|
||||||
target_compile_definitions(${target} PUBLIC -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h")
|
target_compile_definitions(${target} PUBLIC -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
set_property(TARGET mbedcrypto APPEND PROPERTY LINK_INTERFACE_LIBRARIES mbedtls)
|
||||||
|
|
||||||
# Link mbedtls libraries to component library
|
# Link mbedtls libraries to component library
|
||||||
target_link_libraries(${COMPONENT_LIB} INTERFACE ${mbedtls_targets})
|
target_link_libraries(${COMPONENT_LIB} INTERFACE ${mbedtls_targets})
|
|
@ -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) {
|
if (op_complete_sem == NULL) {
|
||||||
op_complete_sem = xSemaphoreCreateBinary();
|
op_complete_sem = xSemaphoreCreateBinary();
|
||||||
|
|
Loading…
Reference in a new issue