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:
parent
4bce536cc6
commit
d54c550ba9
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user