comparison packages/hal/arm/cma230/current/include/pkgconf/hal_arm_cma230.h @ 46:797268ecc331 ecos-sw-1999-10-19

Merge from eCos master repository on 1999-10-19-18:55:31-BST
author jlarmour
date Tue, 19 Oct 1999 19:19:52 +0000
parents
children f10165814f1e
comparison
equal deleted inserted replaced
45:91d213c0da48 46:797268ecc331
1 #ifndef CYGONCE_PKGCONF_HAL_ARM_CMA230_H
2 #define CYGONCE_PKGCONF_HAL_ARM_CMA230_H
3 // ====================================================================
4 //
5 // pkgconf/hal_arm_cma230.h
6 //
7 // HAL configuration file
8 //
9 // ====================================================================
10 //####COPYRIGHTBEGIN####
11 //
12 // -------------------------------------------
13 // The contents of this file are subject to the Cygnus eCos Public License
14 // Version 1.0 (the "License"); you may not use this file except in
15 // compliance with the License. You may obtain a copy of the License at
16 // http://sourceware.cygnus.com/ecos
17 //
18 // Software distributed under the License is distributed on an "AS IS"
19 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
20 // License for the specific language governing rights and limitations under
21 // the License.
22 //
23 // The Original Code is eCos - Embedded Cygnus Operating System, released
24 // September 30, 1998.
25 //
26 // The Initial Developer of the Original Code is Cygnus. Portions created
27 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
28 // -------------------------------------------
29 //
30 //####COPYRIGHTEND####
31 // ====================================================================
32 //#####DESCRIPTIONBEGIN####
33 //
34 // Author(s): gthomas
35 // Contributors: gthomas
36 // Date: 1999-04-21
37 // Purpose: To allow the user to edit HAL configuration options.
38 // Description:
39 //
40 //####DESCRIPTIONEND####
41 //
42 // ====================================================================
43
44
45 /* ---------------------------------------------------------------------
46 {{CFG_DATA
47
48 cdl_package CYGPKG_HAL_ARM_CMA230 {
49 display "Cogent Computer Systems CMA230 board"
50 type radio
51 parent CYGPKG_HAL_ARM
52 description "
53 The cma230 HAL package provides the support needed to run
54 eCos on a Cogent Computer Systems CMA230 board."
55 }
56
57 cdl_option CYGHWR_HAL_ARM_CMA230_STARTUP {
58 display "Startup type"
59 parent CYGPKG_HAL_ARM_CMA230
60 #type count
61 type enum
62 legal_values ram rom stubs
63 startup
64 description "
65 When targetting the CMA230 board it is possible to build
66 the system for either RAM bootstrap or ROM bootstrap(s). Select
67 'ram' when building programs to load into RAM using onboard
68 debug software such as Angel or eCos GDB stubs. Select 'rom'
69 when building a stand-alone application which will be put
70 into ROM. Selection of 'stubs' is for the special case of
71 building the eCos GDB stubs themselves."
72 }
73
74 }}CFG_DATA */
75
76 #define CYGHWR_HAL_ARM_CMA230_STARTUP ram
77
78 /* ---------------------------------------------------------------------
79 {{CFG_DATA
80 cdl_option CYGHWR_HAL_ARM_CMA230_DIAG_PORT {
81 display "Diagnostic serial port"
82 parent CYGPKG_HAL_ARM_CMA230
83 type enum
84 legal_values 0 1
85 description "
86 The CMA230 board has two separate serial ports. This option
87 chooses which of these ports will be used."
88 }
89
90 }}CFG_DATA */
91 #define CYGHWR_HAL_ARM_CMA230_DIAG_PORT 0
92
93 /* ---------------------------------------------------------------------
94 {{CFG_DATA
95 cdl_option CYGHWR_HAL_ARM_CMA230_DIAG_BAUD {
96 display "Diagnostic serial port baud rate"
97 parent CYGPKG_HAL_ARM_CMA230
98 type enum
99 legal_values 9600 19200 38400 115200
100 description "
101 This option selects the baud rate used for the diagnostic port.
102 Note: this should match the value chosen for the GDB port if the
103 diagnostic and GDB port are the same."
104 }
105
106 }}CFG_DATA */
107 #define CYGHWR_HAL_ARM_CMA230_DIAG_BAUD 38400
108
109 /* ---------------------------------------------------------------------
110 {{CFG_DATA
111 cdl_option CYGHWR_HAL_ARM_CMA230_GDB_PORT {
112 display "GDB serial port"
113 parent CYGPKG_HAL_ARM_CMA230
114 type enum
115 legal_values 0 1
116 description "
117 The CMA230 board has two separate serial ports. This option
118 chooses which of these ports will be used to connect to a host
119 running GDB."
120 }
121
122 }}CFG_DATA */
123 #define CYGHWR_HAL_ARM_CMA230_GDB_PORT 0
124
125 /* ---------------------------------------------------------------------
126 {{CFG_DATA
127 cdl_option CYGHWR_HAL_ARM_CMA230_GDB_BAUD {
128 display "GDB serial port baud rate"
129 parent CYGPKG_HAL_ARM_CMA230
130 type enum
131 legal_values 9600 19200 38400 115200
132 description "
133 This option controls the baud rate used for the GDB connection."
134 }
135
136 }}CFG_DATA */
137 #define CYGHWR_HAL_ARM_CMA230_GDB_BAUD 38400
138
139 // Real-time clock/counter specifics
140
141 #define CYGNUM_HAL_RTC_NUMERATOR 1000000000
142 #define CYGNUM_HAL_RTC_DENOMINATOR 100
143 #define CYGNUM_HAL_RTC_PERIOD 5000 // 2us clock
144
145 /* -------------------------------------------------------------------*/
146 #endif /* CYGONCE_PKGCONF_HAL_ARM_CMA230_H */
147 /* EOF hal_arm_cma230.h */