From d54c550ba90031a208f00c1df4873f93c1c5da4a Mon Sep 17 00:00:00 2001 From: Etienne Carriere Date: Thu, 26 Jun 2025 09:43:51 +0200 Subject: [PATCH] soc: st: stm32wbax: refcount backup domain accesses requests Add LINKLAYER_PLAT_EnableBackupDomainAccess() and LINKLAYER_PLAT_DisableBackupDomainAccess() to use Zephyr resources that use a reference counter for access requests, for enabling and disabling access the BackupDomain resources. Bump hal_stm32 module to the revision integrating related stm32wba BLE updates. Signed-off-by: Etienne Carriere --- soc/st/stm32/stm32wbax/hci_if/linklayer_plat_adapt.c | 12 ++++++++++++ west.yml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/soc/st/stm32/stm32wbax/hci_if/linklayer_plat_adapt.c b/soc/st/stm32/stm32wbax/hci_if/linklayer_plat_adapt.c index a5d06d591eb..fd6cdfb6f79 100644 --- a/soc/st/stm32/stm32wbax/hci_if/linklayer_plat_adapt.c +++ b/soc/st/stm32/stm32wbax/hci_if/linklayer_plat_adapt.c @@ -8,6 +8,8 @@ #include #include +#include + #include "scm.h" #define LOG_LEVEL CONFIG_SOC_LOG_LEVEL @@ -288,3 +290,13 @@ void LINKLAYER_PLAT_DisableOSContextSwitch(void) * A sequence of radio ISRs will appear in the next few milli seconds. **/ } + +void LINKLAYER_PLAT_EnableBackupDomainAccess(void) +{ + stm32_backup_domain_enable_access(); +} + +void LINKLAYER_PLAT_DisableBackupDomainAccess(void) +{ + stm32_backup_domain_disable_access(); +} diff --git a/west.yml b/west.yml index 70c1e8a0cf6..cd3c0dd0f0f 100644 --- a/west.yml +++ b/west.yml @@ -245,7 +245,7 @@ manifest: groups: - hal - name: hal_stm32 - revision: 2aa79063bfe82c967bf1aa8f1995f04f6dc352db + revision: 55b5d9a04432e57df3e63dcb83c78bb09f038da8 path: modules/hal/stm32 groups: - hal