diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 85bb2af..977da96 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -84,6 +84,19 @@ jobs: - fqbn: arduino:mbed_edge:edge_control type: mbed_edge artifact-name-suffix: arduino-mbed_edge-edge_control + - fqbn: "rp2040:rp2040:rpipicow" + type: rp2040 + artifact-name-suffix: rp2040-rp2040-rpipicow + + # make board type-specific customizations to the matrix jobs + include: + # PicoW + - board: + type: rp2040 + platforms: | + # Install rp2040 platform via Boards Manager + - name: rp2040:rp2040 + source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json steps: - name: Checkout diff --git a/extras/test/src/time/test_TimedAttempt.cpp b/extras/test/src/time/test_TimedAttempt.cpp index 8009492..0a8fa71 100644 --- a/extras/test/src/time/test_TimedAttempt.cpp +++ b/extras/test/src/time/test_TimedAttempt.cpp @@ -14,7 +14,7 @@ #include #include -using namespace arduino::time; +using namespace arduino::tattempt; SCENARIO("Test broker connection retries") { TimedAttempt _connection_attempt(0,0); diff --git a/library.properties b/library.properties index 3fc5233..c2562c3 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Arduino_CloudUtils -version=1.0.0 +version=1.0.1 author=Arduino maintainer=Arduino sentence=Utility module for features related to ArduinoCloud and Cloud in general diff --git a/src/Arduino_TimedAttempt.h b/src/Arduino_TimedAttempt.h index 6512dc1..eaa359f 100644 --- a/src/Arduino_TimedAttempt.h +++ b/src/Arduino_TimedAttempt.h @@ -11,4 +11,4 @@ #include "./time/TimedAttempt.h" -using namespace arduino::time; +using namespace arduino::tattempt; diff --git a/src/time/TimedAttempt.cpp b/src/time/TimedAttempt.cpp index 4a0eee8..2d72fda 100644 --- a/src/time/TimedAttempt.cpp +++ b/src/time/TimedAttempt.cpp @@ -12,7 +12,7 @@ #include #include "TimedAttempt.h" -namespace arduino { namespace time { +namespace arduino { namespace tattempt { TimedAttempt::TimedAttempt(unsigned long minDelay, unsigned long maxDelay) : _minDelay(minDelay) @@ -75,4 +75,4 @@ namespace arduino { namespace time { return _retryDelay; } -}} // arduino::time +}} // arduino::tattempt diff --git a/src/time/TimedAttempt.h b/src/time/TimedAttempt.h index 523733d..c5d67de 100644 --- a/src/time/TimedAttempt.h +++ b/src/time/TimedAttempt.h @@ -10,7 +10,7 @@ #pragma once -namespace arduino { namespace time { +namespace arduino { namespace tattempt { /** * The TimedAttempt class manages retry attempts with configurable delays. @@ -97,4 +97,4 @@ namespace arduino { namespace time { unsigned int _retryCount; }; -}} // arduino::time +}} // arduino::tattempt