Kinsey Moore started a new discussion on bsps/aarch64/raspberrypi/start/watchdog.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/120#note_110309 > +#include <bsp/raspberrypi.h> > +#include <bsp/watchdog.h> > + > +#define PM_WDOG BCM2835_REG(BCM2711_PM_WDOG) > +#define PM_RSTC BCM2835_REG(BCM2711_PM_RSTC) > + > +int raspberrypi_watchdog_timeout; > + > +void raspberrypi_watchdog_init() > +{ > + raspberrypi_watchdog_timeout = 0; > +} > + > +void raspberrypi_watchdog_start(unsigned int timeout) > +{ > + raspberrypi_watchdog_timeout = timeout; Are there any values of timeout which are invalid? The documentation claims that timeout is in seconds, but I would expect some kind of conversion to occur here or in the register write below. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/120#note_110309 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
