当前位置:网站首页>Development of IOT device end - establishment of development environment
Development of IOT device end - establishment of development environment
2022-06-24 07:09:00 【fancyxu】
In order to better learn the relevant knowledge and practice of the IOT device side , Based on the previous iot hub c sdk Reorganized and rewritten iot-hub-device-c-sdk
The following is for this warehouse , Describe how to build the corresponding development environment .
summary
Tools | explain |
|---|---|
wsl | windows On linux Subsystem , In the windows Carry out simple linux Development |
vscode | Code editor , Cooperate with plug-ins to write code |
WSL The following software needs to be installed :
- cmake: The compilation framework of the project is built based on cmake
- gcc:linux Upper compiler
- g++: Provide googletest Unit test support
- googletest: Provide the unit test framework of the project
- gcovr: Provide unit test coverage statistics
- git: Code version control
- doxygen: Provide code annotation formatting and annotation visualization support
- graphviz: coordination doxygen Use , Provide header file dependency view
vscode The following plug-ins need to be installed :
- C/C++: Provide C/C++ Language development support
- Doxygen Documentation Generator: Provide doxygen Style annotation generation
- markdownlint:markdown Format check , Improve document quality
- Code Spell Checker: Word spelling check , Improve code quality
- GitLens:git Information and diff Support
WSL install
- Control panel -> Procedures and functions -> Enable or close Windows function -> Check Apply to Linux Of Windows Subsystem
- stay Microsoft Store Download Ubuntu
- Software installation
apt-get update # Install the required software apt-get install git cmake gcc g++ doxygen graphviz # install googletest apt-get install googletest gcovr cd /usr/src/googletest mkdir -p build cd build cmake .. && make && make install
VSCode install
- vscode install , See https://code.visualstudio.com/
- find Extensions, Search and install the corresponding plug-ins in turn
Development Notes
The IOT device end mainly uses C Language development , In order to improve the project quality , It needs to be developed according to the unified specification , It needs to be read carefully :
meanwhile , Need to follow Doxygen Specification , And based on googletest Write corresponding unit tests , Ensure unit test coverage .
边栏推荐
- Why use lock [readonly] object? Why not lock (this)?
- Asp+access web server reports an error CONN.ASP error 80004005
- Arduino融资3200万美元,进军企业市场
- Become TD hero, a superhero who changes the world with Technology | invitation from tdengine community
- 多传感器融合track fusion
- Cloudcompare & PCL point cloud clipping (based on clipping box)
- Working principle of online video server selection method for online video platform
- Record -- about the problem of garbled code when JSP foreground passes parameters to the background
- Oceanus kudu sink summary
- Functions in setinterval cannot have parentheses
猜你喜欢

Programmers use personalized Wallpapers

Database stored procedure begin end

Outils de débogage JVM - Arthas
![Jumping game ii[greedy practice]](/img/e4/f59bb1f5137495ea357462100e2b38.png)
Jumping game ii[greedy practice]

成为 TD Hero,做用技术改变世界的超级英雄 | 来自 TDengine 社区的邀请函

.NET7之MiniAPI(特别篇) :Preview5优化了JWT验证(上)

Open source and innovation

FreeRTOS MPU makes the system more robust!

数据同步工具 DataX 已经正式支持读写 TDengine

JVM调试工具-jvisualvm
随机推荐
Game website making tutorial and correct view of games
Project demo
为什么要用lock 【readonly】object?为什么不要lock(this)?
File system notes
Functions in setinterval cannot have parentheses
35 year old crisis? It has become a synonym for programmers
Spark项目打包优化实践
年中了,准备了少量的自动化面试题,欢迎来自测
学生管理系统页面跳转及数据库连接
OMX的初始化流程
[problem solving] the connection to the server localhost:8080 was referred
In the middle of the year, I have prepared a small number of automated interview questions. Welcome to the self-test
1. go deep into tidb: see tidb for the first time
0 foundation a literature club low code development member management applet (I)
0 foundation a literature club low code development member management applet (5)
Localized operation on cloud, the sea going experience of kilimall, the largest e-commerce platform in East Africa
JVM debugging tool -jvisualvm
大厂不是衡量能力的唯一出路,上财学姐毕业三年的经验分享
Do you know about Statistics?
The cloud monitoring system hertzbeat V1.1.0 is released, and a command starts the monitoring journey!