diff --git a/lib/stm32/l1/libopencm3_stm32l1.ld b/lib/stm32/l1/libopencm3_stm32l1.ld index 3fc2ccb6..b0032e56 100644 --- a/lib/stm32/l1/libopencm3_stm32l1.ld +++ b/lib/stm32/l1/libopencm3_stm32l1.ld @@ -92,6 +92,11 @@ SECTIONS _ebss = .; } >ram + .eeprom (NOLOAD) : { + . = ALIGN(4); + *(.eeprom*) + } >eep + /* * The .eh_frame section appears to be used for C++ exception handling. * You may need to fix this if you're using C++.