FW-16 adding semaphores to control tasks

increasing ram size in cc2538.