How to run two tasks at the same time (LPCXpresso55s69 Board)

Hi. I created two tasks, and both tasks have set with the same priority. But when start running, only one task is running. May I know where to increase the number of tasks or what to do so that both tasks can run at the same time?

How do you know only one task is running?

Did you check both tasks were created successfully. - or was only one task created?

Please post your FreeRTOSConfig.h.

Also, please move your post to the kernel category in the forum as I don’t believe your question is NXP specific. I can do that for you if you don’t have the option.

Sorry, I am new users cannot upload attachments.

FreeRTOSConfig.h. (Part 1)

FreeRTOSConfig.h. (Part 2)

FreeRTOSConfig.h. (Part 3)

This is my code:
freertos_hello.c (1.9 KB)

The output terminal always prints Hello world.
image

Set configUSE_TIME_SLICING to 1 in your FreeRTOSConfig.h.

Thanks for your help.