forked from Archive/PX4-Autopilot
95 lines
4.3 KiB
Plaintext
Executable File
95 lines
4.3 KiB
Plaintext
Executable File
/****************************************************************************/
|
|
/* configs/ez80f910200zco/poll/poll.linkcmd */
|
|
/* */
|
|
/* Copyright (C) 2009 Gregory Nutt. All rights reserved. */
|
|
/* Author: Gregory Nutt <spudmonkey@racsa.co.cr> */
|
|
/* */
|
|
/* Redistribution and use in source and binary forms, with or without */
|
|
/* modification, are permitted provided that the following conditions */
|
|
/* are met: */
|
|
/* */
|
|
/* 1. Redistributions of source code must retain the above copyright */
|
|
/* notice, this list of conditions and the following disclaimer. */
|
|
/* 2. Redistributions in binary form must reproduce the above copyright */
|
|
/* notice, this list of conditions and the following disclaimer in */
|
|
/* the documentation and/or other materials provided with the */
|
|
/* distribution. */
|
|
/* 3. Neither the name NuttX nor the names of its contributors may be */
|
|
/* used to endorse or promote products derived from this software */
|
|
/* without specific prior written permission. */
|
|
/* */
|
|
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */
|
|
/* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
|
|
/* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS */
|
|
/* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE */
|
|
/* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, */
|
|
/* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, */
|
|
/* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS */
|
|
/* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED */
|
|
/* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT */
|
|
/* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN */
|
|
/* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
|
|
/* POSSIBILITY OF SUCH DAMAGE. */
|
|
/* */
|
|
/****************************************************************************/
|
|
|
|
-FORMAT=OMF695,INTEL32
|
|
-map -maxhexlen=64 -quiet -NOwarnoverlap -xref -unresolved=fatal
|
|
-sort ADDRESS=ascending -warn -NOdebug -NOigcase
|
|
|
|
RANGE ROM $000000 : $03FFFF
|
|
RANGE RAM $B80000 : $BFFFFF
|
|
RANGE EXTIO $000000 : $00FFFF
|
|
RANGE INTIO $000000 : $0000FF
|
|
|
|
CHANGE STRSECT is ROM
|
|
|
|
ORDER .RESET,.IVECTS,.STARTUP,CODE,DATA
|
|
COPY DATA ROM
|
|
|
|
DEFINE __low_romdata = copy base of DATA
|
|
DEFINE __low_data = base of DATA
|
|
DEFINE __len_data = length of DATA
|
|
DEFINE __low_bss = base of BSS
|
|
DEFINE __len_bss = length of BSS
|
|
DEFINE __stack = highaddr of RAM + 1
|
|
DEFINE __heaptop = highaddr of RAM
|
|
DEFINE __heapbot = top of RAM + 1
|
|
DEFINE __low_romcode = copy base of CODE
|
|
DEFINE __low_code = base of CODE
|
|
DEFINE __len_code = length of CODE
|
|
DEFINE __copy_code_to_ram = 0
|
|
DEFINE __crtl = 1
|
|
DEFINE __CS0_LBR_INIT_PARAM = $10
|
|
DEFINE __CS0_UBR_INIT_PARAM = $1f
|
|
DEFINE __CS0_CTL_INIT_PARAM = $a8
|
|
DEFINE __CS0_BMC_INIT_PARAM = $02
|
|
DEFINE __CS1_LBR_INIT_PARAM = $c0
|
|
DEFINE __CS1_UBR_INIT_PARAM = $c7
|
|
DEFINE __CS1_CTL_INIT_PARAM = $28
|
|
DEFINE __CS1_BMC_INIT_PARAM = $02
|
|
DEFINE __CS2_LBR_INIT_PARAM = $80
|
|
DEFINE __CS2_UBR_INIT_PARAM = $bf
|
|
DEFINE __CS2_CTL_INIT_PARAM = $28
|
|
DEFINE __CS2_BMC_INIT_PARAM = $81
|
|
DEFINE __CS3_LBR_INIT_PARAM = $00
|
|
DEFINE __CS3_UBR_INIT_PARAM = $00
|
|
DEFINE __CS3_CTL_INIT_PARAM = $00
|
|
DEFINE __CS3_BMC_INIT_PARAM = $02
|
|
DEFINE __RAM_CTL_INIT_PARAM = $C0
|
|
DEFINE __RAM_ADDR_U_INIT_PARAM = $B7
|
|
DEFINE __FLASH_CTL_INIT_PARAM = $68
|
|
DEFINE __FLASH_ADDR_U_INIT_PARAM = $00
|
|
|
|
define _SYS_CLK_FREQ = 50000000
|
|
|
|
define _OSC_FREQ = 50000000
|
|
define _SYS_CLK_SRC = 0
|
|
define _OSC_FREQ_MULT = 1
|
|
define __PLL_CTL0_INIT_PARAM = $40
|
|
|
|
define _zsl_g_clock_xdefine = 50000000
|
|
|
|
/* arch/z80/src/Makefile.zdsii will append target, object and library paths below */
|
|
|