mbed_rtos seems to limit 3 tasks for LPC11U24?

25 Sep 2012

Hi, Although the RTX_Conf_CM.c has the following defined maximum of tasks:

#ifndef OS_TASKCNT
#  if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
#    define OS_TASKCNT         14
#  elif defined(TARGET_LPC11U24)
#    define OS_TASKCNT         6
#  endif
#endif

when I create more than 2 tasks (excl. the main task), the program builds OK but won't run after flashing to target. The 3rd task I created is just an empty task for testing. If I change the target to LPC1768, same program works fine with 3 tasks.

Any hint as why? Cheers.

25 Sep 2012

Tried manually increasing OS_TASKCNT to 14 for LPC11U24. Didn't make any difference.