...
If you just hit 'Enter' without specifying your application name, then your ioc name 'vioc-b34-bd32' will be used as the default for the dbd file in the st.cmd
Now iocBoot directory has been created under $(TOP) and underneath it, 'vioc-b34-bd32' has been created.
Open iocBoot/vioc-b34-bd32/Makefile and notice that ARCH is set to linuxRT-x86.
Open iocBoot/vioc-b34-bd32/st.cmd and notice that this script is setup to pick the binary from linuxRT-x86 directory.
(g) Now 'make' your application from the top level directory $(TOP) to ensure your changes to RELEASE files are good:h) Uncomment the following lines in MyTestApp/src/Makefile if you have a PMC EVR230 installed in your system that you'd like to use:
# MyTest_DBD += evrSupport.dbd
# MyTest_DBD += devMrfEr.dbd
.....
# ifeq ($(T_A),linuxRT-x86)
# MyTest_LIBS += drvMrf
# MyTest_LIBS += mrfApi
# endif
To add support for PCI-express EVR300, add the following lines to MyTestApp/src/Makefile:
MyTest_DBD += drvUioPciGen.dbd
MyTest_DBD += devBusMapped.dbd
MyTest_DBD += epicspci.dbd
.....
IPCTests_LIBS += drvUioPciGen
IPCTests_LIBS += devBusMapped
IPCTests_LIBS += epicspci
(i) Now 'make' your application from the top level directory $(TOP) to ensure your changes to RELEASE files are good:
There should be no build errors.
Having tested There should be no build errors.
Having tested this phase, you can now uninstall the binaries and cleanup the make-generated files using the following command:
make clean uninstall
MyApp example has support for a PMC EVR230 running on linuxRT-x86.
Replace the macros as needed.
Now cd $APP/MyApp again and 'make' the application again and ensure it builds fine.
...