Skip to content

Commit 6810f2c

Browse files
committed
py: Factor persistent code load/save funcs into persistentcode.[ch].
1 parent 64db408 commit 6810f2c

8 files changed

Lines changed: 547 additions & 482 deletions

File tree

esp8266/esp8266.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ SECTIONS
8888
*py/builtin*.o*(.literal* .text*)
8989
*py/compile.o*(.literal* .text*)
9090
*py/emit*.o*(.literal* .text*)
91+
*py/persistentcode*.o*(.literal* .text*)
9192
*py/formatfloat.o*(.literal* .text*)
9293
*py/frozenmod.o*(.literal* .text*)
9394
*py/gc.o*(.literal* .text*)

esp8266/esp8266_512k.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ SECTIONS
8888
*py/builtin*.o*(.literal* .text*)
8989
*py/compile.o*(.literal* .text*)
9090
*py/emit*.o*(.literal* .text*)
91+
*py/persistentcode*.o*(.literal* .text*)
9192
*py/formatfloat.o*(.literal* .text*)
9293
*py/frozenmod.o*(.literal* .text*)
9394
*py/gc.o*(.literal* .text*)

py/builtinimport.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include "py/nlr.h"
3333
#include "py/compile.h"
3434
#include "py/objmodule.h"
35+
#include "py/persistentcode.h"
3536
#include "py/runtime.h"
3637
#include "py/builtin.h"
3738
#include "py/frozenmod.h"

0 commit comments

Comments
 (0)