summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2020-03-30 11:06:36 +0800
committerSean Cross <sean@xobs.io>2020-03-31 09:40:38 +0800
commit1902579b465342e1adf7dcdc0c3abd5e035aa64b (patch)
tree4074885f0e98fd01ae9c043b90f8fbfc35660fc8 /supervisor
parent786e79ebc9b45c83dc0013e39b1e217889a9506b (diff)
supervisor: enable itcm memory region for fomu
Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'supervisor')
-rwxr-xr-xsupervisor/linker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/supervisor/linker.h b/supervisor/linker.h
index b58414433..d68be2437 100755
--- a/supervisor/linker.h
+++ b/supervisor/linker.h
@@ -29,7 +29,7 @@
#ifndef MICROPY_INCLUDED_SUPERVISOR_LINKER_H
#define MICROPY_INCLUDED_SUPERVISOR_LINKER_H
-#if defined(IMXRT10XX)
+#if defined(IMXRT10XX) || defined(FOMU)
#define PLACE_IN_DTCM_DATA(name) name __attribute__((section(".dtcm_data." #name )))
#define PLACE_IN_DTCM_BSS(name) name __attribute__((section(".dtcm_bss." #name )))
#define PLACE_IN_ITCM(name) __attribute__((section(".itcm." #name ))) name