mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
mbedtls: enable deprecation warnings when building unit tests
This commit is contained in:
@@ -2,3 +2,7 @@
|
|||||||
# alternative config file
|
# alternative config file
|
||||||
CPPFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
|
CPPFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
|
||||||
|
|
||||||
|
# Catch usage of deprecated mbedTLS functions when building tests
|
||||||
|
ifneq ("$(TEST_COMPONENTS_LIST)","")
|
||||||
|
CPPFLAGS += -DMBEDTLS_DEPRECATED_WARNING
|
||||||
|
endif
|
||||||
|
Reference in New Issue
Block a user