This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: drivers for LPC2xxx on-chip peripherals
- From: Hans Rosenfeld <rosenfeld at grumpf dot hope-2000 dot org>
- To: Daniel Néri <daniel dot neri at sigicom dot se>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Wed, 22 Aug 2007 10:56:52 +0200
- Subject: Re: drivers for LPC2xxx on-chip peripherals
- References: <20070712152151.GA9252@grumpf.hope-2000.org> <20070820162609.GA1465@grumpf.hope-2000.org> <87r6lx740a.fsf@dual.hq.sigicom.net>
On Tue, Aug 21, 2007 at 09:15:01AM +0200, Daniel Néri wrote:
> I don't agree with this one. HAL_I2C_EXPORTED_DEVICES belongs in the
> platform HAL.
I don't think so. AFAIK all LPC2xxx variants have the I2C unit. If a
platform really doesn't support it, the I2C package can still be left
out from the target.
After all, whats the point of having a variant HAL if the variant
specific stuff is replicated in all the platform HALs?
--
%SYSTEM-F-ANARCHISM, The operating system has been overthrown