include/hcs12/board/arch/param.h
changeset 0 4472ee7c6c3e
equal deleted inserted replaced
-1:000000000000 0:4472ee7c6c3e
       
     1 /*
       
     2 This file is part of CanFestival, a library implementing CanOpen Stack. 
       
     3 
       
     4 Copyright (C): Edouard TISSERANT and Francis DUPIN
       
     5 
       
     6 See COPYING file for copyrights details.
       
     7 
       
     8 This library is free software; you can redistribute it and/or
       
     9 modify it under the terms of the GNU Lesser General Public
       
    10 License as published by the Free Software Foundation; either
       
    11 version 2.1 of the License, or (at your option) any later version.
       
    12 
       
    13 This library is distributed in the hope that it will be useful,
       
    14 but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    16 Lesser General Public License for more details.
       
    17 
       
    18 You should have received a copy of the GNU Lesser General Public
       
    19 License along with this library; if not, write to the Free Software
       
    20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
       
    21 */
       
    22 /* param.h - 32K Board specific parameters
       
    23    Copyright (C) 2002 Free Software Foundation, Inc.
       
    24    Written by Stephane Carrez (stcarrez@worldnet.fr)	
       
    25 
       
    26 This file is free software; you can redistribute it and/or modify it
       
    27 under the terms of the GNU General Public License as published by the
       
    28 Free Software Foundation; either version 2, or (at your option) any
       
    29 later version.
       
    30 
       
    31 In addition to the permissions in the GNU General Public License, the
       
    32 Free Software Foundation gives you unlimited permission to link the
       
    33 compiled version of this file with other programs, and to distribute
       
    34 those programs without any restriction coming from the use of this
       
    35 file.  (The General Public License restrictions do apply in other
       
    36 respects; for example, they cover modification of the file, and
       
    37 distribution when not linked into another program.)
       
    38 
       
    39 This file is distributed in the hope that it will be useful, but
       
    40 WITHOUT ANY WARRANTY; without even the implied warranty of
       
    41 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    42 General Public License for more details.
       
    43 
       
    44 You should have received a copy of the GNU General Public License
       
    45 along with this program; see the file COPYING.  If not, write to
       
    46 the Free Software Foundation, 59 Temple Place - Suite 330,
       
    47 Boston, MA 02111-1307, USA.  */
       
    48 
       
    49 #ifndef _M68HC11_ARCH_32K_PARAM_H
       
    50 #define _M68HC11_ARCH_32K_PARAM_H
       
    51 
       
    52 /* Generic 32K board.  */
       
    53 #define M6811_ARCH_32K
       
    54 
       
    55 #undef M6811_DEF_BAUD
       
    56 #define M6811_DEF_BAUD 0x30            /* 9600 baud.  */
       
    57 
       
    58 #undef RAM_SIZE
       
    59 #define RAM_SIZE       32768           /* 32Kb of memory.  */
       
    60 
       
    61 #undef ROM_SIZE
       
    62 #define ROM_SIZE       32768           /* 32Kb of rom.  */
       
    63 
       
    64 #undef DATA_SIZE
       
    65 #define DATA_SIZE      (0x8000-0x1040) /* Data section size.  */
       
    66 
       
    67 #undef TEXT_SIZE
       
    68 #define TEXT_SIZE      ROM_SIZE        /* Text section size.  */
       
    69 
       
    70 #endif