当前位置:网站首页>Pupanvr create project and management script (2)
Pupanvr create project and management script (2)
2022-06-12 04:56:00 【hi_ LeTian】
Introduce
PUPANVR Is an open source embedded system NVR System , Designed to create a multi platform , Easy to use , The stability of the NVR System .
NVR Project description
Configuration of the project , Compilation is a reference Live555 Written in an open source way , It is mainly reflected in the root directory config Folder . But some scripts are from other chip manufacturers BSP You can take it in , For example, some scripts in Hisilicon security chip . Pay attention to the environment bash Used for debugging , Other environments have not been tested and used .
Purpose of the project
Implement different hardware in the same project , chip , Product function , Try to maintain a set of code .
Directory description
├── app Main application source code directory
├── config Product configuration catalog of different models
├── doc Document directory
├── hardware Some documents corresponding to different hardware
├── product Some documents corresponding to different products
└── tool Some tools will be packed when packaging , Put it here
Compile the way
1. For different products , For example, the hardware is different or the business is different , stay config Write a configuration file in the directory ; 2. Execute in the project directory ./config/genMakefiles P30 (P30 Is the corresponding product configuration file name ,config Under the table of contents ), This step will generate buildout Catalog , And generate... In the directory Makefile; 3. Execute directly under the project directory make app Compile application ;
stay buildout In the directory Makefile How is it generated , Please check out config Inside genMakefiles Related scripts .
In the past product development practice , Will face different hardware , Different product definitions , Function and other changes . In the project directory, a hardware The catalog of , Use this directory to isolate hardware related differences between different products .
stay product Directory , This directory can be used to isolate the differences between different products ,
also tool The subdirectories of the directory are used to distinguish and place files by chip , It is also convenient to distinguish different products , Different chip hardware , There may be some duplicate files .
app The directory stores the application engineering code , Use CMake To manage code scripts .
Product configuration example
Such as config In the directory P30 file , Content :
# Define the cross compilation tool chain
export PROJECT_CROSS_COMPILE=arm-hisiv600-linux
# Define the chip model
export DEV_CHIP=hi3536c
export DEV_OS=LINUX
export DEV_SDK=hi3536c
# Define the product model
export PRODUCT_SCRIPT=normal
# Product model
export PRODUCT_MODEL=P30
export PRODUCT_BOARD=P30
export PRODUCT_MODEL_NUMBER=PUPANVR
export PROJECT_CFLAGS=""
export PROJECT_CPPFLAGS=""Tool chains are defined respectively , Chip model , Product model , Hardware board end model , These macros will be imported into a header file through scripts , These macros can also be used in applications to distinguish different products !
边栏推荐
- Parallelization of accelerated training tf data. Dataset generator
- Pytorch was reported by a large number of netizens that torchrec, a new library, was "born" and has a large scale
- 2022 examination questions and online simulation examination for safety management personnel of hazardous chemical business units
- Enhanced vegetation index evi, NDVI data, NPP data, GPP data, land use data, vegetation type data, rainfall data
- How to construct a search string?
- 2022 "college entrance examination memory" has been packaged, please check!
- A complete set of installation procedures (for learning and communication only)
- From science to startup
- cellular automaton
- Let me tell you the benefits of code refactoring
猜你喜欢

QT compiling security video monitoring system 44 video uploading

22-2-28 there are many things to do at work today, ETH analysis

Longest palindrome string

Surface net radiation flux data, solar radiation data, rainfall data, air temperature data, sunshine duration, water vapor pressure distribution, wind speed and direction data, surface temperature

1008 color classification

2022 electrician (elementary) operation certificate examination question bank and online simulation examination

Let me tell you the benefits of code refactoring

Bearpi IOT lighting LED

Can‘t find a suitable configuration file in this directory or any parent. Error reporting and resolution

L1-066 cat is liquid (5 points)
随机推荐
Yolo opencv scale identification scale reading identification water gauge identification water level identification source code
Parallelization of accelerated training tf data. Dataset generator
[GIS tutorial] ArcGIS for sunshine analysis (with exercise data download)
Applet pull-down load refresh onreachbottom
[cjson] precautions for root node
JWT學習與使用
Musk promotes the development of fascinating new products partners remind important questions
Surface net radiation flux data, solar radiation data, rainfall data, air temperature data, sunshine duration, water vapor pressure distribution, wind speed and direction data, surface temperature
Realease package appears – missing type parameter
Operation of simulated examination platform for 2022 safety officer-b certificate examination questions
2022 self study materials for Zhejiang computer level III network and security technology examination (1) (updated on 2.28)
Shandong University network security range experimental platform -- team and project introduction
LabVIEW about TDMS and binary storage speeds
Can‘t find a suitable configuration file in this directory or any parent. Error reporting and resolution
Ray. Tune visual adjustment super parameter tensorflow 2.0
Soil type, soil texture, soil nutrient and change data, soil organic matter, soil pH, soil nitrogen, phosphorus and potassium
Parallélisation de l'entraînement accéléré TF. Données. Générateur de données
Token based authentication
Deploying a single node kubernetes cluster using rancher-2.5.5
Based on Visual Studio code Net Maui cross platform mobile application development