Skip to content

Commit

Permalink
tests/ports/psoc6/../timer.py: Added workaround for BLE-063 board.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx committed Oct 10, 2024
1 parent 216e80d commit e993c5f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/ports/psoc6/board_only_hw/single/timer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from machine import Timer
import time

Expand Down Expand Up @@ -76,3 +77,10 @@ def test_multiple_timers():
test_periodic()
print("*****Multiple Timers Execution*****")
test_multiple_timers()

# TODO: Timer tests need to be refined.
# The current implementation is not reliable.
# After this tests CY8CPROTO-063-BLE board is not able to the subsequent test.
# Occasionally, the other board also fail.
# This workaround works for now.
time.sleep(5)

0 comments on commit e993c5f

Please sign in to comment.