BugID:16906212:Free memory for OTA on ESP8266
1)Kill tasks:linkkit,pmT,event_task:Free memory for OTA download on ESP8266
2)To avoid  build failure for the AWSS notify of otaapp
@@ -8,10 +8,11 @@ $(NAME)_COMPONENTS += network/netmgr \
middleware/uagent/uota \
utility/cjson
+ifeq ($(COMPILER),iar)
+$(NAME)_COMPONENTS += feature.linkkit-gateway-noawss
+else
$(NAME)_COMPONENTS += feature.linkkit-gateway
-
-$(NAME)_INCLUDES += \
- ../../../middleware/uagent/uota/src/service
+endif
GLOBAL_CFLAGS += -DCONFIG_DM_DEVTYPE_GATEWAY \
-DMQTT_DIRECT \
