hello mjbcswitzerland,
Thank you for your answer,
I also tried µTasker and added a source file with some functions/tasks. I followed (i think) all the steps to add a task to the OS. I tried to initialise a PIT timer and to toggle a led of the FRDM-KV31F when an interrupt occurs. But my program doesn't work and is reset by the watchdog.
Even by compiling the last version of the project (where you added the FRDM-KV31F target) and without modification (only config.h, change the makefile for the target with the KV_512_96.ld and link the compiler), the MCU is reset by the watchdog. Did i miss something ?
PS : compiling by using the Makefile from the GNU_Kinetis folder with gcc-arm-none-eabi-7-2018-q2-update and KBOOT on the board.
Thanks in advance for your answer,
Regards,
Thomas