You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***\*Serial Communication from the M4 can be enabled by setting up an RPC that allows the M4 & M7 cores to communicate. Using `RPC.print()` (M4) and `RPC.read()` (M7) helps achieve this. See [RPC Serial Example](#rpc-serial).***
58
+
***\*Serial communication over USB on the M4 can be enabled only by setting up an RPC that allows the M4 & M7 cores to communicate. Using `RPC.print()` (M4) and `RPC.read()` (M7) helps achieve this. See [RPC Serial Example](#rpc-serial).***
59
59
60
60
### Boot / Disable M4
61
61
@@ -88,7 +88,7 @@ When programming the GIGA R1 WiFi's M7 and M4, we **create a sketch for each cor
88
88
Some essential things to consider when programming the cores are:
89
89
- You need to [partition the memory](#partitioning-the-flash-memory), allocating flash memory to the M4 core.
90
90
- You need to select the [target core](#target-core), which is either **Main Core** or **M4 Co-processor**.
91
-
- The M4 has no serial communication enabled, here we need to use RPC (see [RPC Serial example](#rpc-serial)).
91
+
- The M4 does not *directly* support serial over USB. To enable it, we need to use RPC (see [RPC Serial example](#rpc-serial)).
92
92
93
93
When writing multiple sketches, there are some things to consider to make your development experience easier:
94
94
- Name your sketches with either `_M4` or `_M7` suffix or prefix. This will make it easier if the code is intended to be shared with others.
@@ -342,7 +342,7 @@ That covered most of the `msgpackrpc` library's API and use cases. For a complet
342
342
343
343
In this section, you will find a series of examples that is based on the `RPC` library.
344
344
345
-
### RPC Serial
345
+
### USB Serial Using RPC
346
346
347
347
The `Serial.print()` command only works on the **M7 core**. In order to print values on the **M4**, we need to:
348
348
- Use `RPC.println()` on the M4. This will print the values to the RPC1 stream.
0 commit comments