From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24534 invoked by alias); 11 Sep 2013 17:42:54 -0000 Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org Received: (qmail 24514 invoked by uid 89); 11 Sep 2013 17:42:54 -0000 Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 11 Sep 2013 17:42:54 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED autolearn=ham version=3.3.2 X-HELO: mail.ecoscentric.com Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 40E54468000E for ; Wed, 11 Sep 2013 18:42:50 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6PTt17qI9lXG; Wed, 11 Sep 2013 18:42:45 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001901] Add CAN support for Olimex olpcl2294 board Date: Wed, 11 Sep 2013 17:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sergei.gavrikov@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-09/txt/msg00019.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001901 --- Comment #2 from Sergei Gavrikov --- Hi Uwe, I tried to compile CAN driver for LPC-L2294-1M (with patches applied): % ecosconfig new olpcl2294 % ecosconfig add can ... In file included from devs/can/arm/lpc2xxx/current/src/can_lpc2xxx.c:723:0: devs/can/arm/lpc2xxx/current/src/can_accfilt_lpc2xxx.c: In function 'lpc2xxx_can_accfilt_simple_rx_all': devs/can/arm/lpc2xxx/current/src/can_accfilt_lpc2xxx.c:774:68: error: 'lpc2xxx_global_can_info_t' has no member named 'init_cnt' ... make[1]: *** [src/can_lpc2xxx.o.d] Error 1 make: *** [build] Error 2 It looks like that with CYGINT_IO_CAN_CHANNELS == 1, can_lpc2xxx.c cannot be compiled. FYI: I get the same error for LPC-E2294 with such a configuration # Force CYGINT_IO_CAN_CHANNELS be 1 cdl_configuration eCos { template default ; package CYGPKG_IO_CAN current ; }; cdl_component CYGPKG_DEVS_CAN_LPC2XXX_CAN1 { user_value 0 }; cdl_component CYGPKG_DEVS_CAN_LPC2XXX_CAN2 { user_value 0 }; cdl_component CYGPKG_DEVS_CAN_LPC2XXX_CAN3 { user_value 0 }; Therefore, the error was not entered with the patch. Could you, please, look on the LPC2XXX CAN code? Thank you. Sergei -- You are receiving this mail because: You are on the CC list for the bug.