1. Add support to kconfig 2. clean the code.
1. Add Heap_Size define for Keil toolchain 2. Disable pthreads in rtconfig.h