From 843660dbfdb1c2c3e8f7a42b2a302747814a6168 Mon Sep 17 00:00:00 2001 From: chrysn Date: Fri, 19 Oct 2012 14:59:01 +0200 Subject: copied over linker scripts this will need some generalization too... --- lib/efm32/efm32tg/EFM32TG840F32.ld | 15 --------------- lib/efm32/efm32tg/libopencm3_efm32tg840f32.ld | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 lib/efm32/efm32tg/EFM32TG840F32.ld create mode 100644 lib/efm32/efm32tg/libopencm3_efm32tg840f32.ld (limited to 'lib/efm32/efm32tg') diff --git a/lib/efm32/efm32tg/EFM32TG840F32.ld b/lib/efm32/efm32tg/EFM32TG840F32.ld deleted file mode 100644 index f7baa90..0000000 --- a/lib/efm32/efm32tg/EFM32TG840F32.ld +++ /dev/null @@ -1,15 +0,0 @@ -/* lengths from d011_efm32tg840_datasheet.pdf table 1.1, offset from - * d0034_efm32tg_reference_manual.pdf figure 5.2. - * - * the origins and memory structure are constant over all tinygeckos, but the - * MEMORY section requires the use of constants, and has thus to be duplicated - * over the chip variants. - * */ - -MEMORY -{ - rom (rx) : ORIGIN = 0, LENGTH = 32k - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4k -} - -INCLUDE tinygecko.ld; diff --git a/lib/efm32/efm32tg/libopencm3_efm32tg840f32.ld b/lib/efm32/efm32tg/libopencm3_efm32tg840f32.ld new file mode 100644 index 0000000..2cb8daf --- /dev/null +++ b/lib/efm32/efm32tg/libopencm3_efm32tg840f32.ld @@ -0,0 +1,15 @@ +/* lengths from d011_efm32tg840_datasheet.pdf table 1.1, offset from + * d0034_efm32tg_reference_manual.pdf figure 5.2. + * + * the origins and memory structure are constant over all tinygeckos, but the + * MEMORY section requires the use of constants, and has thus to be duplicated + * over the chip variants. + * */ + +MEMORY +{ + rom (rx) : ORIGIN = 0, LENGTH = 32k + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4k +} + +INCLUDE libopencm3_efm32tg.ld; -- cgit v1.2.3