Full threadgte525u·uCOS-II and uCOS-III were open sourced a while ago as well https://github.com/weston-embeddedView on HN