-
Notifications
You must be signed in to change notification settings - Fork 2
/
Compiler_Cfg.h
52 lines (32 loc) · 1.61 KB
/
Compiler_Cfg.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
42
43
44
45
46
47
48
49
50
51
52
/*
Written by : Bebo
DATE : 7/2/2019
AUTOSAR Version : 4.3.1
DOC Name : AUTOSAR_SWS_CompilerAbstraction.pdf
Target : ARM TIVA_C TM4C123GH6PM
*/
#ifndef COMPILER_CFG_H
#define COMPILER_CFG_H
/*********************************************************************/
/* Published information */
#define OS_MODULE_ID 30u
#define OS_VENDOR_ID 0x002Bu /* vendor id of NXP */
#define OS_AR_RELEASE_MAJOR_VERSION 0x01u
#define OS_AR_RELEASE_MINOR_VERSION 0x00u
#define OS_AR_RELEASE_REVISION_VERSION 0x00u
#define OS_SW_MAJOR_VERSION 0x04u
#define OS_SW_MINOR_VERSION 0x03u
#define OS_SW_PATCH_VERSION 0x01u
/*********************************************************************/
/* 7.1.2 */
/* this is compiler keywords (not C keywords) must by used with function, variables and, pointers to work in prober way */
/* for ARM C (GCC, ADS) compilers no need for those*/
#define OS_CODE /* used for ordinary code */
#define OS_CONFIG_DATA /* used for cused for module configuration constants */
#define REGSPACE /* used for staitc Pointer to Reg (ptr to volatile) carry adress of value that changed in any time by interrupts */
#define OS_VAR_INIT /* for variables that are initialized with values after every reset */
#define OS_CONST /* used for global or static constants */
#define OS_APPL_CONST /* used for global or static pointer to constants */
#define OS_VAR_CLEARED /* for variables that are cleared to zero after every reset */
#define OS_VAR_INIT /* for variables that are initialized with values after every reset */
#endif /* COMPILER_CFG_H */