当前位置:网站首页>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 .
边栏推荐
- JVM调试工具-jps
- SAP实施项目上的内部顾问与外部顾问,相互为难还是相互成就?【英文版】
- 开源与创新
- What are the audio formats? Can the audio format be converted
- [binary number learning] - Introduction to trees
- Counter attack of flour dregs: MySQL 66 questions, 20000 words + 50 pictures
- 你有一个机会,这里有一个舞台
- [problem solving] virtual machine configuration static IP
- [cloud based co creation] overview of the IOT of Huawei cloud HCIA IOT v2.5 training series
- FreeRTOS MPU使系统更健壮!
猜你喜欢

The data synchronization tool dataX has officially supported reading and writing tdengine

原神方石机关解密

Rockscache schematic diagram of cache operation

Localized operation on cloud, the sea going experience of kilimall, the largest e-commerce platform in East Africa

【云驻共创】华为云HCIA-IoT V2.5培训系列内容之物联网概览

Challenges brought by maker education to teacher development

File system notes

JVM调试工具-Arthas
![[binary tree] - middle order traversal of binary tree](/img/93/442bdbecb123991dbfbd1e5ecc9d64.png)
[binary tree] - middle order traversal of binary tree

leetcode:84. The largest rectangle in the histogram
随机推荐
Mysql开启BINLOG
内网学习笔记(4)
Nine unique skills of Huawei cloud low latency Technology
Are internal consultants and external consultants in SAP implementation projects difficult or successful? [English version]
LuChen technology was invited to join NVIDIA startup acceleration program
虚拟文件系统
Spark项目打包优化实践
How to make a website? What should I pay attention to when making a website?
Application of intelligent reservoir management based on 3D GIS system
Audio knowledge (V) -- data processing
Jumping game ii[greedy practice]
Cloudcompare & PCL point cloud clipping (based on clipping box)
About Stacked Generalization
Accumulateur Spark et variables de diffusion
Spark accumulators and broadcast variables
成为 TD Hero,做用技术改变世界的超级英雄 | 来自 TDengine 社区的邀请函
puzzle(019.1)Hook、Gear
leetcode:1856. Maximum value of minimum product of subarray
In the middle of the year, I have prepared a small number of automated interview questions. Welcome to the self-test
Intelligent Vision Group A4 paper recognition example