Skip to content

Commit 9780027

Browse files
committed
SHA256: UNO R4 WiFi enable ArduinoBearSSL inclusion
1 parent dd35588 commit 9780027

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: .github/workflows/compile-examples.yml

+2
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ jobs:
229229
platforms: |
230230
# Install renesas_uno platform via Boards Manager
231231
- name: arduino:renesas_uno
232+
libraries: |
233+
- name: ArduinoBearSSL
232234
# Nano ESP32
233235
- board:
234236
type: arduino_esp32

Diff for: src/tls/utility/SHA256.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323
******************************************************************************/
2424
#include <AIoTC_Config.h>
2525

26-
#if defined(BOARD_HAS_OFFLOADED_ECCX08) || defined(BOARD_HAS_ECCX08)
26+
#if defined(BOARD_HAS_OFFLOADED_ECCX08) || defined(BOARD_HAS_ECCX08) || defined(BOARD_HAS_SOFTSE)
2727
#define HAS_BEARSSL
2828
#else
2929
#define HAS_MBEDTLS
3030
#endif
3131

3232
#if defined(HAS_BEARSSL)
33+
#include <ArduinoBearSSL.h>
3334
#include <bearssl/bearssl_hash.h>
3435
#else
3536
#include <mbedtls/sha256.h>

0 commit comments

Comments
 (0)