diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 0331c0302..25e4c90d7 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -50,8 +50,6 @@ jobs: type: gsm - fqbn: arduino:samd:mkrnb1500 type: nb - - fqbn: arduino:mbed:envie_m4 - type: mbed - fqbn: arduino:mbed:envie_m7 type: mbed - fqbn: esp8266:esp8266:huzzah diff --git a/src/AIoTC_Config.h b/src/AIoTC_Config.h index 5ec857ca3..af76df907 100644 --- a/src/AIoTC_Config.h +++ b/src/AIoTC_Config.h @@ -116,7 +116,7 @@ #if defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKR1000) || \ defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_PORTENTA_H7_M7) || \ - defined(ARDUINO_PORTENTA_H7_M4) || defined (ARDUINO_NANO_RP2040_CONNECT) + defined (ARDUINO_NANO_RP2040_CONNECT) #define BOARD_HAS_ECCX08 #define HAS_TCP #endif diff --git a/src/ArduinoIoTCloudTCP.cpp b/src/ArduinoIoTCloudTCP.cpp index 95c05d62c..4d08e4a36 100644 --- a/src/ArduinoIoTCloudTCP.cpp +++ b/src/ArduinoIoTCloudTCP.cpp @@ -38,7 +38,7 @@ #include "tls/utility/CryptoUtil.h" #endif -#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION) +#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) # include "tls/utility/SHA256.h" # include # include @@ -826,7 +826,7 @@ void ArduinoIoTCloudTCP::onOTARequest() _ota_error = rp2040_connect_onOTARequest(_ota_url.c_str()); #endif -#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION) +#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) _ota_error = portenta_h7_onOTARequest(_ota_url.c_str()); #endif } diff --git a/src/utility/ota/OTA-portenta-h7.cpp b/src/utility/ota/OTA-portenta-h7.cpp index 664043ae5..cb8358290 100644 --- a/src/utility/ota/OTA-portenta-h7.cpp +++ b/src/utility/ota/OTA-portenta-h7.cpp @@ -15,7 +15,7 @@ a commercial license, send an email to license@arduino.cc. */ -#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION) +#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) /****************************************************************************** * INCLUDE @@ -87,4 +87,4 @@ int portenta_h7_onOTARequest(char const * ota_url) NVIC_SystemReset(); } -#endif /* defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION) */ +#endif /* defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) */ diff --git a/src/utility/ota/OTA.h b/src/utility/ota/OTA.h index 405f18430..d5364242a 100644 --- a/src/utility/ota/OTA.h +++ b/src/utility/ota/OTA.h @@ -62,7 +62,7 @@ int samd_onOTARequest(char const * ota_url); int rp2040_connect_onOTARequest(char const * ota_url); #endif -#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION) +#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) int portenta_h7_onOTARequest(char const * ota_url); #endif diff --git a/src/utility/watchdog/Watchdog.cpp b/src/utility/watchdog/Watchdog.cpp index 21d93a395..8e91b1ecd 100644 --- a/src/utility/watchdog/Watchdog.cpp +++ b/src/utility/watchdog/Watchdog.cpp @@ -90,7 +90,7 @@ void mkr_nb_feed_watchdog() static void mbed_watchdog_enable() { watchdog_config_t cfg; -#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION) +#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) cfg.timeout_ms = PORTENTA_H7_WATCHDOG_MAX_TIMEOUT_ms; #elif defined(ARDUINO_NANO_RP2040_CONNECT) cfg.timeout_ms = NANO_RP2040_WATCHDOG_MAX_TIMEOUT_ms; @@ -116,7 +116,7 @@ static void mbed_watchdog_reset() void mbed_watchdog_trigger_reset() { watchdog_config_t cfg; -#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION) +#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) cfg.timeout_ms = 1; #elif defined(ARDUINO_NANO_RP2040_CONNECT) cfg.timeout_ms = 1;