add translate.h and linker.h includes back to runtime.h; remove linker.h refs; remove top-level lib/cyw43-driver

This commit is contained in:
Dan Halbert 2023-09-20 21:48:24 -04:00
parent a00f2d8940
commit 10b95a1998
11 changed files with 3 additions and 19 deletions

@ -1 +0,0 @@
Subproject commit 36144f94bee69ad5e7b46fef06ce0c2405bafee5

View File

@ -27,8 +27,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include "supervisor/linker.h" // PLACE_IN_ITCM
#include "py/runtime.h" #include "py/runtime.h"
void PLACE_IN_ITCM(mp_arg_check_num_sig)(size_t n_args, size_t n_kw, uint32_t sig) { void PLACE_IN_ITCM(mp_arg_check_num_sig)(size_t n_args, size_t n_kw, uint32_t sig) {

View File

@ -29,8 +29,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "supervisor/linker.h" // CIRCUITPY: PLACE_IN_ITCM
#include "py/gc.h" #include "py/gc.h"
#include "py/runtime.h" #include "py/runtime.h"

View File

@ -29,8 +29,6 @@
#include <stdarg.h> #include <stdarg.h>
#include <assert.h> #include <assert.h>
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_TCM
#include "shared/runtime/interrupt_char.h" #include "shared/runtime/interrupt_char.h"
#include "py/obj.h" #include "py/obj.h"
#include "py/objtype.h" #include "py/objtype.h"

View File

@ -28,8 +28,6 @@
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_ITCM
#include "py/runtime.h" #include "py/runtime.h"
#include "py/builtin.h" #include "py/builtin.h"
#include "py/objtype.h" #include "py/objtype.h"

View File

@ -28,8 +28,6 @@
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_ITCM
#include "py/objtuple.h" #include "py/objtuple.h"
#include "py/objfun.h" #include "py/objfun.h"
#include "py/runtime.h" #include "py/runtime.h"

View File

@ -27,8 +27,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_ITCM
#include "py/nlr.h" #include "py/nlr.h"
#include "py/objproperty.h" #include "py/objproperty.h"
#include "py/runtime.h" #include "py/runtime.h"

View File

@ -28,8 +28,6 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "supervisor/linker.h" // CIRCUITPY: PLACE_IN_ITCM
#include "py/mpstate.h" #include "py/mpstate.h"
#include "py/qstr.h" #include "py/qstr.h"
#include "py/gc.h" #include "py/gc.h"

View File

@ -31,8 +31,6 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include "supervisor/linker.h" // PLACE_IN_ITCM
#include "py/parsenum.h" #include "py/parsenum.h"
#include "py/compile.h" #include "py/compile.h"
#include "py/mperrno.h" #include "py/mperrno.h"

View File

@ -31,6 +31,9 @@
#include "py/mpstate.h" #include "py/mpstate.h"
#include "py/pystack.h" #include "py/pystack.h"
#include "supervisor/linker.h"
#include "supervisor/shared/translate/translate.h"
typedef enum { typedef enum {
MP_VM_RETURN_NORMAL, MP_VM_RETURN_NORMAL,
MP_VM_RETURN_YIELD, MP_VM_RETURN_YIELD,

View File

@ -24,8 +24,6 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include "supervisor/linker.h" // PLACE_IN_ITCM
#include "py/runtime.h" #include "py/runtime.h"
#include "py/stackctrl.h" #include "py/stackctrl.h"