[ECOS] Problems with watchdog driver

Jonathan Larmour jifl@eCosCentric.com
Tue Jan 14 15:39:00 GMT 2003


matto wrote:
> I' m porting  eCos on s3c44b0x.
> Now I'm working on hardware watchdog driver.
> I've integrated "Watchdog IO device" package in a specific configuration.
> I've written watchog driver for a hardware reset. When I build my user
> application I encountered this problem:
> 
> 
> In file included from wawboot.c:17:
> /e/Progetti/B2/wawboot/app/wawdog/wawdog_RAM2_install/include/cyg/io/watchdo
> g.hx

You are including a C++ header file in a C file. You need to rename your 
driver to wawboot.cxx.

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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



More information about the Ecos-discuss mailing list