Example – Intermec 700 User Manual

Page 251

Advertising
background image

Programming

Chapter 7

227

700 Series Color Mobile Computer User’s Manual

Example

The following code example shows three [CEDevice] sections: one that
gives basic information for any CPU and two that are specific to the SH3
and the MIPS microprocessors.

[CEDevice]

; A “template” for all platforms

UnsupportedPlatforms = pltfrm1

; Does not support pltfrm1

; The following specifies version 1.0 devices only.
VersionMin = 1.0
VersionMax = 1.0

[CEDevice.ARM]

; Inherits all [CEDevice] settings

; This will create a .CAB file specific to ARM devices.
ProcessorType = 2577

; ARM .cab file is valid for ARM microprocessors.

UnsupportedPlatforms =

; pltfrm1 is still unsupported

; The following overrides the version settings so that no version checking is
performed.
VersionMin =
VersionMax =

[CEDevice.MIPS]

; Inherits all [CEDevice] settings

; This will create a .CAB file specific to “MIPS” devices.
ProcessorType = 4000

; MIPS .CAB file is valid for MIPS

microprocessor.
UnsupportedPlatforms =pltfrm2 ; pltfrm1, pltfrm2 unsupported for MIPs .CAB
file.

Note: To create the two CPU-specific .CAB files for the SETUP.INF file
in the previous example, run the CAB Wizard with the “/cpu arm mips”
parameter.

Advertising