Skip to content

Commit

Permalink
samples/driver: watchdog: wwdg sample should run with west
Browse files Browse the repository at this point in the history
A different configuration is applied when running this test
using west or using twister.
Both will use the disco_l475_iot1 overlay, but the extra config
for clock bus tunning is applied only when using twister and
samples is failed when run with west.
Move this extra config from sample.yaml to board .conf file so
it is applied in both cases.

Fixes #32376

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information
erwango authored and github-actions[bot] committed Feb 19, 2021
1 parent af67c16 commit b7a8c13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions samples/drivers/watchdog/boards/disco_l475_iot1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_CLOCK_STM32_APB1_PRESCALER=16
2 changes: 0 additions & 2 deletions samples/drivers/watchdog/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ tests:
tags: drivers watchdog
filter: dt_compat_enabled("st,stm32-window-watchdog")
depends_on: watchdog
extra_configs:
- CONFIG_CLOCK_STM32_APB1_PRESCALER=16

0 comments on commit b7a8c13

Please sign in to comment.