Skip to content

Commit f1cce1d

Browse files
Merge pull request #4427 from MicrosoftDocs/main638126011303185778sync_temp
For protected CLA branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 80e50df + 15c3a2c commit f1cce1d

File tree

5 files changed

+46
-6
lines changed

5 files changed

+46
-6
lines changed
Loading
0 Bytes
Loading
6.26 KB
Loading

docs/embedded/serial-monitor.md

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ The Serial Monitor allows users to configure, monitor, and communicate with seri
1616

1717
![Serial Monitor in VS](media/serial-monitor.png)
1818

19-
# [Visual Studio Code](#tab/visual-studio-code)
20-
21-
![Serial Monitor in VSCode](media/serial-monitor-vscode.png)
22-
23-
---
24-
2519
## Capabilities
2620

2721
- **Monitor a serial port**: Choose the **Start Monitoring** or **Stop Monitoring** button to control whether to monitor data coming from the port.
@@ -39,5 +33,47 @@ The Serial Monitor allows users to configure, monitor, and communicate with seri
3933
| **Line Ending** | The line ending to use in messages sent to the connected device | Use the **Line Ending** dropdown | None, LF, CR, CRLF |
4034
| **Timestamp** | Adds timestamps to the output of data received from the connected port | Use the **timestamp** toggle button | On/Off |
4135
| **Autoscroll** | Whether to auto-scroll new content that comes from the connected port | Use the **autoscroll** toggle button | On/Off |
36+
| **Automatic Reconnection** | Allows for automatic reconnection and monitoring of disconnected selected ports | Use the **automatic reconnection** toggle button in **Serial** mode | On/Off |
37+
| **Message Encoding** | Can select type of encoding for messages sent to serial port | Use the **message encoding** dropdown in **Serial** mode | Text (utf8), Hex, Binary |
38+
| **Data bits** | Can select how many data bits are used for the serial port connection | Use the **Data bits** dropdown in the **additional settings** | 5, 6, 7, 8 |
39+
| **Stop bits** | Can select how many stop bits are used for the serial port connection | Use the **Stop bits** dropdown in the **additional settings** | 1, 1.5, 2 |
40+
| **Parity** | Can select what parity is used for the serial port connection | Use the **Parity** dropdown in the **additional settings** | None, Odd, Even, Mark, Space |
41+
| **File Logging** | Allows the ability to log output to a file | Use the **file logging** toggle button, as well as the **Choose Log File Directory** button to choose the desired directory in the **additional settings** | On/Off |
42+
43+
# [Visual Studio Code](#tab/visual-studio-code)
44+
45+
![Serial Monitor in VSCode](media/serial-monitor-vscode.png)
46+
![Serial Monitor in VSCode - TCP](media/serial-monitor-vscode-tcp.png)
47+
48+
## Capabilities
49+
50+
- **Toggle the serial monitor mode**: Choose **Serial** or **TCP** from the **Monitor Mode** dropdown.
51+
- **Monitor a serial/tcp port**: Choose the **Start Monitoring** or **Stop Monitoring** button to control whether to monitor data coming from the port.
52+
- **Monitor multiple serial/tcp ports at a time**: Press the **Open an additional Monitor** button to open another monitor.
53+
- **Send data to a serial/tcp port**: Enter text into the text field at the bottom of the view. Use the **Enter** key or choose the **Send Message** button to send the data.
54+
- **Clear the Serial Monitor output**: Choose the **Clear Output** button to clear the incoming data text field.
55+
- **Send preset control signals**: Use the split-button next to the input field to send preset control signals (Ctrl+C, Ctrl+D, Ctrl+X, and Ctrl+Z).
56+
- **Configure Serial Monitor and connection settings**: See the following table to learn about the settings that the Serial Monitor provides.
57+
- **Clear the Serial Monitor output**: Choose the **Clear Output** button to clear the incoming data text field.
58+
- **Send preset control signals**: Use the split-button next to the input field to send preset control signals (Ctrl+C, Ctrl+D, Ctrl+X, and Ctrl+Z).
59+
60+
## Configurable settings
61+
62+
| Settings | Description | Usage | Available options |
63+
|--|--|--|--|
64+
| **Port** | Ports that are actively connected to a device | Use the **Port** dropdown in **Serial** mode | Serial port compatible devices connected to the machine |
65+
| **Baud Rate** | Frequency at which the monitor attempts to communicate with the connected device | Use the **Baud Rate** dropdown in **Serial** mode | 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 74880, 115200, 230000, 250000 |
66+
| **Host** | Name of your host address | Use the **Host** text box to enter your host name in **TCP** mode | Any string that matches a valid host |
67+
| **Port** | The port number of your address | Use the **Port** text box in **TCP** mode | Any valid TCP port |
68+
| **Line Ending** | The line ending to use in messages sent to the connected device | Use the **Line Ending** dropdown in **Serial** mode | None, LF, CR, CRLF |
69+
| **Timestamp** | Adds timestamps to the output of data received from the connected port | Use the **timestamp** toggle button | On/Off |
70+
| **Autoscroll** | Whether to auto-scroll new content that comes from the connected port | Use the **autoscroll** toggle button | On/Off |
4271
| **Automatic Reconnection** | Allows for automatic reconnection and monitoring of disconnected selected ports | Use the **automatic reconnection** toggle button | On/Off|
4372
| **Message Encoding** | Can select type of encoding for messages sent to serial port | Use the **message encoding** dropdown | Text (utf8), Hex, Binary |
73+
| **Data bits** | Can select how many data bits are used for the serial port connection | Use the **Data bits** dropdown in the **additional settings** | 5, 6, 7, 8 |
74+
| **Stop bits** | Can select how many stop bits are used for the serial port connection | Use the **Stop bits** dropdown in the **additional settings** | 1, 1.5, 2 |
75+
| **Parity** | Can select what parity is used for the serial port connection | Use the **Parity** dropdown in the **additional settings** | None, Odd, Even, Mark, Space |
76+
| **File Logging** | Allows the ability to log output to a file | Use the **file logging** toggle button, as well as the **Choose Log File Directory** button to choose the desired directory in the **additional settings** | On/Off |
77+
| **Serial Wire Output (SWO)** | Can enable Serial Wire Output (SWO) decoding | Use the **Serial Wire Output** toggle in the **additional settings** in **TCP** mode | On/Off |
78+
79+
---

docs/sanitizers/asan-runtime.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ For more information, see the [Differences with Clang 12.0](asan.md#differences)
9393
- If set to `"protect"`, the runtime attempts to avoid using the overwritten definition and proceeds. Effectively, the original `memoryapi` definition of the function is used from inside the runtime to avoid infinite recursion. Other modules in the process still use the overwritten definition.
9494
- If set to `"ignore"`, the runtime doesn't attempt to correct any overwritten functions and proceeds with execution.
9595

96+
- `windows_fast_fail_on_error`
97+
Boolean (false by default), set to `true` to enable the process to terminate with a __fastfail(71) after printing the error report.
98+
>[!NOTE]
99+
>When abort_on_error value is set to true, on Windows the program terminates with an exit(3). In order to not change current behavior we decided to introduce this new option instead. If both abort_on_error and windows_fast_fail_on_error are true, the program will exit with the __fastfail.
96100
97101
## <a name="intercepted_functions"></a> AddressSanitizer list of intercepted functions (Windows)
98102

0 commit comments

Comments
 (0)