Skip to content

Commit 10b95a1

Browse files
committed
add translate.h and linker.h includes back to runtime.h; remove linker.h refs; remove top-level lib/cyw43-driver
1 parent a00f2d8 commit 10b95a1

11 files changed

Lines changed: 3 additions & 19 deletions

File tree

lib/cyw43-driver

Lines changed: 0 additions & 1 deletion
This file was deleted.

py/argcheck.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
#include <stdlib.h>
2828
#include <assert.h>
2929

30-
#include "supervisor/linker.h" // PLACE_IN_ITCM
31-
3230
#include "py/runtime.h"
3331

3432
void PLACE_IN_ITCM(mp_arg_check_num_sig)(size_t n_args, size_t n_kw, uint32_t sig) {

py/gc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
#include <stdio.h>
3030
#include <string.h>
3131

32-
#include "supervisor/linker.h" // CIRCUITPY: PLACE_IN_ITCM
33-
3432
#include "py/gc.h"
3533
#include "py/runtime.h"
3634

py/obj.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
#include <stdarg.h>
3030
#include <assert.h>
3131

32-
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_TCM
33-
3432
#include "shared/runtime/interrupt_char.h"
3533
#include "py/obj.h"
3634
#include "py/objtype.h"

py/objdict.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
#include <string.h>
2929
#include <assert.h>
3030

31-
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_ITCM
32-
3331
#include "py/runtime.h"
3432
#include "py/builtin.h"
3533
#include "py/objtype.h"

py/objfun.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
#include <string.h>
2929
#include <assert.h>
3030

31-
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_ITCM
32-
3331
#include "py/objtuple.h"
3432
#include "py/objfun.h"
3533
#include "py/runtime.h"

py/objproperty.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
#include <stdlib.h>
2828
#include <assert.h>
2929

30-
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_ITCM
31-
3230
#include "py/nlr.h"
3331
#include "py/objproperty.h"
3432
#include "py/runtime.h"

py/qstr.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
#include <string.h>
2929
#include <stdio.h>
3030

31-
#include "supervisor/linker.h" // CIRCUITPY: PLACE_IN_ITCM
32-
3331
#include "py/mpstate.h"
3432
#include "py/qstr.h"
3533
#include "py/gc.h"

py/runtime.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
#include <string.h>
3232
#include <unistd.h>
3333

34-
#include "supervisor/linker.h" // PLACE_IN_ITCM
35-
3634
#include "py/parsenum.h"
3735
#include "py/compile.h"
3836
#include "py/mperrno.h"

py/runtime.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
#include "py/mpstate.h"
3232
#include "py/pystack.h"
3333

34+
#include "supervisor/linker.h"
35+
#include "supervisor/shared/translate/translate.h"
36+
3437
typedef enum {
3538
MP_VM_RETURN_NORMAL,
3639
MP_VM_RETURN_YIELD,

0 commit comments

Comments
 (0)