Skip to content

Commit 9f396bb

Browse files
yf13dpgeorge
authored andcommitted
docs/develop/porting: Update session log for example port.
This updates session log to be in line with behavior of latest ports/minimal. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
1 parent 586ad0d commit 9f396bb

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/develop/porting.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,12 @@ That should give a MicroPython REPL. You can then run commands like:
241241

242242
.. code-block:: bash
243243
244-
MicroPython v1.13 on 2021-01-01; example-board with unknown-cpu
245-
>>> import sys
246-
>>> sys.implementation
247-
('micropython', (1, 13, 0))
244+
MicroPython v1.26.0-preview on 2025-08-01; minimal with unknown-cpu
245+
>>> def sum(n, m):
246+
... return n + m
247+
...
248+
>>> 3, 4, sum(3, 4)
249+
(3, 4, 7)
248250
>>>
249251
250252
Use Ctrl-D to exit, and then run ``reset`` to reset the terminal.

0 commit comments

Comments
 (0)