Add header for PLACE_IN_ITCM
This commit is contained in:
parent
e05f79a9c0
commit
0c64275cc6
@ -24,3 +24,5 @@ numer
|
||||
arithmetics
|
||||
ftbfs
|
||||
straightaway
|
||||
ftbs
|
||||
ftb
|
||||
|
@ -27,6 +27,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "supervisor/linker.h" // PLACE_IN_ITCM
|
||||
|
||||
#include "py/runtime.h"
|
||||
|
||||
void PLACE_IN_ITCM(mp_arg_check_num_sig)(size_t n_args, size_t n_kw, uint32_t sig) {
|
||||
|
4
py/gc.c
4
py/gc.c
@ -29,6 +29,8 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "supervisor/linker.h" // CIRCUITPY: PLACE_IN_ITCM
|
||||
|
||||
#include "py/gc.h"
|
||||
#include "py/runtime.h"
|
||||
|
||||
@ -618,7 +620,7 @@ bool gc_alloc_possible(void) {
|
||||
#if MICROPY_GC_SPLIT_HEAP
|
||||
return MP_STATE_MEM(gc_last_free_area) != 0;
|
||||
#else
|
||||
area = &MP_STATE_MEM(area) != 0;
|
||||
return MP_STATE_MEM(area).gc_pool_start != 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
2
py/obj.c
2
py/obj.c
@ -29,6 +29,8 @@
|
||||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_TCM
|
||||
|
||||
#include "shared/runtime/interrupt_char.h"
|
||||
#include "py/obj.h"
|
||||
#include "py/objtype.h"
|
||||
|
@ -28,6 +28,8 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_ITCM
|
||||
|
||||
#include "py/runtime.h"
|
||||
#include "py/builtin.h"
|
||||
#include "py/objtype.h"
|
||||
|
@ -28,6 +28,8 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_ITCM
|
||||
|
||||
#include "py/objtuple.h"
|
||||
#include "py/objfun.h"
|
||||
#include "py/runtime.h"
|
||||
|
@ -27,6 +27,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "supervisor/linker.h" // CIRUCITPY: PLACE_IN_ITCM
|
||||
|
||||
#include "py/nlr.h"
|
||||
#include "py/objproperty.h"
|
||||
#include "py/runtime.h"
|
||||
|
@ -28,6 +28,8 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "supervisor/linker.h" // CIRCUITPY: PLACE_IN_ITCM
|
||||
|
||||
#include "py/mpstate.h"
|
||||
#include "py/qstr.h"
|
||||
#include "py/gc.h"
|
||||
|
@ -31,6 +31,8 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "supervisor/linker.h" // PLACE_IN_ITCM
|
||||
|
||||
#include "py/parsenum.h"
|
||||
#include "py/compile.h"
|
||||
#include "py/objstr.h"
|
||||
|
@ -24,6 +24,8 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "supervisor/linker.h" // PLACE_IN_ITCM
|
||||
|
||||
#include "py/runtime.h"
|
||||
#include "py/stackctrl.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user