MediaTek LinkIt™ Smart 7688 Developer's Guide
© 2015, 2016 MediaTek Inc.
Page 28
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Programming
language
Tools and libraries
Applications
Host platforms
LinkIt Smart 7688
•
Network
•
Linux
•
Windows
Table 9 LinkIt Smart 7688 Programming Environment Overview
3.3.
Programming Model for Different Boards
The LinkIt Smart 7688 and LinkIt Smart 7688 Duo development boards share the same core
programming environment. The main difference is the interface available on these two boards,
and the additional microcontroller on LinkIt Smart 7688 Duo.
Figure 11 illustrates the different programming models on LinkIt Smart 7688 and LinkIt Smart
7688 Duo and the related software stacks used to access sensors.
Figure 11 Programming models for the LinkIt Smart 7688 development platform
On the LinkIt Smart 7688 development board external devices and peripherals are connected to
the MT7688 MPU and controlled by the Linux environment. The device application also executes
in the Linux environment on the MT7688 MPU.
While on the LinkIt Smart 7688 Duo development board external devices and peripherals are
connected to and controlled by the ATmega32U4 MCU. However, because the MPU and MSC are
able to communicate with one another (over a UART connection), you can choose to create the
device application for the MPU (in native C/C++, Python or node.js) or MCU as Arduino sketches.
Based on different levels of programmability and user scenarios, different software stacks and
approaches can be used as shown in Figure 13. If you are using LinkIt Smart 7688 board, refer to
chapter 5, “Peripheral Programming on LinkIt Smart 7688” to know how to connect to different
devices and peripherals. If you are using LinkIt Smart 7688 Duo, refer to chapter 6, “Peripheral
Programming on LinkIt Smart 7688 Duo” to know how to setup Arduino IDE for programming on
the microcontroller, and how to communicate between MT7688 and the ATmega32U4
microcontroller.