OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [devs/] [watchdog/] [arm/] [at91/] [v2_0/] [cdl/] [watchdog_at91.cdl] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      watchdog_at91.cdl
4
#
5
#      eCos watchdog for ARM AT91 driver configuration data
6
#
7
# ====================================================================
8
#####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later version.
16
##
17
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20
## for more details.
21
##
22
## You should have received a copy of the GNU General Public License along
23
## with eCos; if not, write to the Free Software Foundation, Inc.,
24
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25
##
26
## As a special exception, if other files instantiate templates or use macros
27
## or inline functions from this file, or you compile this file and link it
28
## with other works to produce a work based on this file, this file does not
29
## by itself cause the resulting work to be covered by the GNU General Public
30
## License. However the source code for this file must still be made available
31
## in accordance with section (3) of the GNU General Public License.
32
##
33
## This exception does not invalidate any other reasons why a work based on
34
## this file might be covered by the GNU General Public License.
35
##
36
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37
## at http://sources.redhat.com/ecos/ecos-license/
38
## -------------------------------------------
39
#####ECOSGPLCOPYRIGHTEND####
40
# ====================================================================
41
######DESCRIPTIONBEGIN####
42
#
43
# Author(s):      tkoeller
44
# Contributors:   tkoeller
45
# Date:           2000-05-05
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_package CYGPKG_DEVICES_WATCHDOG_ARM_AT91 {
52
    parent        CYGPKG_IO_WATCHDOG
53
    active_if     CYGPKG_IO_WATCHDOG
54
    display       "ARM AT91 watchdog driver"
55
    requires      CYGPKG_HAL_ARM_AT91
56
    requires      CYGPKG_KERNEL
57
    hardware
58
    define_header devs_watchdog_arm_at91.h
59
    compile       watchdog_at91.cxx
60
    implements    CYGINT_WATCHDOG_HW_IMPLEMENTATIONS
61
    active_if     CYGIMP_WATCHDOG_HARDWARE
62
    description   "
63
      This package uses the watchdog device integrated
64
      in the ARM CPU to execute a predefined action if the
65
      application fails to call the reset function for
66
      longer than a given timeout interval."
67
 
68
    cdl_option CYGIMP_WATCHDOG_HARDWARE {
69
        parent        CYGPKG_IO_WATCHDOG_IMPLEMENTATION
70
        display       "Hardware watchdog"
71
        calculated    1
72
        implements    CYGINT_WATCHDOG_IMPLEMENTATIONS
73
    }
74
 
75
    cdl_option CYGNUM_DEVS_WATCHDOG_ARM_AT91_DESIRED_TMEOUT_MS {
76
        display         "Desired timeout value"
77
        flavor          data
78
        legal_values    1 to 2047
79
        default_value   100
80
        description "
81
            This parameter controls the watchdog timeout interval.
82
            Note that you may not get the exact value requested
83
            here, the timeout interval may have to be adjusted
84
            because of hardware limitations. The actual timeout
85
            used will be the smallest possible value that is not
86
            less than this parameter."
87
    }
88
 
89
    cdl_option CYGSEM_DEVS_WATCHDOG_ARM_AT91_RESET {
90
        display       "Generate reset on watchdog expiration"
91
        flavor        bool
92
        default_value 1
93
        implements    CYGINT_WATCHDOG_RESETS_ON_TIMEOUT
94
        description   "
95
          Enabling this option changes the watchdog operation mode
96
          to generate a system reset upon expiration instead of
97
          invoking an application-defined action."
98
    }
99
 
100
    cdl_component CYGPKG_DEVICES_WATCHDOG_ARM_AT91_OPTIONS {
101
        display       "AT91 watchdog build options"
102
        flavor        none
103
        description   "
104
            Package specific build options including control over
105
            compiler flags used only in building this package,
106
            and details of which tests are built."
107
 
108
        cdl_option CYGPKG_DEVICES_WATCHDOG_ARM_AT91_CFLAGS_ADD {
109
            display       "Additional compiler flags"
110
            flavor        data
111
            no_define
112
            default_value { "" }
113
            description   "
114
                This option modifies the set of compiler flags for
115
                building the watchdog device. These flags are used in addition
116
                to the set of global flags."
117
        }
118
 
119
        cdl_option CYGPKG_DEVICES_WATCHDOG_ARM_AT91_CFLAGS_REMOVE {
120
            display       "Suppressed compiler flags"
121
            flavor        data
122
            no_define
123
            default_value { "" }
124
            description   "
125
                This option modifies the set of compiler flags for
126
                building the watchdog device. These flags are removed from
127
                the set of global flags if present."
128
        }
129
 
130
    }
131
}
132
 
133
# EOF watchdog_at91.cdl

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.