This is a supplement to the Compact 7 getting started series, to provide additional information showing the steps to generate SDK from an OS design.

Note:

The Compact 7 getting started series includes the following:

1.       Introduction.

2.       Development Environment & Tools.

3.       Develop a Compact 7 OS Design.

4.       Develop Managed Code Application for Compact 7.

5.       Develop Native Code Application for Compact 7.

6.       Develop SQL Compact Database Application for Compact 7.

7.       Develop Silverlight for Windows Embedded Application for Compact 7.

8.       Debug and Remote Tools.

9.       Deploy OS Runtime to Target Device for Distribution.

For more information about the Compact 7 getting started series, visit the following URL:

http://www.embedded101.com/Compact7/

 

An SDK, generated from the same OS design project that produced the Compact 7 OS runtime image for the target device, is needed to support application development for the device.

Prerequisites:

  • Development PC with the following:

o   Visual Studio 2008 with SP1

o   Windows Embedded Compact 7

o   Board support package (BSP) for the intended target device

  • Successfully created and build an OS design project for the target device.

Create and Configure an SDK

In this section, we will work through the steps to create and configure an SDK for the MyCompact7 OS design project.  This OS design project is created as part of the exercise from the following application note:

·         Compact 7 Getting Started Part-3:  Develop an OS Design

http://bit.ly/L8l7pd

Open the MyCompact7 OS design project from Visual Studio 2008 (VS2008) and work through the following steps to create and configure an SDK:

1.       From the VS2008 Project menu, click Add New SDK to bring up the SDK Property Pages screen, as shown in Figure 1.

Fig-1

Fig. 1

2.       Enter MyCompact7_SDK as the name for the SDK

3.       Enter SDK for MyCompact7 OS design as product name

4.       Fill in the company name and company website information.

5.       From the left pane, click on the Install node and enter MyCompact7_SDK.msi as the file name on the right, as shown in Figure 2.

Fig-2

Fig. 2 

6.       On the left pane, click on the Development Languages node to bring up the development languages configuration, and enable support for both the Native and Managed development, as shown in Figure 3.

Fig-3

Fig. 3 

7.       Click Apply follow by OK to complete configuring the new SDK.

To make changes to the SDK before compiling, from the VS2008 IDE’s Solution Explorer tab, expand the \SDKs folder, right click on MyCompact7_SDK and select Properties to bring up the SDK Properties Pages, as shown in Figure 4.

Fig-4

Fig. 4 

Build and Generate the SDK

With the MyCompact7_SDK project created, we can build and generate the SDK installation binary.

Note:

The OS design project must be built prior to launching the SDK build step.  The SDK build process requires library files generated during the OS design build process.

From VS2008 Build menu, click Build All SDKs to build and generate the installation package for the SDK.  After the build process is completed, the MyCompact7_SDK.msi installation package is generated in the following folder:

\WINCE700\OSDesigns\MyCompact7\MyCompact7\SDKs\SDK1\MSI

After the MyCompact7_SDK.msi installation package is generated, install this SDK to the development station to support Compact 7 application development.

Note:

The MyCompact7_SDK is needed to support application development exercises in Part-3, Part-4 and Part-5 of this Compact 7 getting started series.