If I create a new thread with tx_thread_create() I can specify the stack size. But what’s the stack size of the main thread?
The root thread stack size is defined by manifest constant APP_ROOT_STACK_SIZE as defined in the file appconf.h. There is a copy of this file included with all example applications. This information is also included in the API reference guide included in the documentation directory of the kit.