Forum Discussion
Altera_Forum
Honored Contributor
21 years agoOk. I've done it and it works. I was trying to add the changes to ecos.ecc, when the file was ecos.db.
Now... I have a question related. I've added a new wqallclock device, but when I try to use it in my code, I have to include the file <cyg/io/wallclock.hxx>. The problem is that when I include any hxx or cxx in my program, it fails. Also, I've found that in the previous version of ecos, there was a wallclock.h (or maybe watchdog.h, which was similar) in the io/wallclock section, that wrapped the "cxx" calls to "c" calls, so I was able to compile "C" code, without C++, and then it worked. Now there are no C wrappers... Now I am modifying this IO wallclock section to be able to use it, but I would appreciate any other ways, because I will have to modify it again when a new version arrives. Thank you aLeX