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 38
38
#include " tls/utility/CryptoUtil.h"
39
39
#endif
40
40
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)
42
42
# include " tls/utility/SHA256.h"
43
43
# include < stm32h7xx_hal_rtc_ex.h>
44
44
# include < WiFi.h>
56
56
* EXTERN
57
57
******************************************************************************/
58
58
59
- #if defined(ARDUINO_PORTENTA_H7_M7)
59
+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
60
60
extern RTC_HandleTypeDef RTCHandle;
61
61
#endif
62
62
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ void mkr_nb_feed_watchdog()
90
90
static void mbed_watchdog_enable ()
91
91
{
92
92
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)
94
94
cfg.timeout_ms = PORTENTA_H7_WATCHDOG_MAX_TIMEOUT_ms;
95
95
#elif defined(ARDUINO_NANO_RP2040_CONNECT)
96
96
cfg.timeout_ms = NANO_RP2040_WATCHDOG_MAX_TIMEOUT_ms;
@@ -116,7 +116,7 @@ static void mbed_watchdog_reset()
116
116
void mbed_watchdog_trigger_reset ()
117
117
{
118
118
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)
120
120
cfg.timeout_ms = 1 ;
121
121
#elif defined(ARDUINO_NANO_RP2040_CONNECT)
122
122
cfg.timeout_ms = 1 ;
You can’t perform that action at this time.
0 commit comments