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 <etienne.carriere@foss.st.com>
This commit is contained in:
Etienne Carriere 2025-06-26 09:43:51 +02:00 committed by Benjamin Cabé
parent 4bce536cc6
commit d54c550ba9
2 changed files with 13 additions and 1 deletions

View File

@ -8,6 +8,8 @@
#include <zephyr/drivers/entropy.h>
#include <zephyr/logging/log.h>
#include <stm32_backup_domain.h>
#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();
}

View File

@ -245,7 +245,7 @@ manifest:
groups:
- hal
- name: hal_stm32
revision: 2aa79063bfe82c967bf1aa8f1995f04f6dc352db
revision: 55b5d9a04432e57df3e63dcb83c78bb09f038da8
path: modules/hal/stm32
groups:
- hal