This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
RE: LPC2XXX ADC modification
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Peter Huszar <phuszar at freemail dot hu>
- Cc: eCos Patches List <ecos-patches at ecos dot sourceware dot org>
- Date: Wed, 30 Jun 2010 09:26:40 +0100
- Subject: RE: LPC2XXX ADC modification
- References: <002a01cb1639$e93a4c50$bbaee4f0$@hu> <4C287151.8090609@dallaway.org.uk> <000301cb16eb$744e8660$5ceb9320$@hu>
Hi Peter
Peter Huszar wrote:
> I have attached the source code. Please let me know if
> you cosider it sufficiently modified to warrant
> a copyright assigment.
Your code will certainly require a copyright assignment. I recommend
that you start the process as soon as possible as it can take some time.
You should be able to generate a patch using something like this from a
bash prompt:
cd packages/dev/adc/arm/lpc24xx/current
diff -U5 src/adc_lpc24xx.c src/adc_lpc2xxx.c > adc_lpc2xxx.patch
diff -U5 cdl/adc_lpc24xx.cdl cdl/adc_lpc2xxx.cdl >> adc_lpc2xxx.patch
Can you post the resulting patch file to the ecos-patches list please?
John Dallaway
eCos maintainer
> -----Original Message-----
> From: John Dallaway [mailto:john@dallaway.org.uk]
> Sent: Monday, June 28, 2010 11:54 AM
> To: Peter Huszar
> Cc: eCos Patches List
> Subject: Re: LPC2XXX ADC modification
>
> Hi Peter
>
> Peter Huszar wrote:
>
>> I have noticed that the Olimex H2294 board support includes an ADC that is
>> specific to some versios of LPC2XXX processors.
>> It only covers models that have individual conversion registers (LPC24XX
>> and LPC21XX/LPC22XX with 01 suffix).
>>
>> I have modified the ADC driver to support all LPC ADC configurations.
>>
>> Please let me know if this is of any interest to the eCOS maintainers
>> and/or the eCOS community.
>>
>> If interested, please let me know how to go about contributing the
>> modified ADC code and package information.
>> I have tested the configurations that I am using, but would only do more
>> generic test if there is interest from the community.
>
> Thank you for your interest in contributing your ADC driver changes.
>
> Extended hardware support is always of interest. If the patch is just a
> few lines we may be able to accept it without a copyright assignment,
> otherwise you will need to complete copyright paperwork as described at:
>
> http://ecos.sourceware.org/assign.html
>
> Could you post your patch to ecos-patches@ecos.sourceware.org so we can
> advise further?
>
> John Dallaway
> eCos maintainer