Skip to content

Commit e25750a

Browse files
committed
SHA256: UNO R4 WiFi enable ArduinoBearSSL inclusion
1 parent f73cb57 commit e25750a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/compile-examples.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,7 @@ jobs:
250250
# Install renesas_uno platform via Boards Manager
251251
- name: arduino:renesas_uno
252252
libraries: |
253-
- name: Blues Wireless Notecard
254-
sketch-paths: |
255-
- examples/ArduinoIoTCloud-Notecard
253+
- name: ArduinoBearSSL
256254
# Nano ESP32
257255
- board:
258256
type: arduino_esp32

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)