File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3838#include " tls/utility/CryptoUtil.h"
3939#endif
4040
41- #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4)
41+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION)
4242# include " tls/utility/SHA256.h"
4343# include < stm32h7xx_hal_rtc_ex.h>
4444# include < WiFi.h>
5656 * EXTERN
5757 ******************************************************************************/
5858
59- #if defined(ARDUINO_PORTENTA_H7_M7)
59+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
6060extern RTC_HandleTypeDef RTCHandle;
6161#endif
6262
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ void mkr_nb_feed_watchdog()
9090static void mbed_watchdog_enable ()
9191{
9292 watchdog_config_t cfg;
93- #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4)
93+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION)
9494 cfg.timeout_ms = PORTENTA_H7_WATCHDOG_MAX_TIMEOUT_ms;
9595#elif defined(ARDUINO_NANO_RP2040_CONNECT)
9696 cfg.timeout_ms = NANO_RP2040_WATCHDOG_MAX_TIMEOUT_ms;
@@ -116,7 +116,7 @@ static void mbed_watchdog_reset()
116116void mbed_watchdog_trigger_reset ()
117117{
118118 watchdog_config_t cfg;
119- #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4)
119+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION)
120120 cfg.timeout_ms = 1 ;
121121#elif defined(ARDUINO_NANO_RP2040_CONNECT)
122122 cfg.timeout_ms = 1 ;
You can’t perform that action at this time.
0 commit comments