This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: ecos/packages/hal/arm/at91/at91sam7s/current
- From: Andrew Lunn <andrew at lunn dot ch>
- To: J?rgen Lambrecht <J dot Lambrecht at televic dot com>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Thu, 14 Aug 2008 09:59:12 +0200
- Subject: Re: ecos/packages/hal/arm/at91/at91sam7s/current
- References: <48A3E187.6080206@televic.com>
> I created the 2 patches in the same directories as where the files are.
Thanks. Nornally patches are made from the packages directory and all
in one file. If you have an anoncvs checkout all you need to do is
cvs diff -u > mypatch.diff.
> #define AT91_SPI_RPR 0x100 // Receive Pointer Register
> #define AT91_SPI_RCR 0x104 // Receive Counter Register
> #define AT91_SPI_TPR 0x108 // Transmit Pointer Register
> #define AT91_SPI_TCR 0x10C // Transmit Counter Register
> #define AT91_SPI_NRPR 0x110 // Next Receive Pointer Register
> #define AT91_SPI_NRCR 0x114 // Next Receive Counter Register
> #define AT91_SPI_NTPR 0x118 // Next Transmit Pointer Register
> -#define AT91_SPI_NTCR 0x11C // Next Trsnsmit Counter Register
> +#define AT91_SPI_NTCR 0x11C // Next Transmit Counter Register
> #define AT91_SPI_PTCR 0x120 // PDC Transfer Control Register
> #define AT91_SPI_PTSR 0x124 // PDC Transfer Status Register
Can you explain this bit? It looks like you are on a M$ system. Has
your text editor corrupted the line ending? Please use the same line
endings as the file already has. I also prefer that new files use unix
line endings. Any decent text editor should be able to handle this...
Andrew