Mercurial > ecos
annotate packages/io/can/current/ChangeLog @ 3292:7f8e529b4d82 default tip
Fix FREESCALE_EDMA_NBYTES_MLOFFYES_MLOFF() so it works with negative offsets.
| author | vae |
|---|---|
| date | Wed, 29 Apr 2015 23:31:48 +0000 |
| parents | edcc78939bd0 |
| children |
| rev | line source |
|---|---|
|
3266
edcc78939bd0
* include/canio.h: Added structure cyg_can_err_count_info for reading
sergeig
parents:
3246
diff
changeset
|
1 2013-06-24 Uwe Kindler <uwe_kindler@web.de> |
|
edcc78939bd0
* include/canio.h: Added structure cyg_can_err_count_info for reading
sergeig
parents:
3246
diff
changeset
|
2 |
|
edcc78939bd0
* include/canio.h: Added structure cyg_can_err_count_info for reading
sergeig
parents:
3246
diff
changeset
|
3 * include/canio.h: Added structure cyg_can_err_count_info for reading |
|
edcc78939bd0
* include/canio.h: Added structure cyg_can_err_count_info for reading
sergeig
parents:
3246
diff
changeset
|
4 CAN hardware error counter values from CAN hardware. |
|
edcc78939bd0
* include/canio.h: Added structure cyg_can_err_count_info for reading
sergeig
parents:
3246
diff
changeset
|
5 * doc/can.sgml: Documented new CAN config key |
|
edcc78939bd0
* include/canio.h: Added structure cyg_can_err_count_info for reading
sergeig
parents:
3246
diff
changeset
|
6 CYG_IO_GET_CONFIG_ERR_COUNTERS. |
|
edcc78939bd0
* include/canio.h: Added structure cyg_can_err_count_info for reading
sergeig
parents:
3246
diff
changeset
|
7 |
|
3246
0e1564740f6b
* doc/can.sgml: Documented return code -ENOSPC for cyg_io_set_config()
sergeig
parents:
3077
diff
changeset
|
8 2013-05-06 Uwe Kindler <uwe_kindler@web.de> |
|
0e1564740f6b
* doc/can.sgml: Documented return code -ENOSPC for cyg_io_set_config()
sergeig
parents:
3077
diff
changeset
|
9 |
|
0e1564740f6b
* doc/can.sgml: Documented return code -ENOSPC for cyg_io_set_config()
sergeig
parents:
3077
diff
changeset
|
10 * doc/can.sgml: Documented return code -ENOSPC for cyg_io_set_config() |
|
0e1564740f6b
* doc/can.sgml: Documented return code -ENOSPC for cyg_io_set_config()
sergeig
parents:
3077
diff
changeset
|
11 for config keys CYG_IO_SET_CONFIG_CAN_RANGE_FILTER and |
|
0e1564740f6b
* doc/can.sgml: Documented return code -ENOSPC for cyg_io_set_config()
sergeig
parents:
3077
diff
changeset
|
12 CYG_IO_SET_CONFIG_CAN_MASK_FILTER |
|
0e1564740f6b
* doc/can.sgml: Documented return code -ENOSPC for cyg_io_set_config()
sergeig
parents:
3077
diff
changeset
|
13 |
|
3077
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
14 2012-01-22 Bernard Fouché <bernard.fouche@kuantic.com> |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
15 |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
16 * cdl/io_can.cdl: support for add/remove compiler flags |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
17 * doc/can.sgml, doc/can_driver_doc.html: updated doc reflecting API |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
18 changes (range/mask filtering, listen-only mode, return values for |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
19 xmt_msg/rcv_event, new flags). |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
20 * include/can.h: given in a match the types of function pointers for |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
21 can_callbacks_t according to the changes made in can.c. |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
22 * include/canio.h: flags field in event enlarged to 32 bits to fit |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
23 new events 'CYGNUM_CAN_EVENT_ERR_ACTIVE' and |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
24 'CYGNUM_CAN_EVENT_OVERRUN_RX_HW'. Made a 'flag' typedef. |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
25 cyg_can_event fields reordered so flags size change keeps events the |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
26 same size. Defined new filtering capabilities (range/mask). New |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
27 convenience macro CYGNUM_CAN_EVENT_ALL. New listen-only mode. |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
28 * src/can.c: can_rcv_event() and can_xmt_msg() now returns cyg_bool |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
29 (were 'void'). flags using cyg_can_event_flags_t type. |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
30 [ Bugzilla 1001453 ] |
|
2dde4203a2c7
* cdl/io_can.cdl: support for add/remove compiler flags
sergeig
parents:
2932
diff
changeset
|
31 |
| 2932 | 32 2010-01-13 Sergei Gavrikov <sergei.gavrikov@gmail.com> |
| 33 | |
| 34 * include/can.h: EOF footer: s/SERIAL/CAN/. | |
| 35 * src/can.c: can_set_config(): Fixed key's name to drain output: | |
| 36 s{CYG_IO_GET_CONFIG_SERIAL_OUTPUT_DRAIN | |
| 37 }{CYG_IO_SET_CONFIG_CAN_OUTPUT_DRAIN}. | |
| 38 | |
| 2420 | 39 2007-08-23 Alexey Shusharin <mrfinch@mail.ru> |
| 40 | |
| 41 * doc/can.sgml: Callback on event documentation. | |
| 42 * src/can.c: Change one wakeup to callback in a comment. | |
| 43 * include/canio.h: changed cyg_addrword_t to CYG_ADDRWORD so | |
| 44 can will compile without the kernel. | |
| 45 | |
| 46 2007-08-06 Alexey Shusharin <mrfinch@mail.ru> | |
| 47 Andrew Lunn <andrew.lunn@ascom.ch> | |
| 48 | |
| 49 * cdl/io_can.cdl: Added option CYGOPT_IO_CAN_SUPPORT_CALLBACK | |
| 50 | |
| 51 * include/canio.h: Added struct cyg_can_callback_cfg for setting | |
| 52 callback configurations. | |
| 53 | |
| 54 * include/can.h: Added declaration and initialization of callback | |
| 55 configuration in struct can_channel. | |
| 56 | |
| 57 * src/can.c: Added callback configuration changing and | |
| 58 application function call. | |
| 59 | |
| 60 2007-07-02 Uwe Kindler <uwe_kindler@web.de> | |
| 61 | |
| 62 * cdl/io_can.cdl: Added interface CYGINT_IO_CAN_CHANNELS for | |
| 63 counting available CAN channels | |
| 64 | |
| 65 * include/canio.h: Changed type cyg_can_msgbuf_info. The two | |
| 66 fields are 16 bit now because device drivers may support more | |
| 67 than 256 message buffers (i.e. the LPC2xxx CAN driver) | |
| 68 | |
| 69 2007-06-20 Uwe Kindler <uwe_kindler@web.de> | |
| 70 | |
| 71 * test/can_filter: Changed filter loop counter from cyg_uint8 to | |
| 72 cyg_uint16 because LPC2xxx CAN driver supports more than 256 | |
| 73 message buffers. | |
| 74 | |
| 75 2007-03-23 Uwe Kindler <uwe_kindler@web.de> | |
| 76 | |
| 77 * cdl/io_can.cdl: Added several interfaces for implementation by | |
| 78 device drivers. | |
| 79 Moved several configuration options from device drivers to the | |
| 80 generic CAN driver. With this design a device driver does not | |
| 81 need to provide all configuration options in its CDL file - it | |
| 82 simply needs to implement the provided interfaces. The drawback | |
| 83 of this decicsion is, that it is not possible to control these | |
| 84 options independently for several CAN devices. (But most platforms | |
| 85 will have only 1 channel) | |
| 86 Added configuration option CYGBLD_IO_CAN_EXTRA_TESTS. This option | |
| 87 enables the build of the interactive CAN tests. | |
| 88 | |
| 89 * test/can_filter: Added interactive message filtering test | |
| 90 | |
| 91 * test/can_hdi: Added interactive hardware description interface | |
| 92 test | |
| 93 | |
| 94 * test/can_load: Added interactive message handling (reception, | |
| 95 transmission) test. | |
| 96 | |
| 97 * test/can_remote: Added interactive remote response buffer test | |
| 98 | |
| 99 * test/can_tx: Added interactive basic TX test. All tests are not | |
| 100 part of the eCos test framework because they are interactive. That | |
| 101 means, they require interaction with another user controlled | |
| 102 CAN node. | |
| 103 | |
| 104 * include/can.h: Added identifier masks for standard and extended | |
| 105 identifiers. | |
| 106 Added the line #include CYGDAT_IO_CAN_DEVICE_INL. This enables a | |
| 107 device driver to provide an own device inline file. In this inline | |
| 108 file the driver may define own data types for CAN messages (for | |
| 109 internal storage of CAN messages (see AT91SAM7 CAN driver)) | |
| 110 | |
| 111 * include/canio.h: Added baudrate CYGNUM_CAN_KBAUD_AUTO - support of | |
| 112 automatic baudrate detection if a driver supports such a feature. | |
| 113 Added state CYGNUM_CAN_STATE_CONFIG and mode CYGNUM_CAN_MODE_CONFIG. | |
| 114 The application may use these identifiers to set the CAN device into | |
| 115 a state where it is safe to add/remove/configure message buffers. | |
| 116 Added union data type cyg_can_msg_data. With this data type a 4 byte | |
| 117 alignment of message data is guaranteed, an byte, word and dword | |
| 118 access to the data is possible and an assignment of two CAN datas are | |
| 119 possible now. | |
| 120 cyg_can_message now uses cyg_can_msg_data union for CAN data. | |
| 121 Replaced SW-Filt flag by autobaud flag in HDI. | |
| 122 Added CAN message access macros for read/write acces of CAN message | |
| 123 structures. These macros hide implementation of CAN message from | |
| 124 application. | |
| 125 | |
| 126 * src/can.c: Added support for device driver defined CAN message | |
| 127 data types | |
| 128 | |
| 129 2006-12-19 Sergei Gavrikov <sg@sgs.gomel.by> | |
| 130 | |
| 131 * doc/can.sgml: Correctly close para tag. | |
| 132 | |
| 133 2006-12-13 Uwe Kindler <uwe_kindler@web.de> | |
| 134 | |
| 135 * doc/can.sgml: CAN driver SGML documentation added. | |
| 136 | |
| 137 2006-08-25 Gary Thomas <gary@mlbassoc.com> | |
| 138 | |
| 139 * cdl/io_can.cdl: Set parent for more intuitive ConfigTool layout. | |
| 140 | |
| 141 2006-03-27 Uwe Kindler <uwe_kindler@web.de> | |
| 142 | |
| 143 * src/can.c can_rcv_event() Clear the flag field in new event before | |
| 144 calling into low level hardware driver. | |
| 145 | |
| 146 2006-02-15 Uwe Kindler <uwe_kindler@web.de> | |
| 147 | |
| 148 * include/can_io.h Added message buffer configuration identifier: | |
| 149 CYGNUM_CAN_MSGBUF_RESET_ALL, CYGNUM_CAN_MSGBUF_RX_FILTER_ALL ... | |
| 150 Added cfg_id field to cyg_can_msgbuf_cfg data structure. | |
| 151 | |
| 152 2005-09-11 Uwe Kindler <uwe_kindler@web.de> | |
| 153 | |
| 154 * include/can_io.h Added support for get_config to CAN_LOWLEVEL_FUNS | |
| 155 structure. | |
| 156 Added additional CAN events. | |
| 157 Added support for can state (cyg_can_state) and CAN mode (cyg_can_mode). | |
| 158 Changed data type of cyg_can_buf_info_t data structure from cyg_int32 | |
| 159 to cyg_uint32. | |
| 160 Added support for message box configuration (cyg_can_msgbuf_info). | |
| 161 Added support for message filtering (cyg_cn_filter). | |
| 162 Renamed cyg_can_rtr_buf to cyg_can_remote_buf. | |
| 163 Renamed CYGNUM_CAN_RTR_BUF_NA and CYGNUM_CAN_RTR_BUF_INIT to | |
| 164 CYGNUM_CAN_MSGBUF_NA and CYGNUM_CAN_MSGBUF_INIT because they are | |
| 165 also used for message filtering. | |
| 166 Added support for hardware description interface. | |
| 167 Added support for CYG_IO_SET_CONFIG_CAN_INPUT_FLUSH, | |
| 168 CYG_IO_SET_CONFIG_CAN_OUTPUT_FLUSH and CYG_IO_GET_CONFIG_SERIAL_OUTPUT_DRAIN. | |
| 169 | |
| 170 * doc/can_driver_doc.html Additional configuration options | |
| 171 documented. | |
| 172 | |
| 173 2005-05-24 Uwe Kindler <uwe_kindler@web.de> | |
| 174 | |
| 175 * Generic CAN driver package created | |
| 176 | |
| 177 //=========================================================================== | |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
178 // ####GPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
179 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
180 // This file is part of eCos, the Embedded Configurable Operating System. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
181 // Copyright (C) 2003, 2004 Free Software Foundation, Inc. |
| 2420 | 182 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
183 // This program is free software; you can redistribute it and/or modify |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
184 // it under the terms of the GNU General Public License as published by |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
185 // the Free Software Foundation; either version 2 or (at your option) any |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
186 // later version. |
| 2420 | 187 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
188 // This program is distributed in the hope that it will be useful, but |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
189 // WITHOUT ANY WARRANTY; without even the implied warranty of |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
190 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
191 // General Public License for more details. |
| 2420 | 192 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
193 // You should have received a copy of the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
194 // along with this program; if not, write to the |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
195 // Free Software Foundation, Inc., 51 Franklin Street, |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
196 // Fifth Floor, Boston, MA 02110-1301, USA. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
197 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2420
diff
changeset
|
198 // ####GPLCOPYRIGHTEND#### |
| 2420 | 199 //=========================================================================== |
