We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1160635 commit 389c813Copy full SHA for 389c813
main.c
@@ -98,7 +98,7 @@ void do_str(const char *src, mp_parse_input_kind_t input_kind) {
98
}
99
100
#if MICROPY_ENABLE_PYSTACK
101
-static size_t PLACE_IN_DTCM_BSS(_pystack)[CIRCUITPY_PYSTACK_SIZE / sizeof(size_t)];
+static size_t PLACE_IN_DTCM_BSS(_pystack[CIRCUITPY_PYSTACK_SIZE / sizeof(size_t)]);
102
#endif
103
104
void start_mp(supervisor_allocation* heap) {
@@ -130,7 +130,7 @@ void start_mp(supervisor_allocation* heap) {
130
readline_init0();
131
132
133
- mp_pystack_init(_pystack, _pystack + sizeof(_pystack));
+ mp_pystack_init(_pystack, _pystack + (sizeof(_pystack) / sizeof(size_t)));
134
135
136
#if MICROPY_ENABLE_GC
0 commit comments