mirror of https://github.com/rusefi/ChibiOS.git
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5527 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
356fb1a2a0
commit
8813e1654c
|
@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
|
|||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in VLE mode.
|
||||
ifeq ($(USE_VLE),)
|
||||
USE_VLE = yes
|
||||
|
|
|
@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
|
|||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in VLE mode.
|
||||
ifeq ($(USE_VLE),)
|
||||
USE_VLE = yes
|
||||
|
|
|
@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
|
|||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in VLE mode.
|
||||
ifeq ($(USE_VLE),)
|
||||
USE_VLE = yes
|
||||
|
|
|
@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
|
|||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in VLE mode.
|
||||
ifeq ($(USE_VLE),)
|
||||
USE_VLE = yes
|
||||
|
|
|
@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
|
|||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in VLE mode.
|
||||
ifeq ($(USE_VLE),)
|
||||
USE_VLE = yes
|
||||
|
|
|
@ -31,9 +31,12 @@
|
|||
/* BAM record.*/
|
||||
.section .bam, "ax"
|
||||
.long 0x015A0000
|
||||
.long .init
|
||||
.long _reset_address
|
||||
|
||||
.init:
|
||||
.align 2
|
||||
.globl _reset_address
|
||||
.type _reset_address, @function
|
||||
_reset_address:
|
||||
bl _coreinit
|
||||
bl _ivinit
|
||||
|
||||
|
|
|
@ -31,6 +31,8 @@ MEMORY
|
|||
ram : org = 0x40000000, len = 28k
|
||||
}
|
||||
|
||||
ENTRY(_reset_address)
|
||||
|
||||
/*
|
||||
* Derived constants.
|
||||
*/
|
||||
|
|
|
@ -31,6 +31,8 @@ MEMORY
|
|||
ram : org = 0x40000000, len = 32k
|
||||
}
|
||||
|
||||
ENTRY(_reset_address)
|
||||
|
||||
/*
|
||||
* Derived constants.
|
||||
*/
|
||||
|
|
|
@ -31,9 +31,12 @@
|
|||
/* BAM record.*/
|
||||
.section .bam, "ax"
|
||||
.long 0x015A0000
|
||||
.long .init
|
||||
.long _reset_address
|
||||
|
||||
.init:
|
||||
.align 2
|
||||
.globl _reset_address
|
||||
.type _reset_address, @function
|
||||
_reset_address:
|
||||
bl _coreinit
|
||||
bl _ivinit
|
||||
|
||||
|
|
|
@ -31,6 +31,8 @@ MEMORY
|
|||
ram : org = 0x40000000, len = 36k
|
||||
}
|
||||
|
||||
ENTRY(_reset_address)
|
||||
|
||||
/*
|
||||
* Derived constants.
|
||||
*/
|
||||
|
|
|
@ -31,6 +31,8 @@ MEMORY
|
|||
ram : org = 0x40000000, len = 40k
|
||||
}
|
||||
|
||||
ENTRY(_reset_address)
|
||||
|
||||
/*
|
||||
* Derived constants.
|
||||
*/
|
||||
|
|
|
@ -35,9 +35,12 @@
|
|||
#else
|
||||
.long 0x005A0000
|
||||
#endif
|
||||
.long .init
|
||||
.long _reset_address
|
||||
|
||||
.init:
|
||||
.align 2
|
||||
.globl _reset_address
|
||||
.type _reset_address, @function
|
||||
_reset_address:
|
||||
bl _coreinit
|
||||
bl _ivinit
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@ MEMORY
|
|||
ram : org = 0x40000000, len = 94k
|
||||
}
|
||||
|
||||
ENTRY(_reset_address)
|
||||
|
||||
/*
|
||||
* Derived constants.
|
||||
*/
|
||||
|
|
|
@ -35,9 +35,12 @@
|
|||
#else
|
||||
.long 0x005A0000
|
||||
#endif
|
||||
.long .init
|
||||
.long _reset_address
|
||||
|
||||
.init:
|
||||
.align 2
|
||||
.globl _reset_address
|
||||
.type _reset_address, @function
|
||||
_reset_address:
|
||||
bl _coreinit
|
||||
bl _ivinit
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@ MEMORY
|
|||
ram : org = 0x40000000, len = 192k
|
||||
}
|
||||
|
||||
ENTRY(_reset_address)
|
||||
|
||||
/*
|
||||
* Derived constants.
|
||||
*/
|
||||
|
|
|
@ -35,9 +35,12 @@
|
|||
#else
|
||||
.long 0x005A0000
|
||||
#endif
|
||||
.long .init
|
||||
.long _reset_address
|
||||
|
||||
.init:
|
||||
.align 2
|
||||
.globl _reset_address
|
||||
.type _reset_address, @function
|
||||
_reset_address:
|
||||
bl _coreinit
|
||||
bl _ivinit
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@ MEMORY
|
|||
ram : org = 0x40000000, len = 128k
|
||||
}
|
||||
|
||||
ENTRY(_reset_address)
|
||||
|
||||
/*
|
||||
* Derived constants.
|
||||
*/
|
||||
|
|
|
@ -30,6 +30,8 @@ MEMORY
|
|||
ram : org = 0x40000000, len = 128k
|
||||
}
|
||||
|
||||
ENTRY(_reset_address)
|
||||
|
||||
/*
|
||||
* Derived constants.
|
||||
*/
|
||||
|
|
|
@ -30,6 +30,8 @@ MEMORY
|
|||
ram : org = 0x40000000, len = 192k
|
||||
}
|
||||
|
||||
ENTRY(_reset_address)
|
||||
|
||||
/*
|
||||
* Derived constants.
|
||||
*/
|
||||
|
|
|
@ -62,9 +62,9 @@ ASXFLAGS = $(MCFLAGS) -Wa,-amhls=$(LSTDIR)/$(notdir $(<:.S=.lst)) $(ADEFS)
|
|||
CFLAGS = $(MCFLAGS) $(OPT) $(COPT) $(CWARN) -Wa,-alms=$(LSTDIR)/$(notdir $(<:.c=.lst)) $(DEFS)
|
||||
CPPFLAGS = $(MCFLAGS) $(OPT) $(CPPOPT) $(CPPWARN) -Wa,-alms=$(LSTDIR)/$(notdir $(<:.cpp=.lst)) $(DEFS)
|
||||
ifeq ($(USE_LINK_GC),yes)
|
||||
LDFLAGS = $(MCFLAGS) -nostartfiles -T$(LDSCRIPT) -Wl,-Map=$(BUILDDIR)/$(PROJECT).map,--cref,--no-warn-mismatch,--gc-sections $(LLIBDIR)
|
||||
LDFLAGS = $(MCFLAGS) -nostartfiles -T$(LDSCRIPT) -Wl,-Map=$(BUILDDIR)/$(PROJECT).map,--cref,--no-warn-mismatch,--gc-sections,$(USE_LDOPT) $(LLIBDIR)
|
||||
else
|
||||
LDFLAGS = $(MCFLAGS) -nostartfiles -T$(LDSCRIPT) -Wl,-Map=$(BUILDDIR)/$(PROJECT).map,--cref,--no-warn-mismatch $(LLIBDIR)
|
||||
LDFLAGS = $(MCFLAGS) -nostartfiles -T$(LDSCRIPT) -Wl,-Map=$(BUILDDIR)/$(PROJECT).map,--cref,--no-warn-mismatch,$(USE_LDOPT) $(LLIBDIR)
|
||||
endif
|
||||
|
||||
# Generate dependency information
|
||||
|
|
|
@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
|
|||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in VLE mode.
|
||||
ifeq ($(USE_VLE),)
|
||||
USE_VLE = yes
|
||||
|
|
|
@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
|
|||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in VLE mode.
|
||||
ifeq ($(USE_VLE),)
|
||||
USE_VLE = yes
|
||||
|
|
|
@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
|
|||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in VLE mode.
|
||||
ifeq ($(USE_VLE),)
|
||||
USE_VLE = yes
|
||||
|
|
|
@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
|
|||
USE_LINK_GC = yes
|
||||
endif
|
||||
|
||||
# Linker options here.
|
||||
ifeq ($(USE_LDOPT),)
|
||||
USE_LDOPT =
|
||||
endif
|
||||
|
||||
# If enabled, this option allows to compile the application in VLE mode.
|
||||
ifeq ($(USE_VLE),)
|
||||
USE_VLE = yes
|
||||
|
|
Loading…
Reference in New Issue