This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
AT91 variant HAL GPIO
- From: "Gábor Török" <tgabor84 at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 9 Oct 2008 14:53:53 +0200
- Subject: [ECOS] AT91 variant HAL GPIO
Hi!
1.
I'm typing the pin definitions for the AT91SAM7SE, and I ran into some
pin definitions (in var_io.h), that I don't know which chip(s) they
belong to.
They are after the other chips definitions:
#if defined(CYGHWR_HAL_ARM_AT91_M55800A)
...
#elif defined (CYGHWR_HAL_ARM_AT91SAM7)
...
#else
#define AT91_TC_TCLK0 AT91_PIN(0,0, 0) // Timer #0 clock
#define AT91_TC_TIOA0 AT91_PIN(0,0, 1) // Timer #0 signal A
#define AT91_TC_TIOB0 AT91_PIN(0,0, 2) // Timer #0 signal B
#define AT91_TC_TCLK1 AT91_PIN(0,0, 3) // Timer #1 clock
#define AT91_TC_TIOA1 AT91_PIN(0,0, 4) // Timer #1 signal A
#define AT91_TC_TIOB1 AT91_PIN(0,0, 5) // Timer #1 signal B
...
#endif
Which chips are intended to be covered by this last else section?
2.
Is it OK to correct some typos like "AT91_SPI_MOIS" to
"AT91_SPI_MOSI"? If I change them in var_io.h, I also change them in
the SPI driver.
Török Gábor
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss