tiacsys / bridle

Bridle and kite line for embedded systems based on Zephyr.
https://bridle.tiac-systems.net
Apache License 2.0
15 stars 3 forks source link

[BUG] magpie_f777ni: wdt_basic_api/drivers.watchdog.stm32wwdg FAILED #229

Closed rexut closed 5 months ago

rexut commented 5 months ago

Describe the bug

The basic clock setup from board TiaC Magpie F777NI with HCLK of 216MHz doesn't match the needs for the Window Watchdog basic API test. The test will match the standard timeout count for 200000 us, but reatch only 155344 us.

To Reproduce Steps to reproduce the behavior:

  1. properly configured Bridle workspace
  2. within:
    west twister --verbose --inline-logs \
                --device-testing --hardware-map map.yaml \
                --alt-config-root bridle/zephyr/alt-config \
                --testsuite-root zephyr/tests \
                --test tests/drivers/watchdog/wdt_basic_api/drivers.watchdog.stm32wwdg
  3. See error

Expected behavior

Successfully test running on STM32 iWDG and wWDG instances.

Impact

Showstopper, because the CI pipeline ist broken since https://github.com/zephyrproject-rtos/zephyr/commit/ccedcd1ac04c8e6436b764a6f411e4590ee35e5d

Logs and console output

===================================================================
START - test_wdt
Testcase: test_wdt_no_callback
D: prescaler: 8
D: Desired WDT: 200000 us
D: Set WDT:     155344 us
Watchdog install error
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/watchdog/wdt_basic_api/src/test_wdt.c:387: wdt_basic_test_suite_test_wdt: test_wdt_no_callback() == TC_PASS is false
FAIL - test_wdt in 0.027 seconds
===================================================================

Screenshots

Non. Development Environment (please complete the following information):

Additional context

Non.