diff --git a/Makefile b/Makefile index 2e1a1704..18dcc766 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,8 @@ install: build $(Q)$(INSTALL) -m 0644 include/libopenstm32/*.h $(INCDIR)/libopenstm32 @printf " INSTALL lib\n" $(Q)$(INSTALL) -m 0644 lib/*.a $(LIBDIR) + @printf " INSTALL ldscript\n" + $(Q)$(INSTALL) -m 0644 lib/*.ld $(LIBDIR) clean: $(Q)$(MAKE) -C examples clean diff --git a/lib/libopenstm32.ld b/lib/libopenstm32.ld index 2d819a70..5f5e398a 100644 --- a/lib/libopenstm32.ld +++ b/lib/libopenstm32.ld @@ -20,6 +20,7 @@ /* Linker script for Olimex STM32-H103 (STM32F103RBT6, 128K flash, 20K RAM). */ /* Define memory regions. */ +/* TODO: Make this overridable by the application code, it's MCU specific. */ MEMORY { rom (rx) : ORIGIN = 0x00000000, LENGTH = 128K