diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-01-27 14:11:08 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-27 14:11:08 -0800 |
| commit | b36b2493bced9ca127803b307f0c6df52c9568f0 (patch) | |
| tree | 133f22d411dc0d0b804d1d1d7d3740f337fce304 /py/obj.c | |
| parent | 7c11a5ad6d59d6a87eec4cfb6ed4728d0c06761b (diff) | |
| parent | 085242bf5c05fec4ae0450712879e78b7e35ac38 (diff) | |
Merge pull request #2532 from tannewt/teensy4-dev
Refine iMX RT memory layout and add three boards
Diffstat (limited to 'py/obj.c')
| -rw-r--r-- | py/obj.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,6 +38,7 @@ #include "py/stackctrl.h" #include "py/stream.h" // for mp_obj_print +#include "supervisor/linker.h" #include "supervisor/shared/stack.h" #include "supervisor/shared/translate.h" @@ -128,7 +129,7 @@ void mp_obj_print_exception(const mp_print_t *print, mp_obj_t exc) { mp_print_str(print, "\n"); } -bool mp_obj_is_true(mp_obj_t arg) { +bool PLACE_IN_ITCM(mp_obj_is_true)(mp_obj_t arg) { if (arg == mp_const_false) { return 0; } else if (arg == mp_const_true) { |
