diff --git a/IDE/Espressif/ESP-IDF/user_settings.h b/IDE/Espressif/ESP-IDF/user_settings.h index 4e9d1d918..23386646d 100644 --- a/IDE/Espressif/ESP-IDF/user_settings.h +++ b/IDE/Espressif/ESP-IDF/user_settings.h @@ -20,10 +20,21 @@ */ #undef WOLFSSL_ESPIDF #define WOLFSSL_ESPIDF + +/* + * choose ONE of these Espressif chips to define: + * + * WOLFSSL_ESPWROOM32 + * WOLFSSL_ESPWROOM32SE + * WOLFSSL_ESP8266 + * + * comment out the others: + */ + #define WOLFSSL_ESPWROOM32 -/* Uncomment next line if using Espressif ESP32-WROOM-32SE */ -/* comment the above line #define WOLFSSL_ESPWROOM32 */ /* #define WOLFSSL_ESPWROOM32SE */ +/* #define WOLFSSL_ESP8266 */ + #define BENCH_EMBEDDED #define USE_CERT_BUFFERS_2048 diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 365c269a9..3871bba02 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -19,6 +19,27 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA */ +/* + * ************************************************************************ + * + * ******************************** NOTICE ******************************** + * + * ************************************************************************ + * + * This method of uncommenting a line in settings.h is outdated. + * + * Please use user_settings.h / WOLFSSL_USER_SETTINGS + * + * or + * + * ./configure CFLAGS="-DFLAG" + * + * For more information see: + * + * https://www.wolfssl.com/how-do-i-manage-the-build-configuration-of-wolfssl/ + * + */ + /* Place OS specific preprocessor flags, defines, includes here, will be included into every file because types.h includes it */ @@ -194,6 +215,11 @@ /* Uncomment next line if building for using Apache mynewt */ /* #define WOLFSSL_APACHE_MYNEWT */ +/* For Espressif chips see example user_settings.h + * + * https://github.com/wolfSSL/wolfssl/blob/master/IDE/Espressif/ESP-IDF/user_settings.h + */ + /* Uncomment next line if building for using ESP-IDF */ /* #define WOLFSSL_ESPIDF */ @@ -203,9 +229,6 @@ /* Uncomment next line if using Espressif ESP32-WROOM-32SE */ /* #define WOLFSSL_ESPWROOM32SE */ -/* Uncomment next line if using Espressif ESP8266 */ -/* #define WOLFSSL_ESP8266 */ - /* Uncomment next line if using ARM CRYPTOCELL*/ /* #define WOLFSSL_CRYPTOCELL */