diff --git a/ld/linker.ld.S b/ld/linker.ld.S index e81ccc0c..51cdacd5 100644 --- a/ld/linker.ld.S +++ b/ld/linker.ld.S @@ -130,13 +130,6 @@ SECTIONS _ebss = .; } >ram -#if defined(_EEP) - .eep : { - *(.eeprom*) - . = ALIGN(4); - } >eep -#endif - #if defined(_CCM) .ccm : { *(.ccmram*) diff --git a/lib/stm32/l1/libopencm3_stm32l1.ld b/lib/stm32/l1/libopencm3_stm32l1.ld index b0032e56..3fc2ccb6 100644 --- a/lib/stm32/l1/libopencm3_stm32l1.ld +++ b/lib/stm32/l1/libopencm3_stm32l1.ld @@ -92,11 +92,6 @@ 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++.