mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-28 21:48:05 +08:00

It is that maybe less modification working on the components is better, so I just modified the platform code of AES, SHA and so on. ESP8266 has no real hardware AES, SHA or bignum peripheral, but some method can speed up the process of part of upper algorithm, so I also added the platform code of AES, SHA, bignum, ARC, MD5. ESP8266 has no platform of bignum, so users should not enable the bignum hardware at "menuconfig".
12 lines
362 B
CMake
12 lines
362 B
CMake
if(CONFIG_AWS_IOT_SDK)
|
|
set(COMPONENT_ADD_INCLUDEDIRS "include aws-iot-device-sdk-embedded-C/include")
|
|
set(COMPONENT_SRCDIRS "aws-iot-device-sdk-embedded-C/src port")
|
|
else()
|
|
message(STATUS "Building empty aws_iot component due to configuration")
|
|
endif()
|
|
|
|
set(COMPONENT_REQUIRES mbedtls)
|
|
set(COMPONENT_PRIV_REQUIRES jsmn esp-tls)
|
|
|
|
register_component()
|