diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-06 20:21:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-06 20:21:57 +0000 |
commit | 2cb26d0787b41ae1dc7607ef11ac11047491d7dc (patch) | |
tree | 0bfa100d6337879837dd6abf9612a0a7f889129b /nuttx/arch/mips/src/pic32mx/pic32mx-internal.h | |
parent | 829c1351e2be18265cd8ea8c481eec674192a6d5 (diff) | |
download | px4-nuttx-2cb26d0787b41ae1dc7607ef11ac11047491d7dc.tar.gz px4-nuttx-2cb26d0787b41ae1dc7607ef11ac11047491d7dc.tar.bz2 px4-nuttx-2cb26d0787b41ae1dc7607ef11ac11047491d7dc.zip |
Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4458 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/mips/src/pic32mx/pic32mx-internal.h')
-rw-r--r-- | nuttx/arch/mips/src/pic32mx/pic32mx-internal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-internal.h b/nuttx/arch/mips/src/pic32mx/pic32mx-internal.h index 3697fad45..190fd8a47 100644 --- a/nuttx/arch/mips/src/pic32mx/pic32mx-internal.h +++ b/nuttx/arch/mips/src/pic32mx/pic32mx-internal.h @@ -1,7 +1,7 @@ /************************************************************************************ * arch/mips/src/pic32mx/pic32mx-internal.h * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -181,7 +181,11 @@ EXTERN void pic32mx_lowinit(void); * ************************************************************************************/ +#ifdef HAVE_SERIAL_CONSOLE EXTERN void pic32mx_consoleinit(void); +#else +# define pic32mx_consoleinit() +#endif /****************************************************************************** * Name: pic32mx_uartreset |