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