mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Update README.txt
This commit is contained in:
@@ -45,7 +45,7 @@ choice
|
|||||||
-------- --------- -----
|
-------- --------- -----
|
||||||
|
|
||||||
config NUCLEO_CONSOLE_ARDUINO
|
config NUCLEO_CONSOLE_ARDUINO
|
||||||
bool "ARDUINO Connector"
|
bool "Arduino Connector"
|
||||||
select STM32F7_USART6
|
select STM32F7_USART6
|
||||||
select USART6_SERIALDRIVER
|
select USART6_SERIALDRIVER
|
||||||
select USART6_SERIAL_CONSOLE
|
select USART6_SERIAL_CONSOLE
|
||||||
|
|||||||
@@ -514,10 +514,29 @@ f7xx-nsh:
|
|||||||
CONFIG_HOST_LINUX=y : Builds under Linux
|
CONFIG_HOST_LINUX=y : Builds under Linux
|
||||||
CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : ARM GNU for Linux
|
CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : ARM GNU for Linux
|
||||||
|
|
||||||
3. Although the default console is USART3 (which would correspond to
|
3. The serial console may be configured to use either USART3 (which would
|
||||||
the Virtual COM port) I have done all testing with the console
|
correspond to the Virtual COM port) or with the console device
|
||||||
device configured for UART8 (see instruction above under "Serial
|
configured for USART6 to support an Arduino serial shield (see
|
||||||
Consoles).
|
instructions above under "Serial Consoles). You will need to check the
|
||||||
|
defconfig file to see how the console is set up and, perhaps, modify
|
||||||
|
the configuration accordingly.
|
||||||
|
|
||||||
|
To select the Virtual COM port:
|
||||||
|
|
||||||
|
-CONFIG_NUCLEO_CONSOLE_ARDUINO
|
||||||
|
+CONFIG_NUCLEO_CONSOLE_VIRTUAL=y
|
||||||
|
-CONFIG_USART6_SERIAL_CONSOLE=y
|
||||||
|
+CONFIG_USART3_SERIAL_CONSOLE=y
|
||||||
|
|
||||||
|
To select the Arduino serial shield:
|
||||||
|
|
||||||
|
-CONFIG_NUCLEO_CONSOLE_VIRTUAL=y
|
||||||
|
+CONFIG_NUCLEO_CONSOLE_ARDUINO
|
||||||
|
-CONFIG_USART3_SERIAL_CONSOLE=y
|
||||||
|
+CONFIG_USART6_SERIAL_CONSOLE=y
|
||||||
|
|
||||||
|
Default values for other settings associated with the select USART should
|
||||||
|
be correct.
|
||||||
|
|
||||||
f7xx-evalos:
|
f7xx-evalos:
|
||||||
-------
|
-------
|
||||||
|
|||||||
Reference in New Issue
Block a user