Skip to content

Commit 6f366bc

Browse files
committed
BearSLL: increase input buffer size to allow file downloading
1 parent 1a21ea3 commit 6f366bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/AIoTC_Config.h

+5
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,14 @@
115115
#endif
116116

117117
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_OPTA) || defined(ARDUINO_GIGA)
118+
#define BEAR_SSL_CLIENT_IBUF_SIZE (16384 + 325) // Allows download from storage API
118119
#define BOARD_STM32H7
119120
#endif
120121

122+
#if defined(ARDUINO_NANO_RP2040_CONNECT)
123+
#define BEAR_SSL_CLIENT_IBUF_SIZE (16384 + 325) // Allows download from storage API
124+
#endif
125+
121126
#if defined(ARDUINO_EDGE_CONTROL)
122127
#define BOARD_HAS_SECRET_KEY
123128
#define HAS_TCP

0 commit comments

Comments
 (0)