made USE_FULL_ASSERT optional
added support for use without freertos.