diff --git a/wolfcrypt/src/random.c b/wolfcrypt/src/random.c index fbd91d468..20826e3e1 100644 --- a/wolfcrypt/src/random.c +++ b/wolfcrypt/src/random.c @@ -2455,7 +2455,7 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz) } #elif defined(WOLFSSL_ESPIDF) - #if defined(WOLFSSL_ESPWROOM32) || defined(WOLFSSL_ESPWROOM32SE) + #if defined(WOLFSSL_ESPWROOM32) || defined(WOLFSSL_ESPWROOM32SE) || defined(WOLFSSL_ESP8266) #include int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 8d4ca1e71..365c269a9 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -203,6 +203,9 @@ /* 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 */