Skip to content

Commit b4cae2b

Browse files
committed
ArduinoBearSSLConfig: disable ECCX08 for UNO R4 WiFi build
1 parent 351f84c commit b4cae2b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/ArduinoBearSSLConfig.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
#define ARDUINO_BEARSSL_CONFIG_H_
2020

2121
/* Enabling this define allows the usage of ArduinoBearSSL without crypto chip. */
22-
//#define ARDUINO_DISABLE_ECCX08
22+
#if defined(ARDUINO_UNOR4_WIFI)
23+
#define ARDUINO_DISABLE_ECCX08
24+
#endif
2325

2426
/* Enable/Disable global instances*/
2527
#define ARDUINO_BEARSSL_DISABLE_AES128

src/tls/utility/SHA256.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#endif
3333

3434
#if defined(HAS_BEARSSL)
35+
#include <ArduinoBearSSLConfig.h>
3536
#include <ArduinoBearSSL.h>
3637
#include <bearssl/bearssl_hash.h>
3738
#else

0 commit comments

Comments
 (0)