-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Open
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresGood first issueGood for a first time contributor to takeGood for a first time contributor to takearea: StorageStorage subsystemStorage subsystemplatform: STM32ST Micro STM32ST Micro STM32
Description
Discussed in #55486
Originally posted by lmikl March 6, 2023
HI,
i would like used the bbram on a stm32f4 but i have a time an compilation error
I have configured an overlay for the board nucleo-f429zi :
/ {
aliases {
backup-register = &bbram;
};
};
&bbram {
status = "okay";
};
write this onfig in the prj.comf : CONFIG_BBRAM=y
and i have wrote this code to use it :
static const struct device *backup_reg = NULL;
int main(void)
{
backup_reg = DEVICE_DT_GET(DT_ALIAS(backup_register));
if(backup_reg == NULL){
LOG_INF("backup_reg device was not found");
}
else
LOG_INF("backup_reg found");
if (!device_is_ready(backup_reg)) {
LOG_INF("backup_reg not ready");
}
}
But i have all time this error : undefined reference to `__device_dts_ord_105'.
If someone can help me.
thanks in advance.
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresGood first issueGood for a first time contributor to takeGood for a first time contributor to takearea: StorageStorage subsystemStorage subsystemplatform: STM32ST Micro STM32ST Micro STM32