This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

eCos Flash Driver Configuration


I am trying to figure out how to specify the flash driver for an eCos
configuration.  I did this for RedBoot by adding lines to the RedBoot ecm
template file such as these:

  package -hardware CYGPKG_DEVS_FLASH_WINBOND_W29EEXXX current ;
  package -hardware CYGPKG_DEVS_FLASH_ARM_SNDS current ;

However, there doesn't seem to be any ecm template file for the eCos
library.  The config tool won't let me add them (it replies that hardware is
added by specifying a different template).

I went ahead and added the JFFS2 package and dependencies to my eCos
configuration and saved and built the library with no errors.  When I
compile my application and link with the eCos library, sure enough, I get
the expected undefined references to the missing flash driver routines.
One thought I had was to somehow compile the flash driver as part of my
application, but this seems incorrect.  Is there a way to add the flash
driver to the eCos library that I'm building?  I couldn't find anything in
the documentation that covered this issue.

Jay Foster


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]