Code: Select all
#include <EEPROM.h>
void setup() {
uint32_t val;
EEPROM.get(0 ,val);
}
void loop() {
}
Code: Select all
#0 WWDG_IRQHandler () at /build/framework-arduinoststm32/system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/startup_stm32l4r5xx.s:116
#1 <signal handler called>
#2 0x08003d02 in memcpy ()
#3 0x080036d2 in eeprom_buffer_fill () at /build/framework-arduinoststm32/libraries/SrcWrapper/src/stm32/stm32_eeprom.c:198
#4 0x080036e4 in eeprom_read_byte (pos=pos@entry=0) at /build/framework-arduinoststm32/libraries/SrcWrapper/src/stm32/stm32_eeprom.c:154
#5 0x08003a64 in EERef::operator* (this=<optimized out>) at /build/framework-arduinoststm32/libraries/EEPROM/src/EEPROM.h:159
#6 EERef::operator unsigned char (this=<optimized out>) at /build/framework-arduinoststm32/libraries/EEPROM/src/EEPROM.h:46
#7 EEPROMClass::get<unsigned long long> (t=@0x2009ffd0: 576534179064315910, idx=0, this=<optimized out>) at /build/framework-arduinoststm32/libraries/EEPROM/src/EEPROM.h:231
#8 setup () at src/main.cpp:37
#9 0x0800093a in main () at /build/framework-arduinoststm32/cores/arduino/main.cpp:52
#10 0x0800097a in Reset_Handler () at /build/framework-arduinoststm32/system/Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/gcc/startup_stm32l4r5xx.s:98