Mercurial > ecos
annotate packages/hal/arm/pid/current/include/pkgconf/hal_arm_pid.h @ 8:ece80412419a ecos-sw-1999-05-21
Merge from eCos master repository on 1999-05-21-22:05:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 21 May 1999 15:09:30 +0000 |
| parents | 443894e2e912 |
| children | 641b639be825 |
| rev | line source |
|---|---|
| 2 | 1 #ifndef CYGONCE_PKGCONF_HAL_ARM_PID_H |
| 2 #define CYGONCE_PKGCONF_HAL_ARM_PID_H | |
| 3 // ==================================================================== | |
| 4 // | |
| 5 // pkgconf/hal_arm_pid.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 | |
| 36 | |
| 37 // Contributors: gthomas | |
| 38 // Date: 1998-12-02 | |
| 39 // Purpose: To allow the user to edit HAL configuration options. | |
| 40 // Description: | |
| 41 // | |
| 42 //####DESCRIPTIONEND#### | |
| 43 // | |
| 44 // ==================================================================== | |
| 45 | |
| 46 | |
| 47 /* --------------------------------------------------------------------- | |
| 48 {{CFG_DATA | |
| 49 | |
| 50 cdl_package CYGPKG_HAL_ARM_PID { | |
| 51 display "ARM PID7 evaluation board" | |
| 52 type radio | |
| 53 parent CYGPKG_HAL_ARM | |
| 54 platform pid | |
| 55 description " | |
| 56 The pid HAL package provides the support needed to run | |
| 57 eCos on a ARM PID7 eval board." | |
| 58 } | |
| 59 | |
| 60 cdl_option CYGHWR_HAL_ARM_PID_STARTUP { | |
| 61 display "Startup type" | |
| 62 parent CYGPKG_HAL_ARM_PID | |
| 63 type enum | |
| 64 legal_values ram rom stubs | |
| 65 startup | |
| 66 description " | |
| 67 When targetting the PID eval board it is possible to build | |
| 68 the system for either RAM bootstrap or ROM bootstrap(s). Select | |
| 69 'ram' when building programs to load into RAM using onboard | |
| 70 debug software such as Angel or eCos GDB stubs. Select 'rom' | |
| 71 when building a stand-alone application which will be put | |
| 72 into ROM. Selection of 'stubs' is for the special case of | |
| 73 building the eCos GDB stubs themselves." | |
| 74 } | |
| 75 | |
| 76 }}CFG_DATA */ | |
| 77 | |
| 78 #define CYGHWR_HAL_ARM_PID_STARTUP ram | |
| 79 | |
| 80 /* --------------------------------------------------------------------- | |
| 81 {{CFG_DATA | |
| 82 cdl_option CYGHWR_HAL_ARM_PID_DIAG_PORT { | |
| 83 display "Diagnostic Serial Port" | |
| 84 parent CYGPKG_HAL_ARM_PID | |
| 85 type enum | |
| 86 legal_values 0 1 | |
| 87 description " | |
| 88 The PID/7T board has two separate serial ports. This option | |
| 89 chooses which of these ports will be used." | |
| 90 } | |
| 91 | |
| 92 }}CFG_DATA */ | |
| 93 #define CYGHWR_HAL_ARM_PID_DIAG_PORT 0 | |
| 94 | |
| 95 /* --------------------------------------------------------------------- | |
| 96 {{CFG_DATA | |
| 97 cdl_option CYGHWR_HAL_ARM_PID_DIAG_BAUD { | |
| 98 display "Diagnostic Serial Port Baud Rate" | |
| 99 parent CYGPKG_HAL_ARM_PID | |
| 100 type enum | |
| 101 legal_values 9600 19200 38400 115200 | |
| 102 description " | |
| 103 This option selects the baud rate used for the diagnostic port. | |
| 104 Note: this should match the value chosen for the GDB port if the | |
| 105 diagnostic and GDB port are the same." | |
| 106 } | |
| 107 | |
| 108 }}CFG_DATA */ | |
| 109 #define CYGHWR_HAL_ARM_PID_DIAG_BAUD 38400 | |
| 110 | |
| 111 /* --------------------------------------------------------------------- | |
| 112 {{CFG_DATA | |
| 113 cdl_option CYGHWR_HAL_ARM_PID_GDB_PORT { | |
| 114 display "GDB Serial Port" | |
| 115 parent CYGPKG_HAL_ARM_PID | |
| 116 type enum | |
| 117 legal_values 0 1 | |
| 118 description " | |
| 119 The PID/7T board has two separate serial ports. This option | |
| 120 chooses which of these ports will be used to connect to a host | |
| 121 running GDB." | |
| 122 } | |
| 123 | |
| 124 }}CFG_DATA */ | |
| 125 #define CYGHWR_HAL_ARM_PID_GDB_PORT 0 | |
| 126 | |
| 127 /* --------------------------------------------------------------------- | |
| 128 {{CFG_DATA | |
| 129 cdl_option CYGHWR_HAL_ARM_PID_GDB_BAUD { | |
| 130 display "GDB Serial Port Baud Rate" | |
| 131 parent CYGPKG_HAL_ARM_PID | |
| 132 type enum | |
| 133 legal_values 9600 19200 38400 115200 | |
| 134 description " | |
| 135 This option controls the baud rate used for the GDB connection." | |
| 136 } | |
| 137 | |
| 138 }}CFG_DATA */ | |
| 139 #define CYGHWR_HAL_ARM_PID_GDB_BAUD 38400 | |
| 140 | |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
2
diff
changeset
|
141 // Real-time clock/counter specifics |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
2
diff
changeset
|
142 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
2
diff
changeset
|
143 #define CYGNUM_HAL_RTC_NUMERATOR 1000000000 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
2
diff
changeset
|
144 #define CYGNUM_HAL_RTC_DENOMINATOR 100 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
2
diff
changeset
|
145 #define CYGNUM_HAL_RTC_PERIOD 12500 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
2
diff
changeset
|
146 |
| 2 | 147 /* -------------------------------------------------------------------*/ |
| 148 #endif /* CYGONCE_PKGCONF_HAL_ARM_PID_H */ | |
| 149 /* EOF hal_arm_pid.h */ |
