mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
mbedtls: enable deprecation warnings when building unit tests
This commit is contained in:
@@ -2,3 +2,7 @@
|
||||
# alternative config file
|
||||
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