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]

Re: error linking tk's eb40 and my eb40a hal


On Thursday 27 June 2002 04:08 pm, Gary Thomas wrote:
> Sometimes these things are hard to pin down.  Try using #if 0/#endif
> within that file to isolate the line that's causing the problems.

*sigh*  
I'll give my usual disclaimer: I've been out of embedded systems for two
years.  It's amazing what you forget.  This is truly one of the best 
debugging techniques around.

I needed  '#include <cyg/hal/var_io.h>' in hal_platform_setup.h because
Thomas moved the at91 register #defines from hal_io.h to var_io.h
and I didn't catch it.

BTW: Thomas, the eb40 hal _does_ work.  When I applied your patch
I didn't delete your old stuff which had an old hal_platform_setup.h
in the 'var' tree which was bad.  After deleting it and hal_platform_ints.h
and adding the line above, both eb40 and eb40a compile for ROM.
Now on to testing....

Thanks again folks.

-tim



-- 
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]