Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b1fa82b

Browse files
committedApr 4, 2025·
Move BEAR_SSL_CLIENT_IBUF_SIZE inside ArduinoBearSSLConfig.h
1 parent 78bff5d commit b1fa82b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
 

‎src/AIoTC_Config.h

-5
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@
122122
#define HAS_TCP
123123
#endif
124124

125-
#if defined(ARDUINO_NANO_RP2040_CONNECT)
126-
#define BEAR_SSL_CLIENT_IBUF_SIZE (16384 + 325) // Allows download from storage API
127-
#endif
128-
129125
#if defined(ARDUINO_EDGE_CONTROL)
130126
#define BOARD_HAS_SECRET_KEY
131127
#define HAS_TCP
@@ -149,7 +145,6 @@
149145
#endif // HAS_NOTECARD
150146

151147
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_OPTA) || defined(ARDUINO_GIGA)
152-
#define BEAR_SSL_CLIENT_IBUF_SIZE (16384 + 325) // Allows download from storage API
153148
#define BOARD_STM32H7
154149
#endif
155150

‎src/ArduinoBearSSLConfig.h

+6
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@
3838

3939
#define BEAR_SSL_CLIENT_CHAIN_SIZE 1
4040

41+
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_OPTA) ||\
42+
defined(ARDUINO_GIGA) || defined(ARDUINO_NANO_RP2040_CONNECT)
43+
/* Allows download from OTA storage API */
44+
#define BEAR_SSL_CLIENT_IBUF_SIZE (16384 + 325)
45+
#endif
46+
4147
#endif /* ARDUINO_BEARSSL_CONFIG_H_ */

0 commit comments

Comments
 (0)
Please sign in to comment.