[TLSR8266] 1, build tlsr8266 compilation framework in the win server

Source: Internet
Author: User

Objective

TLSR8266 Bluetooth chip development environment in the win desktop system is relatively simple to build, in its Forum SDK section->telink IDE can find the installation package, directly installed to build the eclipse-based development environment, and related download, debugging tools.

The goal of this article is to build a development environment in the win server, so the desktop system is slightly different, not suitable for beginners to see!

1, porting the desktop system Telink SDK files to the win Server 1.1 SDK directory copy

After installing the Telink SDK in the win desktop system, a Telink SDK directory is generated in the C directory and can be ported directly to the C:\tools\telink_tools directory under the C drive of the win server:

1.2 Adding environment variables

For convenience, we add the following two environment variables to the path of the system variable:

C:\tools\telink_tools\opt\tc32\bin\; C:\tools\telink_tools\bin\;

2. Build the project of TLSR8266 that can be compiled by script

In general this step requires us to write the makefile file ourselves. The Telink project here is based on eclipse (since Eclipse has the ability to automatically generate makefile), so we can use eclipse to automatically generate makefile for different projects.

Taking the Telink mesh project as an example, when compiling light_8266 is selected, the compile end generates a light_8266 directory under the \BLE_MESH_RELEASE\SDK (Vendor sibling directory):

This directory will automatically generate a makefile file, so that we can directly copy the project to the win server, the use of makefile through the command line compilation!

Makefile  objects.mk  proj/  sources.mk  subdir.mk  vendor/  version.  Inch

here Makefile provides two of the most important commands: make all to compile all, makes clean to clear all, the insurance is recommended to first complete the whole series!

:: If you feel good, please recommend to more people to help them solve the problem in the pit of real problems faster!

@beautifulzzzz Intelligent Hardware, Internet of things, love technology, focus on products blog: http://blog.beautifulzzzz.com Group of Friends: 414948975

[TLSR8266] 1, build tlsr8266 compilation framework in the win server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.