Skip to content

Commit 1d2a275

Browse files
duda-patrykstephanosio
authored andcommitted
tests: drivers: bbram: Test BBRAM on STM32 devices
This patch makes possible to check if STM32 boards compile with BBRAM support enabled. Signed-off-by: Patryk Duda <[email protected]>
1 parent 82d26da commit 1d2a275

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/drivers/bbram/stm32.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright 2022 Google LLC
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_ZTEST=y
5+
CONFIG_ZTEST_NEW_API=y
6+
CONFIG_COUNTER=y
7+
CONFIG_BBRAM=y

tests/drivers/bbram/testcase.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ tests:
1313
drivers.bbram.npcx:
1414
extra_args: CONF_FILE="npcx.conf"
1515
filter: dt_compat_enabled("nuvoton,npcx-bbram")
16+
drivers.bbram.stm32:
17+
extra_args: CONF_FILE="stm32.conf"
18+
filter: dt_compat_enabled("st,stm32-bbram")

0 commit comments

Comments
 (0)