Fix problem in access PIOB and C
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2533 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
bc82f41de8
commit
e870c5b1f2
|
@ -1054,3 +1054,6 @@
|
|||
|
||||
5.2 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
|
||||
* arch/arm/src/sam3u/sam3u_pio.c - Fix an address calculation error
|
||||
that caused ports B & C to get mapped to the PIOA base address.
|
||||
This is an important bugfix! (a patch is available)
|
||||
|
|
|
@ -1685,6 +1685,10 @@ buildroot-1.8 2009-12-21 <spudmonkey@racsa.co.cr>
|
|||
<ul><pre>
|
||||
nuttx-5.2 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
|
||||
* arch/arm/src/sam3u/sam3u_pio.c - Fix an address calculation error
|
||||
that caused ports B & C to get mapped to the PIOA base address.
|
||||
This is an important bugfix! (a patch is available)
|
||||
|
||||
pascal-2.1 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
|
||||
buildroot-1.9 2010-xx-xx <spudmonkey@racsa.co.cr>
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
static inline uintptr_t sam3u_gpiobase(uint16_t cfgset)
|
||||
{
|
||||
int port = (cfgset & GPIO_PORT_MASK) >> GPIO_PORT_SHIFT;
|
||||
return SAM3U_PION_BASE(port >> GPIO_PORT_SHIFT);
|
||||
return SAM3U_PION_BASE(port);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in New Issue