-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprojectconfigstruct.h
41 lines (40 loc) · 1.17 KB
/
projectconfigstruct.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef PROJECTCONFIGSTRUCT_H
#define PROJECTCONFIGSTRUCT_H
#include<QHash>
#include<QString>
namespace ArmMcu {
struct ProjectConfig
{
QString ProjectFilePath;//qbs or keil project file path
QString OutPutPath;
QString TargetName;//ProjectName
QString Device; //device name .eg:stm32F103C8T6,
QString Vendor;
QString CpuType;
quint32 clockFrequency;//clock Frequency.eg:stm32f1 clockFrequency can set 72Mhz
QStringList Defines; //eg:gcc -DXXXXXXXX
QStringList IncludePath;//eg: gcc -I
QHash<QString,QStringList> group;//<grout name,c code file name list>; to see keil ide 's group
struct McuMemory
{
quint32 StartAddr;
quint32 Size;
bool IsStartUp=false;
};
McuMemory IROM[2];//to see keil ide
McuMemory IRAM[2];//to see keil ide
QString LinkScript;
bool IsCreateHexFile=false;
bool IsCreateMapFile=false;
bool IsCreateBinFile=false;
bool IsCreateAsmFile=false;
QStringList CxxFlag;
QString Optimization;
QStringList CFlag;
//bool WarningLevel=true;
QStringList CommonCompilerFlags;
QStringList LinkerFlags;
QStringList Fpu;
};
}
#endif // PROJECTCONFIGSTRUCT_H