mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Use larger stack limit
This commit is contained in:
parent
b45dec9b1a
commit
97ea356e9d
@ -233,7 +233,7 @@ int main(void)
|
|||||||
{
|
{
|
||||||
// Stack limit should be less than real stack size, so we
|
// Stack limit should be less than real stack size, so we
|
||||||
// had chance to recover from limit hit.
|
// had chance to recover from limit hit.
|
||||||
mp_stack_set_limit((mp_uint_t) (&_stack_size - 512));
|
mp_stack_set_limit((mp_uint_t) (&_stack_size - 1024));
|
||||||
|
|
||||||
/* STM32F4xx HAL library initialization:
|
/* STM32F4xx HAL library initialization:
|
||||||
- Configure the Flash prefetch, instruction and Data caches
|
- Configure the Flash prefetch, instruction and Data caches
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user