BugID:17865306: Fix compile error at platform/mcu directory
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
+
+#ifdef CONFIG_AOS_CLI
+
#include "aos/aos.h"
#include "esp_ota_ops.h"
#include "esp_log.h"
@@ -105,3 +108,6 @@ int board_cli_init(void)
{
return aos_cli_register_command(&boot_from_cmd);
}
+
+#endif
+
