2019-04-28 07:38:23 +00:00
|
|
|
idf_component_register(SRC_DIRS "."
|
2020-03-22 10:30:24 +00:00
|
|
|
PRIV_INCLUDE_DIRS "." "${CMAKE_CURRENT_BINARY_DIR}"
|
2018-08-13 08:37:56 +00:00
|
|
|
PRIV_INCLUDE_DIRS "../src"
|
2020-03-22 10:30:24 +00:00
|
|
|
PRIV_REQUIRES unity esp_common test_utils wpa_supplicant mbedtls)
|
2018-08-13 08:37:56 +00:00
|
|
|
|
|
|
|
idf_component_get_property(esp_supplicant_dir wpa_supplicant COMPONENT_DIR)
|
|
|
|
|
|
|
|
# Calculate MD5 value of header file esp_wifi_driver.h
|
|
|
|
file(MD5 ${esp_supplicant_dir}/src/esp_supplicant/esp_wifi_driver.h WIFI_SUPPLICANT_MD5)
|
|
|
|
string(SUBSTRING "${WIFI_SUPPLICANT_MD5}" 0 7 WIFI_SUPPLICANT_MD5)
|
|
|
|
|
|
|
|
add_definitions(-DWIFI_SUPPLICANT_MD5=\"${WIFI_SUPPLICANT_MD5}\")
|
2019-11-11 11:20:04 +00:00
|
|
|
add_definitions(-DCONFIG_WPA3_SAE)
|