Discussion:
[nuttx] Problem with lpc43xx project makefile? [1 Attachment]
amberchild1987@yahoo.com [nuttx]
2017-11-27 16:04:09 UTC
Permalink
Hi!

When I enable the ADC0 peripheral option I get error message: "target 'lpc43_adc.o' given more than once in the same rule".
Do you have any ideas where the problem is? Google was not helpful this time...
I attached the makefile, if it has something to do with this error.

Gintaras
spudarnia@yahoo.com [nuttx]
2017-11-27 16:12:58 UTC
Permalink
Try this:

commit 4eda9e92de9eee4570a17f5d0bfd109acbf1e689
Author: Gregory Nutt <***@nuttx.org>
Date: Mon Nov 27 10:11:22 2017 -0600

arch/arm/src/lpc32xx: lpc32_adc.c was being selected by the build system wehn DAC was selected.
Alan Carvalho de Assis acassis@gmail.com [nuttx]
2017-11-27 16:16:27 UTC
Permalink
Hi Gintaras,

I tested ADC0 on LPC4330 some time ago, maybe it could help you:

https://github.com/Smoothieware/smoothie-nuttx/commit/a990b7f77dd4f0c77f09668767f4b2d95bd502d9

BR,

Alan
Post by ***@yahoo.com [nuttx]
Hi!
When I enable the ADC0 peripheral option I get error message: "target
'lpc43_adc.o' given more than once in the same rule".
Do you have any ideas where the problem is? Google was not helpful this time...
I attached the makefile, if it has something to do with this error.
Gintaras
Gintaras Drukteinis amberchild1987@yahoo.com [nuttx]
2017-11-28 07:51:05 UTC
Permalink
Thanks for yours support, I can continue with ADC and DAC now!

Loading...