Install the ld script upon 'make install'.
This commit is contained in:
parent
50ba77bea9
commit
428e328b7e
2
Makefile
2
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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user