EmbLogic's Blog

project 05==character driver

things to be kept in mind while doing “Character Driver”

1>Be very patient as you will get different errors with silly solutions.

2>As you are dealing with multiple files like in my case files are header.h,declaration.h,init.c,clean.c,fops.h,prototypes.h,devopen.c,

devrelease.c,devwrite.c…BE CAREFUL about the handling the variables used in these files….

3> Using EXTERN command ,,, just keep a single logic where to declare extern and how to use it.

4>sometimes the TEST script can make a issue…so also update your script acc. to programs.

5>Don’t used any variable or pointer which has no use.although there would be warning no error…but it will create problems in inserting the driver.

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>