1 |
786 |
skrzyp |
2012-01-25 Bernard Fouché
|
2 |
|
|
|
3 |
|
|
* Changes made to support CAN IO package update:
|
4 |
|
|
* cdl/can_lpc2xxx.cdl: CYGOPT_DEVS_CAN_LPC2XXX_EXTENDED_CFG_KEYS
|
5 |
|
|
replaced by CYG_IO_SET_CONFIG_CAN_RANGE_FILTER.
|
6 |
|
|
* include/can_lpc2xxx.h: Commented out unused and not implemented
|
7 |
|
|
things.
|
8 |
|
|
* src/can_lpc2xxx.c: CYGNUM_CAN_EVENT_OVERRUN_RX_HW instead of
|
9 |
|
|
CYGNUM_CAN_EVENT_OVERRUN_RX. CYGOPT_DEVS_CAN_LPC2XXX_EXTENDED_CFG_KEYS
|
10 |
|
|
replaced by CYG_IO_SET_CONFIG_CAN_RANGE_FILTER. can_lpc2xxx.h not
|
11 |
|
|
required any more. CYGNUM_CAN_MODE_LISTEN_ONLY_ENTER &
|
12 |
|
|
CYGNUM_CAN_MODE_LISTEN_ONLY_EXIT return -EINVAL.
|
13 |
|
|
[ Bugzilla 1001453 ]
|
14 |
|
|
|
15 |
|
|
2008-07-21 Uwe Kindler
|
16 |
|
|
|
17 |
|
|
* cdl/can_lpc2xxx.cdl: Added CYGOPT_DEVS_CAN_LPC2XXX_ALIE to make
|
18 |
|
|
arbitration lost interrupt optional. Added option
|
19 |
|
|
CYGNUM_DEVS_CAN_LPC2XXX_INT_PRIORITY to configure the interrupt
|
20 |
|
|
priority for global CAN interrupt in LPC24xx variants.
|
21 |
|
|
|
22 |
|
|
* include/can_lpc2xxx_baudrates.h: Replaced CYGNUM_CAN_LPC2XXX_VPB_CLK
|
23 |
|
|
by CYGNUM_HAL_ARM_LPC2XXX_CAN_CLK because newer variants like LPC24xx
|
24 |
|
|
do not have a global VPB_CLK.
|
25 |
|
|
|
26 |
|
|
* src/can_accfilt_lpc2xxx.c: Adjusted LPC2XXX_CAN_FIRST_IN_LUT to
|
27 |
|
|
be 0 for LPC24xxx variants. Added macro CAN_CHAN_NO_LUT(_info_) to
|
28 |
|
|
abstract channel numbering from acceptance filter code.
|
29 |
|
|
|
30 |
|
|
* src/can_lpc2xxx.c: Removed icr data field from lpc2xxx_can_info_st
|
31 |
|
|
structure because it is not required any longer. A lot of small
|
32 |
|
|
modifications to make the driver usable with newer LPC2xxx variants like
|
33 |
|
|
LPC24xx. ISR and DSR code changed - instead of disabling interrupts in
|
34 |
|
|
IER register they are disabled in VIC by using cyg_drv_interrupt_mask()
|
35 |
|
|
function calls. Added global CAN ISR and DSR for LPC24xx variants
|
36 |
|
|
(they do not support individual interrupt vectors for RX and TX
|
37 |
|
|
interrupts). Moved LUT error checking code from ISR into DSR to keep
|
38 |
|
|
ISR as short as possible and made LUT error checking code optional.
|
39 |
|
|
|
40 |
|
|
2008-05-23 Alexey Shusharin
|
41 |
|
|
|
42 |
|
|
* cdl/can_lpc2xxx.cdl: add CAN interrupt priorities
|
43 |
|
|
|
44 |
|
|
* src/can_lpc2xxx.c: add CAN interrupt priorities,
|
45 |
|
|
repair "chan" definition missing in rx_ISR
|
46 |
|
|
|
47 |
|
|
* src/can_accfilt_lpc2xxx.c: add various types of CAN controllers
|
48 |
|
|
numbering (depends on LPC2XXX version)
|
49 |
|
|
|
50 |
|
|
2007-08-17 Hans Rosenfeld
|
51 |
|
|
|
52 |
|
|
* src/can_lpc2xxx.c: The definition of "info" is missing when only
|
53 |
|
|
one CAN channel is configured.
|
54 |
|
|
|
55 |
|
|
2007-08-17 Uwe Kindler
|
56 |
|
|
|
57 |
|
|
* include/can_lpc2xxx_baudrates.h: Removed all prefixed zeros from
|
58 |
|
|
baudrate table entries (they aren't intended to be interpreted as
|
59 |
|
|
octal)
|
60 |
|
|
|
61 |
|
|
* tests/can_baudrates.c
|
62 |
|
|
tests/can_busload.c
|
63 |
|
|
tests/can_rx_tx.c: removed #include pkgconf/devs_can_loop.h
|
64 |
|
|
|
65 |
|
|
2007-08-02 Alexey Shusharin
|
66 |
|
|
|
67 |
|
|
* src/can_lpc2xxx.c: Added acknowledging call in rx interrupt
|
68 |
|
|
(self-reception part)
|
69 |
|
|
|
70 |
|
|
2007-07-07 Alexey Shusharin
|
71 |
|
|
|
72 |
|
|
* cdl/can_lpx2xxx.cdl: Option
|
73 |
|
|
CYGOPT_DEVS_CAN_LPC2XXX_USE_SELF_RECEPTION added for enabling
|
74 |
|
|
self reception requests instead of transmission requests.
|
75 |
|
|
|
76 |
|
|
* src/can_lpc2xxx.c: Some small bugs fixed. Added support for LUT
|
77 |
|
|
error. Support for self transmission request added. Debug output
|
78 |
|
|
improved.
|
79 |
|
|
|
80 |
|
|
* src/can_accfilt_lpc2xxx.c: Added support for baudrates of 10kbaud
|
81 |
|
|
and 20 kbaud at clock speed of 60 MHz
|
82 |
|
|
|
83 |
|
|
2007-07-01 Uwe Kindler
|
84 |
|
|
|
85 |
|
|
* LPC2xxx CAN driver package created
|
86 |
|
|
* cdl/can_lpc2xxx.cdl
|
87 |
|
|
* include/can_lpc2xxx.h
|
88 |
|
|
* include/can_lpc2xxx_baudrates.h
|
89 |
|
|
* src/can_lpc2xxx.c
|
90 |
|
|
* src/can_accfilt_lpc2xxx.c
|
91 |
|
|
|
92 |
|
|
//===========================================================================
|
93 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
94 |
|
|
// -------------------------------------------
|
95 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
96 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
97 |
|
|
//
|
98 |
|
|
// This program is free software; you can redistribute it and/or modify
|
99 |
|
|
// it under the terms of the GNU General Public License as published by
|
100 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
101 |
|
|
// later version.
|
102 |
|
|
//
|
103 |
|
|
// This program is distributed in the hope that it will be useful, but
|
104 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
105 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
106 |
|
|
// General Public License for more details.
|
107 |
|
|
//
|
108 |
|
|
// You should have received a copy of the GNU General Public License
|
109 |
|
|
// along with this program; if not, write to the
|
110 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
111 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
112 |
|
|
// -------------------------------------------
|
113 |
|
|
// ####GPLCOPYRIGHTEND####
|
114 |
|
|
//===========================================================================
|