Progress debugging serial driver

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3078 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-11-06 02:42:59 +00:00
parent 8691e7cc40
commit eca79de436
4 changed files with 24 additions and 5 deletions
+4 -1
View File
@@ -1323,6 +1323,9 @@
* configs/avr32dev1/ostest - The AVR32 port now successfully passes the * configs/avr32dev1/ostest - The AVR32 port now successfully passes the
examples/ostest. We have a good AVR32 port! examples/ostest. We have a good AVR32 port!
* configs/avr32dev1/nsh - Added a configuration to support the NuttShell * configs/avr32dev1/nsh - Added a configuration to support the NuttShell
(NSH). Testing of this configuration is just beginning. (NSH). As of this writing, here is a problem receiving serial data (this
is, very likely, my hardware setup).
* lib/lib_open.c - Fix an error in fdopen when a valid file desciptor does
not refer to an open file.
+5 -2
View File
@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4"> <tr align="center" bgcolor="#e4e4e4">
<td> <td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1> <h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
<p>Last Updated: November 4, 2010</p> <p>Last Updated: November 5, 2010</p>
</td> </td>
</tr> </tr>
</table> </table>
@@ -1952,7 +1952,10 @@ nuttx-5.13 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* configs/avr32dev1/ostest - The AVR32 port now successfully passes the * configs/avr32dev1/ostest - The AVR32 port now successfully passes the
examples/ostest. We have a good AVR32 port! examples/ostest. We have a good AVR32 port!
* configs/avr32dev1/nsh - Added a configuration to support the NuttShell * configs/avr32dev1/nsh - Added a configuration to support the NuttShell
(NSH). Testing of this configuration is just beginning. (NSH). As of this writing, here is a problem receiving serial data (this
is, very likely, my hardware setup).
* lib/lib_open.c - Fix an error in fdopen when a valid file desciptor does
not refer to an open file.
pascal-2.1 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt; pascal-2.1 2010-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
+1 -1
View File
@@ -336,7 +336,7 @@ static inline void up_disableusartint(struct up_dev_s *priv, uint32_t *imr)
{ {
if (imr) if (imr)
{ {
*imr = up_serialin(priv, AVR32_USART_IDR_OFFSET); *imr = up_serialin(priv, AVR32_USART_IMR_OFFSET);
} }
/* Disable all interrupts */ /* Disable all interrupts */
+13
View File
@@ -51,6 +51,19 @@
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Determine which (if any) console driver to use. This will probably cause
* up_serialinit to be incorrectly called if there is no USART configured to
* be an RS-232 device (see as an example arch/avr/src/at32uc23/at32uc3_config.h)
* This will probably have to be revisited someday.
*/
#if CONFIG_NFILE_DESCRIPTORS == 0 || defined(CONFIG_DEV_LOWCONSOLE)
# undef CONFIG_USE_SERIALDRIVER
# undef CONFIG_USE_EARLYSERIALINIT
#elif defined(CONFIG_DEV_CONSOLE) && CONFIG_NFILE_DESCRIPTORS > 0
# define CONFIG_USE_SERIALDRIVER 1
# define CONFIG_USE_EARLYSERIALINIT 1
#endif
/**************************************************************************** /****************************************************************************
* Private Types * Private Types