summaryrefslogtreecommitdiffstatshomepage
path: root/docs/develop/porting.rst
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-07-09 14:19:15 +1000
committerDamien George <damien@micropython.org>2021-07-12 17:08:10 +1000
commit136369d72f5b99ec23c9c9f178a590bde968e2ee (patch)
tree6d75116e1e11a4fbd5bf9765062350016e303375 /docs/develop/porting.rst
parent4d546713ec8858cbf908de45de11cbfc46a20971 (diff)
downloadmicropython-136369d72f5b99ec23c9c9f178a590bde968e2ee.tar.gz
micropython-136369d72f5b99ec23c9c9f178a590bde968e2ee.zip
all: Update to point to files in new shared/ directory.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/develop/porting.rst')
-rw-r--r--docs/develop/porting.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/develop/porting.rst b/docs/develop/porting.rst
index 59dd570008..08f3557f18 100644
--- a/docs/develop/porting.rst
+++ b/docs/develop/porting.rst
@@ -42,8 +42,8 @@ The basic MicroPython firmware is implemented in the main port file, e.g ``main.
#include "py/gc.h"
#include "py/mperrno.h"
#include "py/stackctrl.h"
- #include "lib/utils/gchelper.h"
- #include "lib/utils/pyexec.h"
+ #include "shared/runtime/gchelper.h"
+ #include "shared/runtime/pyexec.h"
// Allocate memory for the MicroPython GC heap.
static char heap[4096];
@@ -106,10 +106,10 @@ We also need a Makefile at this point for the port:
SRC_C = \
main.c \
mphalport.c \
- lib/mp-readline/readline.c \
- lib/utils/gchelper_generic.c \
- lib/utils/pyexec.c \
- lib/utils/stdout_helpers.c \
+ shared/readline/readline.c \
+ shared/runtime/gchelper_generic.c \
+ shared/runtime/pyexec.c \
+ shared/runtime/stdout_helpers.c \
# Define the required object files.
OBJ = $(PY_CORE_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))