You can use a project that was created in an earlier version of S32 Design Studio,
but it requires changes to the build configuration settings and the project
structure.
The following explains how to configure your APEX2 application project.
-
Click , then click Next.
-
Click Browse... and browse to the project location,
click OK, select the Copy projects into
workspace option, then click
Finish.
-
Remove some build configuration settings:
-
Right-click the project in the Project Explorer
view and click Properties on the context
menu.
-
Open and remove the following settings for the A53 and
TEST_A53 build configurations:
- : Clear the Defined symbols and
Undefined symbols lists.
- : Remove all the
${S32DS_VSDK_DIR} paths from the
Include paths list.
- : Clear the Libraries and Library search
path lists.
-
Remove the following settings for the APU build configuration:
- : Clear the Defined symbols lists.
- : Remove all the
${S32DS_VSDK_DIR} paths from the
Include paths list and clear the Include files
list.
- : Remove the script file.
- : Clear the Libraries and Library search
path lists.
-
Remove the following settings for the EMU and TEST_EMU build
configurations:
- : Clear the Defined symbols list.
- : Remove all paths except the
${ProjDirPath} ones from the Include
paths list.
- : Clear the Libraries and Library search
path lists.
-
Replace the Project_Settings/Scripts/gen_apu_load.tcl file
with a copy from any APEX2 project created in new S32 Design Studio.
-
Remove typedefs.h from the A53_inc
folder and S32V_APU.lcf from
Project_Settings/Linker_Files .
-
Right-click the project in the Project Explorer view and
click SDKs on the context menu. Attach
VSDK_MODULE_WIN to all build configurations.
-
Emit the source code from the updated Visual Graph Tools projects.
-
If you want to debug your application using APEX2 Emulator, update the debug
configuration settings:
-
Right-click the project in the Project Explorer
view and click on the context menu.
-
In the left pane, open the configuration under C/C++ Application.
-
In the right pane, go to the Environment tab. Edit the
PATH
value:
${S32DS_GCC_TOOLCHAIN_DIR};${S32DS_OPENCV_DIR}/x86/mingw/bin
Then select the Replace native environment with specified
environment check box.
-
Go to the Debugger tab and update the GDB debugger
location:
${S32DS_GCC_TOOLCHAIN_DIR}/gdb.exe