当前位置:网站首页>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
边栏推荐
- Go common judgments
- Swoole process model diagram
- How to use unmarshaljson
- Data read / write: realize data read / write function based on C # script in unity
- Prototype and prototype chain in JS
- ES6箭头函数
- [exercise] basic practice letter graph of Blue Bridge Cup
- Decompilation normal decompilation problems. Solve them yourself
- Is it safe to open an account online? Can you open an account to speculate on the Internet?
- Summary of redis learning notes (I)
猜你喜欢
![[deep learning] data segmentation](/img/16/798881bbee66faa2fb8d9396155010.jpg)
[deep learning] data segmentation
![[MD editing required] welcome to the CSDN markdown editor](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[MD editing required] welcome to the CSDN markdown editor

Common NPM install errors

Use of observer mode and status mode in actual work

Beauty of Refactoring: when multithreaded batch processing task lifts the beam - Universal scaffold

DXP copper laying settings
一个完整的性能测试流程

Tornado frame foundation

电脑查看WiFi使用密码

SHELL
随机推荐
Es6数组
Golang's handwritten Web Framework
Dynamic programming -- gliding wing of the strange thief Kidd
Title: enter two positive integers m and N to find their maximum common divisor and minimum common multiple
IP TCP UDP network encryption suite format
MySQL存储系统
Use and principle of completionservice (source code analysis)
Common mistakes daily practice 01
Leetcode56. consolidation interval
8 ways to earn passive income
01. 正则表达式概述
Beauty of Refactoring: when multithreaded batch processing task lifts the beam - Universal scaffold
旋转标注工具roLabelImg
MySQL log management, data backup and recovery
观察者模式、状态模式在实际工作中的使用
Network basics
[secretly kill little partner pytorch20 days] - [day4] - [example of time series data modeling process]
Implementation of property management system with ssm+ wechat applet
[MD editing required] welcome to the CSDN markdown editor
46. 全排列-dfs双百代码