Kernel BUG at /usr/src/kernel/kernel/time/timer.c:806!

  1. Are you testing on r16.1?

  2. I saw the following in your crash log:

sleeping function called from invalid context

Does the system go sleep?

  1. Not sure if this helps to keep uart awake or disabling uart sleep mode, you can give a try:
  1. In addition, as you said " the error is thrown before the COMPONENT_INIT function is called ", does it solve if you delay the application start time?

  2. Lastly, do you see problem with this app?