
1. The “apps” folder is contained outside the core directory for your application.
2. A source folder “cal_ipcf_rx_tx” is inside the apps folder. A folder named “src” will be inside “cal_ipcf_rx” folder. The “src”
folder shall contain 3 more folders inside viz src, config and obj_mpc5748g_mpc574xg_mb.
3. The src folder inside src directory will contain all the .c files that are present in the example Ethernet Simple src folder viz
IoHwAb.c, os_hooks.c, PlatformTasks.c, SwcReader.c and SwcWriter.c along with the application c file cal_ipcf_rx_tx.c
that calls the udp_mcapi_demo_task in it.
4. The “config” folder will contain all the generated files. Copy all the generated configurations from the ethernet simple
example config folder to this folder.
5. obj_mpc5748g_mpc574xg_mb will contain all the generated object files along with the elf once build is done.
6. A shell script “build.sh” will be present that calls the correct paths of AUTOSAR stack(core), the ipcf library and ghs
compiler.
7. The build_config.mk file available at “..\examples\EthernetSimple\EthernetSimple” is copied to the src folder.
8. A makefile is created to append the application header lookup paths, object file list and the list of libraries to include.
8.3.3 Msys and Mingw tool installation
1. Msys and mignw are the tools required to build ipcf application.
2. The setups come installed with Arctic Studio 17.0.1.
3. If not installed, follow the steps at the link “
http://www.mingw.org/wiki/MSYS
”or directly download from the download links
provided in the section
Software requirements
.
8.3.4 AUTOSAR source build
1. Open build.sh file in an editor and make sure the paths to the asr_stack, ipcf_root and ghs are correctly set as shown in
the snapshot:
2. The C:\ directory here is accessed using “/c/” and make sure all the paths have a forward slash “/” instead of the general
backward slash “\” in windows.
3. Open msys tool. In its terminal cd to the directory where the build.sh file is kept as shown in the snapshot:
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
60 / 107