paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] spi related errors during compile time


From: Martin Mueller
Subject: Re: [Paparazzi-devel] spi related errors during compile time
Date: Mon, 1 Jul 2013 12:46:53 +0200 (CEST)

SPI0 is used in some derivates of the logger, though.

Martin

> Gautier Hattenberger <address@hidden> hat am 1. Juli 2013 um
> 11:45 geschrieben:
>
>
> Yes, only SPI1 is implemented on LPC.
> SPI0 works in a really different way (speaking about he configuration)
> and is not efficient at all (no hardware buffer). So it is a lot of work
> to get it work.
> Also, SPI0 is not easily accessible on a twog anyway...
>
> Gautier
>
> Le 30/06/2013 22:20, Felix Ruess a écrit :
> > Hi Chris,
> >
> > if I'm not mistaken, only SPI1 ( aka SSP ) is currently supported on
> > the LPC.
> > Gautier, please correct me if I'm wrong, otherwise I'll add a compile
> > time error message for this...
> >
> > Cheers, Felix
> >
> >
> > On Sun, Jun 30, 2013 at 9:46 PM, Chris <address@hidden
> > <mailto:address@hidden>> wrote:
> >
> >     Hi.
> >     It is probably something stupid i forgot but when i try to compile
> >     my aircraft (ap=twog with the latest master version) which
> >     includes an own max7456 module, i get those spi related errors:
> >
> >     /home/hendrix/paparazzi/var/Cessna_182/ap/mcu.o: In function
> >     `mcu_init':
> >     mcu.c:(.text.mcu_init+0x98): undefined reference to `spi0_init'
> >     mcu.c:(.text.mcu_init+0x9c): undefined reference to `spi_init_slaves'
> >     /home/hendrix/paparazzi/var/Cessna_182/ap/modules/osd/max7456.o:
> >     In function `osd_put_s':
> >     max7456.c:(.text.osd_put_s+0x120): undefined reference to `spi_submit'
> >     max7456.c:(.text.osd_put_s+0x14c): undefined reference to `spi0'
> >
> >     I have included the spi.h file (#include "mcu_periph/spi.h") in
> >     the c file
> >     and i have defined those values in the module's  xml file:
> >
> >     <define name="SPI_MASTER" value="1" />
> >     <define name="USE_SPI" value="1" />
> >     <define name="USE_SPI0" value="1" />
> >     <define name="MAX7456_SPI_DEVICE" value="spi0" />
> >     <define name="USE_SPI_SLAVE0" value="1" />
> >     <define name="OSD_SPI_SLAVE_NUMBER" value="SPI_SLAVE0" />
> >
> >     Any ideas about what might cause those errors?
> >     Chris
> >
> >
> >     _______________________________________________
> >     Paparazzi-devel mailing list
> >     address@hidden <mailto:address@hidden>
> >     https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >
> >
> >
> >
> > _______________________________________________
> > Paparazzi-devel mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]