SpaceTeam / STS1_COBC_SW

Software for the communication and onboard computer (COBC) of SpaceTeamSat1 (STS1)
MIT License
10 stars 2 forks source link

Add versions of HW tests that feed the watchdog #288

Closed PatrickKa closed 6 months ago

PatrickKa commented 6 months ago

Description

The HW tests for flash, FRAM, RF, and UART need versions where the watchdog timer is periodically cleared so that they still work when the external watchdog is assembled and used. This can easily be done since we already have a thread that does that in WatchdogClear.test.cpp. Therefore, all we need to do is increase that thread's priority and then create new CMake targets with two sources: the "normal" HW test files and WatchdogClear.test.cpp. These targets should be named like the current HW tests but with the suffix WithWatchdog.