Hi Phx!
Thanks for checking!
I was doing as you suggested: removing everything and adding it back little by little and I found the cause of the problem!
I use
__stack to enforce a stack size:
Code:
size_t __stack = GLOBALS_TASK_STACK_SIZE;
with
Code:
#define GLOBALS_TASK_STACK_SIZE 65535
Frankly, I don't know why I chose
65535 but this
odd number was the problem! After some experiments, it turns out that
65536 (any
even number, really) allows AmiModRadio to run
Now, AmiModRadio doesn't crash but it doesn't run because of some missing libraries, I'm going to test it fully...
Cheers!