mirror of https://github.com/ARMmbed/mbed-os.git
RTC test readline timeout increased to 10 seconds. Reason: RTC test is fail on Nucleo boards which don’t have the LSE xtal. This is because there is a timeout in the code of several seconds to wait until the LSE clock has startup.
parent
7e5dfeef32
commit
945604e16e
|
@ -29,7 +29,8 @@ class RTCTest(DefaultTest):
|
||||||
start = time()
|
start = time()
|
||||||
sec_prev = 0
|
sec_prev = 0
|
||||||
for i in range(0, 5):
|
for i in range(0, 5):
|
||||||
c = self.mbed.serial_readline()
|
# Timeout changed from default: we need to wait longer for some boards to start-up
|
||||||
|
c = self.mbed.serial_readline(timeout=10)
|
||||||
if c is None:
|
if c is None:
|
||||||
self.print_result("ioerr_serial")
|
self.print_result("ioerr_serial")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue