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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [i2c/] [cortexm/] [a2fxxx/] [current/] [cdl/] [i2c_a2fxxx.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      i2c_a2fxxx.cdl
4
#
5
#      eCos Smartfusion Cortex-M3 I2C configuration data
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 2011 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):      ccoutand
43
# Contributors:
44
# Date:           2011-01-18
45
#
46
#####DESCRIPTIONEND####
47
# ====================================================================
48
 
49
cdl_package CYGPKG_DEVS_I2C_CORTEXM_A2FXXX  {
50
    display       "Actel Smartfusion I2C driver"
51
    parent        CYGPKG_IO_I2C
52
    active_if     CYGPKG_IO_I2C
53
    active_if     CYGPKG_HAL_CORTEXM_A2FXXX
54
    include_dir   cyg/io
55
    description   "
56
        This package provides a generic I2C device driver for the on-chip
57
        I2C modules in Smartfusion Cortex-M3 microcontroller."
58
 
59
    compile       -library=libextras.a i2c_a2fxxx.c
60
 
61
    cdl_option CYGNUM_HAL_CORTEXM_A2FXXX_I2C_CLK_DIV {
62
        display       "I2C channel clock divider"
63
        flavor        data
64
        default_value { 256 }
65
        legal_values  { 8 60 120 160 192 960 224 256 960}
66
        description   "
67
            Set the I2C clock divider."
68
    }
69
 
70
    cdl_option CYGDBG_DEVS_I2C_CORTEXM_A2FXXX_TRACE {
71
        display       "Display status messages during I2C operations"
72
        flavor        bool
73
        default_value 0
74
        description   "
75
           Selecting this option will cause the I2C driver to print status
76
           messages as various I2C operations are undertaken."
77
    }
78
 
79
    cdl_component CYGPKG_DEVS_I2C_CORTEXM_A2FXXX_OPTIONS {
80
        display      "I2C driver build options"
81
        flavor        none
82
        active_if     { CYGINT_DEVS_I2C_CORTEXM_A2FXXX_BUS_DEVICES > 0 }
83
        description   "
84
            Package specific build options including control over
85
            compiler flags used only in building the Smartfusion Cortex-M3
86
            I2C bus driver."
87
 
88
        cdl_option CYGPKG_DEVS_I2C_CORTEXM_A2FXXX_CFLAGS_ADD {
89
            display       "Additional compiler flags"
90
            flavor        data
91
            no_define
92
            default_value { "" }
93
            description   "
94
                This option modifies the set of compiler flags for
95
                building the Smartfusion Cortex-M3 I2C bus driver. These
96
                flags are used in addition to the set of global flags."
97
        }
98
 
99
        cdl_option CYGPKG_DEVS_I2C_CORTEXM_A2FXXX_CFLAGS_REMOVE {
100
            display       "Suppressed compiler flags"
101
            flavor        data
102
            no_define
103
            default_value { "" }
104
            description   "
105
                This option modifies the set of compiler flags for
106
                building the Smartfusion Cortex-M3 I2C bus driver. These
107
                flags are removed from the set of global flags if
108
                present."
109
        }
110
    }
111
}
112
 
113
# EOF i2c_a2fxxx.cdl

powered by: WebSVN 2.1.0

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