File tree Expand file tree Collapse file tree 6 files changed +8
-10
lines changed Expand file tree Collapse file tree 6 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 5050 type : gsm
5151 - fqbn : arduino:samd:mkrnb1500
5252 type : nb
53- - fqbn : arduino:mbed:envie_m4
54- type : mbed
5553 - fqbn : arduino:mbed:envie_m7
5654 type : mbed
5755 - fqbn : esp8266:esp8266:huzzah
Original file line number Diff line number Diff line change 116116
117117#if defined(ARDUINO_SAMD_MKRGSM1400 ) || defined(ARDUINO_SAMD_MKR1000 ) || \
118118 defined(ARDUINO_SAMD_MKRNB1500 ) || defined(ARDUINO_PORTENTA_H7_M7 ) || \
119- defined( ARDUINO_PORTENTA_H7_M4 ) || defined (ARDUINO_NANO_RP2040_CONNECT )
119+ defined (ARDUINO_NANO_RP2040_CONNECT )
120120 #define BOARD_HAS_ECCX08
121121 #define HAS_TCP
122122#endif
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) || defined( ARDUINO_NICLA_VISION)
41+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
4242# include " tls/utility/SHA256.h"
4343# include < stm32h7xx_hal_rtc_ex.h>
4444# include < WiFi.h>
@@ -826,7 +826,7 @@ void ArduinoIoTCloudTCP::onOTARequest()
826826 _ota_error = rp2040_connect_onOTARequest (_ota_url.c_str ());
827827#endif
828828
829- #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined( ARDUINO_NICLA_VISION)
829+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
830830 _ota_error = portenta_h7_onOTARequest (_ota_url.c_str ());
831831#endif
832832}
Original file line number Diff line number Diff line change 1515 a commercial license, send an email to license@arduino.cc.
1616*/
1717
18- #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined( ARDUINO_NICLA_VISION)
18+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
1919
2020/* *****************************************************************************
2121 * INCLUDE
@@ -87,4 +87,4 @@ int portenta_h7_onOTARequest(char const * ota_url)
8787 NVIC_SystemReset ();
8888}
8989
90- #endif /* defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined( ARDUINO_NICLA_VISION) */
90+ #endif /* defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) */
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ int samd_onOTARequest(char const * ota_url);
6262int rp2040_connect_onOTARequest (char const * ota_url );
6363#endif
6464
65- #if defined(ARDUINO_PORTENTA_H7_M7 ) || defined(ARDUINO_PORTENTA_H7_M4 ) || defined( ARDUINO_NICLA_VISION )
65+ #if defined(ARDUINO_PORTENTA_H7_M7 ) || defined(ARDUINO_NICLA_VISION )
6666int portenta_h7_onOTARequest (char const * ota_url );
6767#endif
6868
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) || defined( ARDUINO_NICLA_VISION)
93+ #if defined(ARDUINO_PORTENTA_H7_M7) || 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) || defined( ARDUINO_NICLA_VISION)
119+ #if defined(ARDUINO_PORTENTA_H7_M7) || 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