Hi Joel, On 5/15/19 12:21 PM, Joël Carron wrote: > Finally, I found that if I remove the flag DEVELHELP but I add the flag > SCHED_TEST_STACK, my app survives the simulated power outages. Then I > tried to work without any of these flags in my Makefile and to remove > some #ifdef. After a while, I found that removing the #ifdef in files : > > - core/thread.c around line "cb->stack_start = stack;" > > - core/include/thread.h around line : "char *stack_start;" > > was solving my issue.
Thst is indeed weird. On which board/platform is this? As stack_start isn't available without DEVELHELP or SCHED_TEST_STACK, it really shouldn't cause your board to not start anymore. Can you share you code? Kaspar _______________________________________________ users mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/users
