Verified Commit c73f352b authored by Rahix's avatar Rahix
Browse files

fix(pycardium): Actually enable stack limit


Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 2974bf7b
......@@ -12,10 +12,8 @@ extern void *__HeapBase, *__HeapLimit;
int main(void)
{
if (0) {
mp_stack_set_top(&__StackTop);
mp_stack_set_limit((mp_int_t)&__StackLimit);
}
mp_stack_set_top(&__StackTop);
mp_stack_set_limit((mp_int_t)&__StackLimit);
/* TMR5 is used to notify on keyboard interrupt */
NVIC_EnableIRQ(TMR5_IRQn);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment