Port the MDD driver of the wince touch screen to the BSP.

Source: Internet
Author: User

To port the MDD layer of the touch screen driver to the drivers folder of the BSP package, we need to figure out how to compile and generate tchmain. Lib in public"
0k5/9 F: \ wince600 \ public \ common \ cesysgen \ makefile:

Figure 1

Figure 1 shows tchmdd. lib is created by tchmain. lib, tch_trns.lib, or tchbasic. lib, which is compiled and generated under the \ wince600 \ public \ common \ oak \ drivers \ touch folder, as shown in

Figure 2

Let's take a look at the contents of \ SRC \ drivers \ Touch \ sources before transplantation as follows:

Figure 3

Therefore, we also need to copy touch. Def under \ wince600 \ public \ common \ oak \ Inc to the touch of our BSP driver file. Here we will change its name to s3c2450_touch.def. After transplantation, the file structure in the \ SRC \ drivers \ touch folder is as follows:

Figure 4

Here, we can see how the sources file in the DLL folder organizes the compilation of the s3c2450_touch.dll:

Figure 5

At this point, the process of porting the touch screen driver MDD to BSP is completed, and the touch screen driver can be easily debugged later.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.