tests: watchdog: enable wwdg for nucleo_g431rb and nucleo_f091rc
The stm32 wwdg driver was currently tested only on disco_l475_iot1. Additionally add nucleo_f091rc, such that one board with an CM0 core is tested. And add nucleo_g431rb, that one board is included that has newer register mapping and a 128 prescaler. Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
parent
980fb6c0df
commit
ef021c7b1f
6 changed files with 54 additions and 0 deletions
|
@ -20,3 +20,4 @@ supported:
|
|||
- counter
|
||||
- spi
|
||||
- dac
|
||||
- watchdog
|
||||
|
|
1
samples/drivers/watchdog/boards/nucleo_f091rc.conf
Normal file
1
samples/drivers/watchdog/boards/nucleo_f091rc.conf
Normal file
|
@ -0,0 +1 @@
|
|||
CONFIG_CLOCK_STM32_APB1_PRESCALER=4
|
13
samples/drivers/watchdog/boards/nucleo_f091rc.overlay
Normal file
13
samples/drivers/watchdog/boards/nucleo_f091rc.overlay
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2021 Thomas Stranger
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&wwdg {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&iwdg {
|
||||
status = "disabled";
|
||||
};
|
13
samples/drivers/watchdog/boards/nucleo_g431rb.overlay
Normal file
13
samples/drivers/watchdog/boards/nucleo_g431rb.overlay
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2021 Thomas Stranger
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&wwdg {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&iwdg {
|
||||
status = "disabled";
|
||||
};
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2021 Thomas Stranger
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&wwdg {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&iwdg {
|
||||
status = "disabled";
|
||||
};
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2021 Thomas Stranger
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&wwdg {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&iwdg {
|
||||
status = "disabled";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue