summaryrefslogtreecommitdiffstatshomepage
path: root/docs/develop/porting.rst
diff options
context:
space:
mode:
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))