public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] 3.0b1: olpce2294 CAN support?
@ 2009-03-09  8:20 Rasmus Ljungmann Pedersen, s052362
  2009-03-09 13:47 ` Sergei Gavrikov
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus Ljungmann Pedersen, s052362 @ 2009-03-09  8:20 UTC (permalink / raw)
  To: ecos-discuss

Hi there.

I'm just checking out the 3.0 beta 1, and notices, that even though I
add the 'CAN device drivers' package to the olpce2294 template, I can't
specify the speeds and other things of the CAN ports. I have used eCos
2.0 with a custom package describing the Olimex e2294 board, and even
though the olpce2294 template, and the old one I used is very similar, I
can't figure out if the olpce2294 just lacks CAN support, or it is
included in some clever way that I have yet to realise :)

If the CAN support is missing for the olpce2294 template, is this
something that will be addressed before 3.0 is released?

Regards
    Rasmus

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] 3.0b1: olpce2294 CAN support?
  2009-03-09  8:20 [ECOS] 3.0b1: olpce2294 CAN support? Rasmus Ljungmann Pedersen, s052362
@ 2009-03-09 13:47 ` Sergei Gavrikov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Gavrikov @ 2009-03-09 13:47 UTC (permalink / raw)
  To: Rasmus Ljungmann Pedersen; +Cc: eCos discuss list

Rasmus Ljungmann Pedersen wrote:
> I'm just checking out the 3.0 beta 1, and notices, that even though I
> add the 'CAN device drivers' package to the olpce2294 template, I can't
> specify the speeds and other things of the CAN ports. I have used eCos
> 2.0 with a custom package describing the Olimex e2294 board, and even
> though the olpce2294 template, and the old one I used is very similar, I
> can't figure out if the olpce2294 just lacks CAN support, or it is
> included in some clever way that I have yet to realise :)
> 
> If the CAN support is missing for the olpce2294 template, is this
> something that will be addressed before 3.0 is released?

CAN support for lpc2xxx targets had been written by Uwe Kindler. To add
CAN suppport for the target, you have to implement the eCos interfaces
CYGINT_DEVS_CAN_LPC2XXX_CAN{0,1} for the target. Olpce2294 has not it.
You can look at lpc24xx/ea2468 target for a reference. Certainly, what
Uwe's target has CAN support. It seems for me, you have to tweak the
hal_arm_lpc2xxx_olpce2294.cdl, plf_io.h, olpce2294_misc.c (perhaps and
hal_platform_setup.h), to get CAN support on the target. I'd  not added
same tweaks for olpce2294 platform.

Sergei


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-05 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-09  8:20 [ECOS] 3.0b1: olpce2294 CAN support? Rasmus Ljungmann Pedersen, s052362
2009-03-09 13:47 ` Sergei Gavrikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).