
3
FP-ATR-ASTRA1 source code: relevant files
Despite the file tree complexity, only few files are involved in the application configuration of the use cases:
•
App_astra.c
•
Astra_confmng.c/.h
•
Astra_sysmng.c/.h
•
Astra_datamng.c/.h
•
SM_APP.c/.h
Figure 9.
Application files
3.1
App_astra.c
The
app_astra.c
file is the main file, that is, the entry point. It calls the initialization functions inside
MX_Astra_Init()
. Specific defines allow disabling some blocks (for example,
USE_XXXXXX
).
The
MX_Astra_Init()
function is used for the system initialization:
•
AstraSysInit();//
→ platform data initialization
•
memory_init();
•
sensor_init();
•
gnss_init();
•
stm32wl_init();
•
stsafe_init();
UM3019
FP-ATR-ASTRA1 source code: relevant files
UM3019
-
Rev 1
page 9/43