diff --git a/documentation/ConvertingR3.13AppsToR3.14.html b/documentation/ConvertingR3.13AppsToR3.14.html index 59ccf9458..7f4e88b43 100644 --- a/documentation/ConvertingR3.13AppsToR3.14.html +++ b/documentation/ConvertingR3.13AppsToR3.14.html @@ -167,6 +167,72 @@ example_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

After these changes are made the following files are no longer needed: baseLIBOBS, Makefile.Host, and Makefile.Vx

+

File base.dbd no longer needed

+ +
+ You now can add the line include "base.dbd" to your + <appname>Include.dbd file and remove the file + <name>App/src/base.dbd from your src directory. The base.dbd from + base/dbd will be included. However, if you only want a subset of + record definitions from base you should keep your base.dbd +file.
+ +

Record support

+ +
+ Add the following line after all existing #includes + +
+
#include "epicsExport.h"
+
+ The structure rset is now a typedef so change + +
+
struct rset RSET={ ...
+
+ to + +
+
rset RSET={ ...
+
+ and add the following line after the "rset <recordname>RSET=" + definition. + +
+
epicsExportAddress(rset,xxxRSET);
+
+
+ +

Device support

+ +
+ Add the following line after all existing #includes + +
+
#include "epicsExport.h"
+
+ and add the following line after the dset dev<devname> definition + +
+
epicsExportAddress(dset,dev<devname>);
+
+
+ +

Driver support

+ +
+ Add the following line after all existing #includes + +
+
#include "epicsExport.h"
+
+ and add the following line after the drvet dev<devname> definition + +
+
epicsExportAddress(drvet,drv<devname>);
+
+
+

Modify the Makefiles in <top>/iocBoot directory.

Change " include $(TOP)/config/CONFIG_APP" to "include @@ -196,7 +262,11 @@ $(TOP)/configure/RULES.ioc"

If it exists remove the line

-

buildInstall: cdCommands

+

buildInstall: cdCommands

+ +

Add the line

+

TARGETS = cdCommands

+

befor the include for RULES.ioc line.

Modify st.cmd in <top>/iocBoot/ioc* directories.

@@ -207,6 +277,8 @@ ld < iocCore

Change "ld < <libname>Lib" to "ld < <libname>.munch"

+

Change "cd appbin" to "cd topbin"

+

Change the statement:

dbLoadDatabase("../../dbd/exampleApp.dbd")
@@ -215,6 +287,8 @@ to

dbLoadDatabase("../../dbd/<name>.dbd")
 <name>_registerRecordDeviceDriver(pdbbase)
+

where <name> is replaced with the name of your dbd file.

+

recGbl calls

If any source file makes calls to recGbl routines make sure it has