File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Documentation/platforms/arm/stm32h7/boards/nucleo-h745zi
boards/arm/stm32h7/nucleo-h745zi/configs/nsh_cm4_rptun Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,28 @@ The commands to build ``nsh_xxx_rptun`` configurations are as follows::
14
14
cmake --build build_h7m7
15
15
cmake --build build_h7m4
16
16
17
+ Serial Console
18
+ --------------
19
+
20
+ The STLINK virtual console uses Serial Port 3 (USART3) with TX on PD8
21
+ and RX on PD9 and is used by the Cortex-M7 core by default.
22
+
23
+ ================= ===
24
+ VCOM Signal Pin
25
+ ================= ===
26
+ SERIAL_RX PD9
27
+ SERIAL_TX PD8
28
+ ================= ===
29
+
30
+ Access to the Cortex-M4 core can be acheived using an additional UART port
31
+ or via RPMSG UART by setting ``CONFIG_RPMSG_UART_CONSOLE=y `` in CM4 configuration.
32
+
33
+ If the RPMSG UART console is enabled, we can connect to it from CM7 using ``cu ``::
34
+
35
+ nsh-cm7> cu -l /dev/ttyproxy
36
+ NuttShell (NSH) NuttX-10.4.0
37
+ nsh-cm4>
38
+
17
39
Tools
18
40
-----
19
41
Original file line number Diff line number Diff line change @@ -37,13 +37,12 @@ CONFIG_RAM_SIZE=245760
37
37
CONFIG_RAM_START=0x10000000
38
38
CONFIG_RAW_BINARY=y
39
39
CONFIG_RPMSG_UART=y
40
+ CONFIG_RPMSG_UART_CONSOLE=y
40
41
CONFIG_RPTUN=y
41
42
CONFIG_RPTUN_PING=y
42
43
CONFIG_RR_INTERVAL=200
43
44
CONFIG_SCHED_WAITPID=y
44
45
CONFIG_START_DAY=6
45
46
CONFIG_START_MONTH=12
46
47
CONFIG_START_YEAR=2011
47
- CONFIG_STM32H7_USART1=y
48
48
CONFIG_SYSTEM_NSH=y
49
- CONFIG_USART1_SERIAL_CONSOLE=y
You can’t perform that action at this time.
0 commit comments