[riot-notifications] [RIOT-OS/RIOT] cpu/stm32_common: add watchdog for stm32 (#11252)

Francisco notifications at github.com
Tue May 14 19:07:07 CEST 2019

fjmolinas commented on this pull request.

> +
+def get_start_time(child):
+    child.readline()
+    child.readline()
+    line = child.readline().strip().split("json:")
+    start_time = json.loads(line[1])
+    return start_time['starttime']
+def testfunc(child):
+    for rst_time in reset_times_us:
+        child.sendline("setup 0 {}".format(rst_time))
+        child.expect_exact("[wdg]: - ")
+        child.expect_exact(" -")
+        if child.before != "invalid configuration time":

Invalid configuration time will be different depending on each individual wdg.

I could move IWDG_MIN_TIME_US and IWDG_MAX_TIME_US to periph_cpu_common.h and therefore define invalid ranges from capturing so define values on start up. What do you think?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190514/cfe4286a/attachment-0001.html>

More information about the notifications mailing list