mcf5235: Simplify bsp_specs

Updates #3520.
This commit is contained in:
Joel Sherrill
2017-12-19 11:04:07 -06:00
parent ddeca060a6
commit b7e4837c37
4 changed files with 8 additions and 5 deletions

View File

@@ -1,13 +1,10 @@
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
*startfile:
%{!qrtems: %(old_startfile)} \
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e start}}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}

View File

@@ -38,6 +38,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
_VBR = 0x0;
ENTRY(start)
STARTUP(start.o)
MEMORY
{
dram : ORIGIN = 0, LENGTH = 16M

View File

@@ -38,6 +38,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
_VBR = 0x0;
ENTRY(start)
STARTUP(start.o)
/*
* NOTE: If loading to flash with dBUG remember to change the origin to 0xFFF00000 because that's where user flash is
* located.

View File

@@ -38,6 +38,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
_VBR = 0x0;
ENTRY(start)
STARTUP(start.o)
MEMORY
{
ram : ORIGIN = 0, LENGTH = 16M