text: ﻿/*
  * Gulp Common - Microsoft Sample Code - Copyright (c) 2016 - Licensed MIT
  */
  'use strict';
  
  /**
   * Main entry point for all Arduino ESP8266 boards.
   * @param {object} gulp     - Gulp instance
   * @param {object} options  - Arduino specific options
   */
  function initTasks(gulp, options) {
  
    options.board.package = 'esp8266';
    options.board.arch = 'esp8266';
    options.board.packageUrl = 'http://arduino.esp8266.com/stable/package_esp8266com_index.json';
  
    options.libraries = options.libraries || [];
    options.libraries.push('AzureIoTHub');
    options.libraries.push('AzureIoTUtility');
    options.libraries.push('AzureIoTProtocol_HTTP');
    options.libraries.push('AzureIoTProtocol_MQTT');
    require('./arduino.js')(gulp, options);
  }
  
  module.exports = initTasks;
  