Skip to content

Commit

Permalink
docs: revising comments and documents
Browse files Browse the repository at this point in the history
- spi/slave.h: revise comments in pulic types section
- doc/sim.rst: minor formatting, add ways to escape cu

Signed-off-by: Yanfeng Liu <[email protected]>
  • Loading branch information
yf13 authored and xiaoxiang781216 committed Jan 25, 2024
1 parent fba4b25 commit ebef20e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 8 additions & 5 deletions Documentation/platforms/sim/sim/boards/sim/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ NOTES
running C++ static initializers until NuttX has been initialized.

fb
--

A simple configuration used for some basic (non-graphic) debug of the
framebuffer character drivers using apps/examples/fb.
Expand Down Expand Up @@ -1115,14 +1116,14 @@ rpproxy and rpserver

rpserver: Remote master(host) server process.
rpserver contains all the real hardware configuration, such as:
1.Universal Asynchronous Receiver/Transmitter (UART).
2.Specific File System.
3.Network protocol stack and real network card device.
4....
1. Universal Asynchronous Receiver/Transmitter (UART).
2. Specific File System.
3. Network protocol stack and real network card device.
4. ...

Rpmsg driver used in this example include:

1.Rpmsg Syslog
1. Rpmsg Syslog

Source::

Expand Down Expand Up @@ -1250,6 +1251,8 @@ To use this example:
1 1 224 FIFO Kthread --- Waiting Signal 00000000 002032 hpwork
3 3 100 FIFO Task --- Running 00000000 004080 init

To switch back the console, type ``"~."`` in the cu session.

3. RpmsgFS:

Mount the remote file system via RPMSGFS, cu to proxy first::
Expand Down
3 changes: 1 addition & 2 deletions include/nuttx/spi/slave.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,7 @@
*
* 4) When the first word from the master is shifted in, the SPI
* controller driver will call the device's receive() method to
* provide the master with the command word that was just shifted
* in.
* provide the master command word that was just shifted in.
*
* For the case of bi-directional data transfer or of a transfer of
* data from the SPI device to the master, the SPI device driver
Expand Down

0 comments on commit ebef20e

Please sign in to comment.