Skip to content

Commit 9523307

Browse files
rajkan01Filip Jagodzinski
authored andcommitted
Bare metal:Enabling the watchdog green tea test
1 parent 5a0fafd commit 9523307

File tree

4 files changed

+1
-22
lines changed

4 files changed

+1
-22
lines changed

TESTS/mbed_drivers/watchdog/main.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
18-
#if !defined(MBED_CONF_RTOS_PRESENT)
19-
#error [NOT_SUPPORTED] Watchdog test cases require a RTOS to run.
20-
#else
21-
2217
#if !DEVICE_WATCHDOG
2318
#error [NOT_SUPPORTED] Watchdog not supported for this target
2419
#else
@@ -275,4 +270,3 @@ int main()
275270
}
276271

277272
#endif // !DEVICE_WATCHDOG
278-
#endif // !defined(MBED_CONG_RTOS_PRESENT)

TESTS/mbed_drivers/watchdog_reset/main.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
#if !defined(MBED_CONF_RTOS_PRESENT)
18-
#error [NOT_SUPPORTED] Watchdog reset test cases require a RTOS to run.
19-
#else
20-
2117
#if !DEVICE_WATCHDOG
2218
#error [NOT_SUPPORTED] Watchdog not supported for this target
2319
#else
@@ -342,4 +338,3 @@ int main()
342338
return !Harness::run(specification);
343339
}
344340
#endif // !DEVICE_WATCHDOG
345-
#endif // !defined(MBED_CONF_RTOS_PRESENT)

TESTS/mbed_hal/watchdog/main.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
#if !defined(MBED_CONF_RTOS_PRESENT)
18-
#error [NOT_SUPPORTED] Watchdog test cases require a RTOS to run.
19-
#else
20-
2117
#if !DEVICE_WATCHDOG
2218
#error [NOT_SUPPORTED] Watchdog not supported for this target
2319
#else
@@ -274,5 +270,4 @@ int main()
274270
return !Harness::run(specification);
275271
}
276272

277-
#endif // !DEVICE_WATCHDOG
278-
#endif // !defined(MBED_CONF_RTOS_PRESENT)
273+
#endif // !DEVICE_WATCHDOG

TESTS/mbed_hal/watchdog_reset/main.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
#if !MBED_CONF_RTOS_PRESENT
18-
#error [NOT_SUPPORTED] Watchdog reset test cases require a RTOS to run.
19-
#else
20-
2117
#if !DEVICE_WATCHDOG
2218
#error [NOT_SUPPORTED] Watchdog not supported for this target
2319
#else
@@ -329,4 +325,3 @@ int main()
329325
}
330326

331327
#endif // !DEVICE_WATCHDOG
332-
#endif // !MBED_CONF_RTOS_PRESENT

0 commit comments

Comments
 (0)