[ARCH_MAX] fix a error and add uvision and gcc template