[Uvision] check if MCU_def exists, raise an error if it throws an exception