当前位置:网站首页>New project folder based on PIO plug-in in vscode -- Interpretation
New project folder based on PIO plug-in in vscode -- Interpretation
2022-06-30 06:10:00 【Drunken thoughts】
VSCODE Based on PIO Plug in new project folder —— Reading
New PIO Screenshot of project folder 
It is generally divided into the following six folders
.pio :
The main storage is pio Some configuration information of the plug-in , Only in vscode When it's running , Yes and only vscodeE Can identify this part of the code , Users don't need to know .
.vscode
Deposit vscode Configuration file for , One of the most commonly used is the user's library file path 、 Compiler path 、 Dynamic link library file, etc …
include
Store your own library files .h Code , Their corresponding .cpp The file should be stored below src In the folder , stay src Medium main.cpp After the header file is included in , Call the corresponding function directly .
lib
Store the underlying library files , For example, some drivers ,IIC、SPI And so on , These drivers generally do not need to be changed , So just put this part of the code ( contain .h and .cpp file ) All under this folder , For other functions to call .
src
Deposit main.cpp Code , as well as include Corresponding .c file .
test
Store part of the test code , It is seldom used
platformio.ini
pio The main configuration file , It mainly plays a role in controlling 、 Set up pio Parameter settings
[env:esp32cam]
platform = espressif32
board = esp32cam
framework = arduino
upload_speed = 1500000
monitor_speed = 115200
[platformio]
description = ESP32CAM_UDP video transmission V1.5
README.md
User created readme file , Analogy to Github In the document GREADME file .
Be careful !!!!
Beginners can learn include Put header file src Put it in the middle .clib Intermediate storage , It is a module that you have written or someone else has written , It's mainly related to the idea when you write the program Module means that you will not modify it in this project , Call it directly .
You can also be on your own lib Create a folder Then configure this folder in the configuration file to add compilation , You can find it at compile time
边栏推荐
- Cisco vxlan configuration
- Golang之手写web框架
- Title: enter two positive integers m and N to find their maximum common divisor and minimum common multiple
- There is a group of students' score {99, 85, 82, 63, 60}. To add a student's score, insert it into the score sequence and keep the descending order
- Intelligent deodorizer embedded development
- 观察者模式、状态模式在实际工作中的使用
- Vscode configuration proxy
- uniapp 微信小程序返回上一页并刷新
- Turn off automatic outlining in Visual Studio - turning off automatic outlining in Visual Studio
- MySQL storage system
猜你喜欢

STM32F103系列控制的OLED IIC 4针

Golang之手写web框架

Use of observer mode and status mode in actual work

关于Glide加载图片模糊不清楚

MySQL advanced SQL statement

File operation io-part1

DXP copper laying settings

MySQL 索引

Multithreading advanced level

Mysql database learning notes - foreign keys, table connections, subqueries, and indexes for MySQL multi table queries
随机推荐
DXP copper laying settings
Verilog中case,casez,casex语句的用法
InputStream转InputStreamSource
网络基础知识
Implementation of property management system with ssm+ wechat applet
Rotate dimension tool rolabelimg
接口中方法详解
重构之美:当多线程批处理任务挑起大梁 - 万能脚手架
ES6扩展运算符(...)
Vscode configuration proxy
Lantern Festival | maoqiu technology and everyone "guess riddles and have a good night"
luoguP2756 飞行员配对方案问题(最大流)
Use of observer mode and status mode in actual work
Summary of 2 billion redis data migration
Dao -- a beautiful new world?
C language code record
Create uiactionsheet [duplicate] - creating uiactionsheet [duplicate]
Intelligent question - horse racing question
Summation of basic exercise sequence of test questions
[exercise] basic practice letter graph of Blue Bridge Cup