stm32f746g-disco: Move serial console from USART6 to USART1 (Virtual COM)
Thanks Gustavo H. Nihei and Abdelatif Guettouche for reviewing
This commit is contained in:
parent
c770dc9134
commit
461e9d4ece
@ -43,8 +43,8 @@ STATUS
|
|||||||
======
|
======
|
||||||
|
|
||||||
2015-07-19: The basic NSH configuration is functional using a serial
|
2015-07-19: The basic NSH configuration is functional using a serial
|
||||||
console on USART6 and RS-232 shield. Very few other drivers are in
|
console on USART1 (Virtual COM, i.e. ttyACM0). Very few other drivers
|
||||||
place yet.
|
are in place yet.
|
||||||
|
|
||||||
2015-07-20: STM32 F7 Ethernet appears to be functional, but has had
|
2015-07-20: STM32 F7 Ethernet appears to be functional, but has had
|
||||||
only light testing.
|
only light testing.
|
||||||
@ -98,16 +98,20 @@ LEDs and Buttons
|
|||||||
Serial Console
|
Serial Console
|
||||||
==============
|
==============
|
||||||
|
|
||||||
These configurations assume that you are using a standard Arduio RS-232
|
The STM32F469G-DISCO uses USART1 connected to "Virtual COM", so when you
|
||||||
shield with the serial interface with RX on pin D0 and TX on pin D1:
|
plug it on your computer it will be detected as a USB port (i.e. ttyACM0):
|
||||||
|
|
||||||
-------- ---------------
|
-------- ---------------
|
||||||
STM32F7
|
STM32F7
|
||||||
ARDUIONO FUNCTION GPIO
|
V.COM FUNCTION GPIO
|
||||||
-- ----- --------- -----
|
----- --------- -----
|
||||||
DO RX USART6_RX PC7
|
RXD USART1_RX PB7
|
||||||
D1 TX USART6_TX PC6
|
TXD USART1_TX PA9
|
||||||
-- ----- --------- -----
|
------ --------- -----
|
||||||
|
|
||||||
|
All you need to do after flashing NuttX on this board is use a serial
|
||||||
|
console tool (minicom, picocom, screen, hyperterminal, teraterm, putty,
|
||||||
|
etc ) configured to 115200 8n1.
|
||||||
|
|
||||||
Porting STM32 F4 Drivers
|
Porting STM32 F4 Drivers
|
||||||
========================
|
========================
|
||||||
@ -466,7 +470,7 @@ Configurations
|
|||||||
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||||
reconfiguration process.
|
reconfiguration process.
|
||||||
|
|
||||||
2. By default, these configurations use the USART6 for the serial
|
2. By default, these configurations use the USART1 for the serial
|
||||||
console. Pins are configured to that RX/TX are available at
|
console. Pins are configured to that RX/TX are available at
|
||||||
pins D0 and D1 of the Arduion connectors. This should be compatible
|
pins D0 and D1 of the Arduion connectors. This should be compatible
|
||||||
with most RS-232 shields.
|
with most RS-232 shields.
|
||||||
@ -505,7 +509,7 @@ Configuration Directories
|
|||||||
nsh
|
nsh
|
||||||
---
|
---
|
||||||
Configures the NuttShell (NSH) located at apps/examples/nsh. The
|
Configures the NuttShell (NSH) located at apps/examples/nsh. The
|
||||||
Configuration enables the serial interfaces on UART6. Support for
|
Configuration enables the serial interfaces on USART1. Support for
|
||||||
built-in applications is enabled, but in the base configuration no
|
built-in applications is enabled, but in the base configuration no
|
||||||
built-in applications are selected.
|
built-in applications are selected.
|
||||||
|
|
||||||
|
@ -47,8 +47,8 @@ CONFIG_SPI=y
|
|||||||
CONFIG_START_DAY=6
|
CONFIG_START_DAY=6
|
||||||
CONFIG_START_MONTH=12
|
CONFIG_START_MONTH=12
|
||||||
CONFIG_START_YEAR=2011
|
CONFIG_START_YEAR=2011
|
||||||
CONFIG_STM32F7_USART6=y
|
CONFIG_STM32F7_USART1=y
|
||||||
CONFIG_SYSTEM_NSH=y
|
CONFIG_SYSTEM_NSH=y
|
||||||
CONFIG_TASK_NAME_SIZE=0
|
CONFIG_TASK_NAME_SIZE=0
|
||||||
CONFIG_USART6_SERIAL_CONSOLE=y
|
CONFIG_USART1_SERIAL_CONSOLE=y
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_USER_ENTRYPOINT="nsh_main"
|
||||||
|
Loading…
Reference in New Issue
Block a user