Mediatek Linkit™ Development Platform for RTOS Get Started Guide

Mediatek Linkit™ Development Platform for RTOS Get Started Guide

MediaTek LinkIt™ Development Platform for RTOS Get Started Guide Version: 3.0 Release date: 30 June 2016 © 2015 - 2016 MediaTek Inc. This document contains information that is proprietary to MediaTek Inc. (“MediaTek”) and/or its licensor(s). MediaTek cannot grant you permission for any material that is owned by third parties. You may only use or reproduce this document if you have agreed to and been bound by the applicable license agreement with MediaTek (“License Agreement”) and been granted explicit permission within the License Agreement (“Permitted User”). If you are not a Permitted User, please cease any access or use of this document immediately. Any unauthorized use, reproduction or disclosure of this document in whole or in part is strictly prohibited. THIS DOCUMENT IS PROVIDED ON AN “AS-IS” BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES OF ANY KIND AND SHALL IN NO EVENT BE LIABLE FOR ANY CLAIMS RELATING TO OR ARISING OUT OF THIS DOCUMENT OR ANY USE OR INABILITY TO USE THEREOF. Specifications contained herein are subject to change without notice. MediaTek LinkIt™ Development Platform for RTOS Get Started Guide Document Revision History Revision Date Description 1.0 24 March 2016 Initial version. 2.0 17 May 2016 Move the contents relative to flash, HDK, and build comments to corresponding documents. Add the support of Keil 3.0 30 June 2016 Add the support of IAR. Refine the architecture and provide more information on the SDK usage. © 2015 - 2016 MediaTek Inc. Page i of v This document contains information that is proprietary to MediaTek Inc. (“MediaTek”) and/or its licensor(s). Any unauthorized use, reproduction or disclosure of this document in whole or in part is strictly prohibited. MediaTek LinkIt™ Development Platform for RTOS Get Started Guide Table of contents 1. Overview ............................................................................................................................................ 1 1.1. Architecture of the platform .............................................................................................................. 1 1.2. Supported key components ............................................................................................................... 5 1.2.1. Wi-Fi .................................................................................................................................. 5 1.2.2. Network ............................................................................................................................ 5 1.2.3. Bluetooth/Bluetooth Low Energy ..................................................................................... 6 1.2.4. Sensor subsystem ............................................................................................................. 7 1.2.5. GNSS ................................................................................................................................. 7 1.2.6. FOTA ................................................................................................................................. 7 1.2.7. Peripheral drivers ............................................................................................................. 8 1.2.8. Battery management ........................................................................................................ 9 1.2.9. Advanced features and components .............................................................................. 10 1.3. Folder structure ................................................................................................................................ 10 1.4. Project source structure ................................................................................................................... 13 2. Getting Started Using GCC ................................................................................................................. 14 2.1. Environment ..................................................................................................................................... 14 2.2. Developing on LinkIt 7687 HDK ........................................................................................................ 14 2.2.1. Configuring the LinkIt 7687 HDK ..................................................................................... 14 2.2.2. Installing the LinkIt 7687 HDK drivers on Microsoft Windows ....................................... 16 2.2.3. Installing MT76x7 Flash Tool for LinkIt 7687 HDK .......................................................... 16 2.2.4. Flashing the image to LinkIt 7687 HDK ........................................................................... 18 2.2.5. Running the project on LinkIt 7687 HDK......................................................................... 20 2.2.6. Debugging with the LinkIt 7687 HDK from Microsoft Windows ..................................... 20 2.3. Developing on LinkIt 2523 HDK ........................................................................................................ 22 2.3.1. Configuring the LinkIt 2523 HDK ..................................................................................... 22 2.3.2. Installing the LinkIt 2523 HDK drivers on Microsoft Windows ....................................... 23 2.3.3. Installing MT2523 Flash Tool for LinkIt 2523 HDK .......................................................... 25 2.3.4. Flashing the image to LinkIt 2523 HDK ........................................................................... 26 2.3.5. Running the project on LinkIt 2523 HDK......................................................................... 28 2.3.6. Debugging with the LinkIt 2523 HDK from Microsoft Windows ..................................... 28 2.4. Building the project using the SDK ................................................................................................... 30 2.4.1. Preparing the SDK build environment ............................................................................ 31 2.4.2. Methods to build a project ............................................................................................. 38 2.5. Create your own project ................................................................................................................... 41 2.5.1. Using an existing project ................................................................................................. 41 2.5.2. Deleting a module ........................................................................................................... 42 2.5.3. Add the source and header files ..................................................................................... 42 3. Getting Started Using Keil µVision IDE ............................................................................................... 44 3.1. Environment ..................................................................................................................................... 44 3.2. Installing the Microsoft Windows version of Keil ............................................................................. 44 3.2.1. Installing the µVision IDE ................................................................................................ 44 3.2.2. Installing the Keil package for the SDK ........................................................................... 44 3.3. Build the project ............................................................................................................................... 45 3.4. Download and run the project ......................................................................................................... 47 3.4.1. Downloading the project binary using the Keil µVision IDE ........................................... 47 3.4.2. Downloading the project binary using Flash Tool or using HDK as a removable storage device .............................................................................................................................. 51 3.4.3. Running the project ........................................................................................................ 52 3.5. Debug configuration ......................................................................................................................... 53 © 2015 - 2016 MediaTek Inc. Page ii of v This document contains information that is proprietary to MediaTek Inc. (“MediaTek”) and/or its licensor(s). Any unauthorized use, reproduction or disclosure of this document in whole or in part is strictly prohibited. MediaTek LinkIt™ Development Platform for RTOS Get Started Guide 4. Getting Started Using IAR .................................................................................................................. 57 4.1. Environment ..................................................................................................................................... 57 4.2. Supported features on LinkIt HDK .................................................................................................... 57 4.3. Installing the Microsoft Windows version of IAR ............................................................................. 57 4.4. Build the project ............................................................................................................................... 57 4.5. Download and run the project ......................................................................................................... 59 4.5.1. Download the project ....................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    76 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us