diff options
author | Damien George <damien@micropython.org> | 2020-10-29 17:32:39 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-10-29 23:10:43 +1100 |
commit | dbb13104ca612d1b2b289adc51c028a1bd1f7d1d (patch) | |
tree | 1fe2748127834a0db048fac1b87cb9876f4b09b1 | |
parent | 25c4563f26c2270cde01b01dca0e8b801c9c8282 (diff) |
docs/develop/cmodules.rst: Add link to source code for user C example.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r-- | docs/develop/cmodules.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/develop/cmodules.rst b/docs/develop/cmodules.rst index 2d08df828..2db1f65f2 100644 --- a/docs/develop/cmodules.rst +++ b/docs/develop/cmodules.rst @@ -61,8 +61,9 @@ Basic example This simple module named ``cexample`` provides a single function ``cexample.add_ints(a, b)`` which adds the two integer args together and returns -the result. It can be found in the MicroPython source tree and has -a source file and a Makefile fragment with content as descibed above:: +the result. It can be found in the MicroPython source tree +`in the examples directory <https://github.com/micropython/micropython/tree/master/examples/usercmodule/cexample>`_ +and has a source file and a Makefile fragment with content as descibed above:: micropython/ └──examples/ |