summaryrefslogtreecommitdiff
path: root/supervisor/shared/background_callback.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-09-28 19:21:17 -0700
committerScott Shawcroft <scott@tannewt.org>2020-10-07 15:23:47 -0700
commit09bc4157516dd59754a3eb1a5dbbb72a758ebe93 (patch)
tree46de32721edd327585e39c9e9bc4dd1beac20c5d /supervisor/shared/background_callback.c
parent66c25667d88db412a90d47cb80bf178e5a6669b2 (diff)
Unify iMX flash config and add Metro M7 1011
This unifies the flash config to the settings used by the Boot ROM. This makes the config unique per board which allows for changing quad enable and status bit differences per flash device. It also allows for timing differences due to the board layout. This change also tweaks linker layout to leave more ram space for the CircuitPython heap.
Diffstat (limited to 'supervisor/shared/background_callback.c')
-rw-r--r--supervisor/shared/background_callback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/supervisor/shared/background_callback.c b/supervisor/shared/background_callback.c
index 8e12dd362..ef686cbab 100644
--- a/supervisor/shared/background_callback.c
+++ b/supervisor/shared/background_callback.c
@@ -29,6 +29,7 @@
#include "py/gc.h"
#include "py/mpconfig.h"
#include "supervisor/background_callback.h"
+#include "supervisor/linker.h"
#include "supervisor/shared/tick.h"
#include "shared-bindings/microcontroller/__init__.h"
@@ -63,7 +64,7 @@ void background_callback_add(background_callback_t *cb, background_callback_fun
}
static bool in_background_callback;
-void background_callback_run_all() {
+void PLACE_IN_ITCM(background_callback_run_all)() {
if (!callback_head) {
return;
}