📄 readme
字号:
Testsuite for watchdog component. It currently shows three behaviors:1. watchdog being properly activated, and reset periodically. Themote logically stays running. The behavior on the leds should be asfollows: red and green led come on, after 2 seconds green goes off.The red led stays on forever or until power outage or program crash(which should not happen). This is the default build mode.2. watchdog properly activated, but not reset by the application.This is done by having the application reset the Watchdog from a oneshot timer that, you guessed it, fires only once. The behavior shouldbe as follows: red and green LEDs come on, after 2 seconds green goesoff, and another 2.5 seconds later the mote resets. This mode isenabled through WDTTEST=1 make mica2 install3. In principle the watchdo should get petted: the timer is repeated,etc. Unfortunately, there is a task that runs in an infinite loop;that task is prohobiting the system to execute more tasks andultimately overflows the task queue. Additionally, tasks like Thewatchdog petting timer are blocked. Guess what : this app needs to bekilled. The observed behavior should be as follows: red and green ledcome on, after 2 seconds green goes off, and almost immediatelyafterwards the yellow light goes on. 2.5 seconds later the moteresets and the process starts all over again. To enable this mode,build withWDTTEST=2 make mica2 install
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -