To add the host application project, right-click the PeakDetect_system project, and select Add Application Project.
Enter the Application project name as PeakDetect_host, and leave the target processor selected as
psv-cortexa72 SMP
.In the Application settings, add
sysroot path
,Root FS
andKernel Image
by clicking Browse in each section, and click Next.Select Empty Application in the Template selection window, and click Finish.
Now import sources by right-clicking the PeakDetect_host -> src, browse to the
cmd_src/sw/
directory, and choose the fileshost.cpp
anddata.h
.Click Finish.
Now, right-click the PeakDetect_host, select C++ build settings, and add linker option
Click Apply and Close.
NOTE: When you change the build target from
Emulation-SW
(default) toEmulation-HW
orHardware
, make sure to repeat step 7.