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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [watchdog/] [arm/] [at91/] [current/] [cdl/] [watchdog_at91.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
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, 2003, 2009 Free Software Foundation, 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
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):      tkoeller
43
# Contributors:   tkoeller, nickg
44
# Date:           2000-05-05
45
#
46
#####DESCRIPTIONEND####
47
#
48
# ====================================================================
49
 
50
cdl_package CYGPKG_DEVICES_WATCHDOG_ARM_AT91 {
51
    parent        CYGPKG_IO_WATCHDOG
52
    active_if     CYGPKG_IO_WATCHDOG
53
    display       "ARM AT91 watchdog driver"
54
    requires      CYGPKG_HAL_ARM_AT91
55
    requires      CYGPKG_KERNEL
56
    hardware
57
    define_header devs_watchdog_arm_at91.h
58
    compile       watchdog_at91.cxx
59
    implements    CYGINT_WATCHDOG_HW_IMPLEMENTATIONS
60
    active_if     CYGIMP_WATCHDOG_HARDWARE
61
    description   "
62
      This package uses the watchdog device integrated
63
      in the AT91 to execute a predefined action if the
64
      application fails to call the reset function for
65
      longer than a given timeout interval. This package
66
      currently only supports the AT91x408xx, AT91M55800A and Diopsis
67
      devices found on the Atmel EB40, EB40A, EB55 and JTST evaluation
68
      boards. The AT91M42800 found on the EB42 is not supported
69
      since it uses a totally different watchdog device."
70
 
71
    cdl_option CYGIMP_WATCHDOG_HARDWARE {
72
        parent        CYGPKG_IO_WATCHDOG_IMPLEMENTATION
73
        display       "Hardware watchdog"
74
        default_value 1
75
        implements    CYGINT_WATCHDOG_IMPLEMENTATIONS
76
    }
77
 
78
    cdl_option CYGNUM_DEVS_WATCHDOG_ARM_AT91_DESIRED_TIMEOUT_MS {
79
        display         "Desired timeout value"
80
        flavor          data
81
        legal_values    1 to 2047
82
        default_value   100
83
        description "
84
            This parameter controls the watchdog timeout interval.
85
            Note that you may not get the exact value requested
86
            here, the timeout interval may have to be adjusted
87
            because of hardware limitations. The actual timeout
88
            used will be the smallest possible value that is not
89
            less than this parameter."
90
    }
91
 
92
    cdl_option CYGSEM_DEVS_WATCHDOG_ARM_AT91_RESET {
93
        display       "Generate reset on watchdog expiration"
94
        flavor        bool
95
        default_value 1
96
        implements    CYGINT_WATCHDOG_RESETS_ON_TIMEOUT
97
        description   "
98
          Enabling this option changes the watchdog operation mode
99
          to generate a system reset upon expiration instead of
100
          invoking an application-defined action."
101
    }
102
 
103
    cdl_component CYGPKG_DEVICES_WATCHDOG_ARM_AT91_OPTIONS {
104
        display       "AT91 watchdog build options"
105
        flavor        none
106
        description   "
107
            Package specific build options including control over
108
            compiler flags used only in building this package,
109
            and details of which tests are built."
110
 
111
        cdl_option CYGPKG_DEVICES_WATCHDOG_ARM_AT91_CFLAGS_ADD {
112
            display       "Additional compiler flags"
113
            flavor        data
114
            no_define
115
            default_value { "" }
116
            description   "
117
                This option modifies the set of compiler flags for
118
                building the watchdog device. These flags are used in addition
119
                to the set of global flags."
120
        }
121
 
122
        cdl_option CYGPKG_DEVICES_WATCHDOG_ARM_AT91_CFLAGS_REMOVE {
123
            display       "Suppressed compiler flags"
124
            flavor        data
125
            no_define
126
            default_value { "" }
127
            description   "
128
                This option modifies the set of compiler flags for
129
                building the watchdog device. These flags are removed from
130
                the set of global flags if present."
131
        }
132
 
133
    }
134
}
135
 
136
# EOF watchdog_at91.cdl

powered by: WebSVN 2.1.0

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