av5282: Simplify bsp_specs

Updates #3520.
This commit is contained in:
Joel Sherrill
2017-12-19 10:32:58 -06:00
parent 00aea01961
commit 9a5cf9c0c7
4 changed files with 7 additions and 5 deletions

View File

@@ -1,13 +1,9 @@
%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

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

View File

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

View File

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