On Wed, Aug 22, 2007 at 03:57:44PM +0530, sandip wrote:
>
> Dear Andrew
>
> As you told I change ecos.db and after it I am going to open ecos
> configuration tools so SPI support is enable but when I build librart I got
> error
>
> /ecos-c/cygwin/ecos/packages/devs/spi/arm/at91/current/src/spi_at91.c:556:53
> : unterminated argument list invoking macro "HAL_WRITE_UINT32"
> make[1]: *** [src/spi_at91.o.d] Error 1
> make: Leaving directory `/ecos-c/cygwin/ecos/app7/serial_build'
> make: *** [build] Error 2
> Making this change to your ecos.db:
553 HAL_WRITE_UINT32(spi_bus->base+AT91_SPI_MR, val);
554 } else {
555 val = AT91_SPI_MR_MSTR;
556 #ifdef AT91_SPI_MR_MODFDIS
557 val |= AT91_SPI_MR_MODFDIS;
558 #endif
559 HAL_WRITE_UINT32(spi_bus->base+AT91_SPI_MR, val);
560 }
561 }
I don't see how you can get that error from line 556.
You need to debug your version of the code, since i think it is
different from the one, true eCos version, in anoncvs.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss