...
For EVENT module, Kukhee recommends us to use event-R4-1-3 or greater with this base.
EVENT_MODULE_VERSION=event-R4-1-3
(f) Open MyTestApp/src/Makefile and notice that the IOC application is referred to as 'MyTest".
(g) Now it is time to add your linuxRT-x86 virtual ioc (vioc) startup scripts. vioc-b34-bd32 is used here as an example.
From 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 this phase, you can now uninstall the binaries and cleanup the make-generated files using the following command:
make clean uninstall
Now it is time to add your linuxRT-x86 vioc startup scripts.
From $APP/MyApp type the following command to create a type the following command to create a boot directory for 'vioc-b34-my01bd32':
makeBaseApp.pl -i -t slac vioc-b34-my01bd32
When prompted to choose target architecture, choose linuxRT-x86.
There will be two Two files are modified based on this selection.
The two files are (1) vioc-b34-my01/st.cmd
(2) vioc-b34-my01/Makefile.
When prompted with 'Application name?' type 'MyTest'.
This will use the application name MyTest that was created in MyTestApp/src/Makefile as described in step (f).
If you just hit 'Enter' without specifying your application name, then your ioc name 'vioc-b34my01b34-bd32' will be used as the default for the dbd file in the st.cmd
So choose'MyTest'
Now iocBoot directory has been created under $APP/MyApp $(TOP) and underneath iocBootit, 'vioc-b34-my01bd32' has been created.
Open $APP/MyAppiocBoot/vioc-b34-bd32/Makefile and notice that ARCH is set to linuxRT-x86.
Open iocBoot/vioc-b34-my01bd32/st.cmd and notice that this script is setup for a linuxRT-x86 target.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:
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.
...