开发者

create and run applications on an evaluation module using Visual Studio

开发者 https://www.devze.com 2022-12-21 20:18 出处:网络
I have built a BSP and OS Design in Visual Studio. I brought it up on the evaluation module, that is, I flashed the image to the EVM. I now need to develop applications that will run on the evaluation

I have built a BSP and OS Design in Visual Studio. I brought it up on the evaluation module, that is, I flashed the image to the EVM. I now need to develop applications that will run on the evaluation module. Do I do this by creating projects that are smart devices or by creating subprojects in the initial os design solution. I tried creating a subproject in the design solution, added a simple “Hello World..cpp”开发者_Python百科 that compiled and ran perfectly earlier but now gives the error “cannot find “afxwin.h” ”. Basically, please tell me how to create and run applications on the evaluation module?


You have 2 options as you saw:

  1. Create a subproject in the OSDesign.
  2. Create a deployable application in another instance of VS200#

The downside of the first method is that you need to deploy the whole image to the device every-time your application changes. There are ways to bypass part of the process, but the whole idea is cumbersome.

Using the second method is better because you will have an easier time to debug the application as well as deploy it faster.

Steps to create an application with VS2005:

  1. If you develop in native code, you need to create an SDK for your OSDesign and install it on the development machine.
  2. Create a smart device project in VS2005.
  3. Choose your SDK in the wizard (platforms dialog)
  4. Develop your application
  5. Deploy it and debug it.

  • You can look at this tutorial for a step by step explanation with screen-shots.
  • The answer to your other question is relevant with the evaluation board as well
0

精彩评论

暂无评论...
验证码 换一张
取 消