aboutsummaryrefslogtreecommitdiff
path: root/supervisor/shared/stack.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-04-17 16:23:28 -0700
committerScott Shawcroft <scott@tannewt.org>2020-05-15 15:36:16 -0700
commit6aaab005c5f3a781fec229640c74bf44a601fc97 (patch)
treed81d0c4d0387a15f8ea764ea31062d47527a4390 /supervisor/shared/stack.h
parent0d8bca92e208e705150097d26db6a5390dc9eb9b (diff)
Initial ESP32S2 port.
Basic blinky works but doesn't check pins.
Diffstat (limited to 'supervisor/shared/stack.h')
-rwxr-xr-xsupervisor/shared/stack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/supervisor/shared/stack.h b/supervisor/shared/stack.h
index 1fb43be57..7096f0b3e 100755
--- a/supervisor/shared/stack.h
+++ b/supervisor/shared/stack.h
@@ -43,6 +43,8 @@ bool stack_ok(void);
// exception when the stack has likely overwritten a portion of the heap.
void assert_heap_ok(void);
+#ifndef STACK_CANARY_VALUE
#define STACK_CANARY_VALUE 0x017829ef
+#endif
#endif // MICROPY_INCLUDED_SUPERVISOR_STACK_H