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 eeef570 commit 46a1647
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.
board = os.uname().machine
if "CY8CPROTO-063-BLE" in board:
time.sleep(3)

0 comments on commit 46a1647

Please sign in to comment.