Add stm32/nsh2 config; Add option to use any TTY for NSH console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3743 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
84cdbc3fef
commit
c4ce380602
@ -291,7 +291,7 @@ void stm32_lowsetup(void)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_STM32_USART2_REMAP
|
#ifdef CONFIG_STM32_USART2_REMAP
|
||||||
mapr |= ~AFIO_MAPR_USART2_REMAP;
|
mapr |= AFIO_MAPR_USART2_REMAP;
|
||||||
#else
|
#else
|
||||||
mapr &= ~AFIO_MAPR_USART2_REMAP;
|
mapr &= ~AFIO_MAPR_USART2_REMAP;
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* arch/arm/src/stm32/stm32_serial.c
|
* arch/arm/src/stm32/stm32_serial.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
Loading…
Reference in New Issue
Block a user