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

Alexandre Abadie notifications at github.com
Wed May 15 09:36:50 CEST 2019


aabadie 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":

I think it's a good idea :) These values could be asserted as well when configuring the watchdog.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11252#discussion_r284121619
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190515/beebcf99/attachment.html>


More information about the notifications mailing list