Page 1 of 2

watchdog driver ?

Posted: Wed Feb 17, 2016 8:41 pm
by Tabulous
Did this ever get added to the code base ?
i remember awhile back it was suppose to be added in 3.0 ?

Re: watchdog driver ?

Posted: Thu Feb 18, 2016 5:08 am
by avrhack
It seems not. I use this one and it works well.

https://github.com/ChibiOS/ChibiOS-Drivers

Re: watchdog driver ?

Posted: Thu Feb 18, 2016 8:55 am
by Giovanni
It is in 16.1.

Giovanni

Re: watchdog driver ?

Posted: Thu Feb 18, 2016 1:53 pm
by mobyfab
Hey,

The Drivers repo (which I maintain) is being deprecated and everything is being moved to the Contrib repo. (https://github.com/ChibiOS/ChibiOS-Contrib)

For the WDG driver, as Giovanni said it's in 16.1, I use it and it works perfectly.
It won't be moved to the contrib repo as it's officially supported now.

Re: watchdog driver ?

Posted: Thu Feb 18, 2016 9:52 pm
by avrhack
mobyfab wrote:Hey,

The Drivers repo (which I maintain) is being deprecated and everything is being moved to the Contrib repo. (https://github.com/ChibiOS/ChibiOS-Contrib)

For the WDG driver, as Giovanni said it's in 16.1, I use it and it works perfectly.
It won't be moved to the contrib repo as it's officially supported now.


What about those of us who are still on 3.x? Will it be back-ported or does this mean we are forced to move to 16.1?

Re: watchdog driver ?

Posted: Fri Feb 19, 2016 8:32 pm
by mobyfab
You can still use the repo, but it won't get updated.

Giovanni can probably backport the driver to 3.x

Re: watchdog driver ?

Posted: Fri Feb 19, 2016 8:39 pm
by Giovanni
avrhack wrote:
mobyfab wrote:Hey,

The Drivers repo (which I maintain) is being deprecated and everything is being moved to the Contrib repo. (https://github.com/ChibiOS/ChibiOS-Contrib)

For the WDG driver, as Giovanni said it's in 16.1, I use it and it works perfectly.
It won't be moved to the contrib repo as it's officially supported now.


What about those of us who are still on 3.x? Will it be back-ported or does this mean we are forced to move to 16.1?


I suggest to update, alternatively you can take just the driver from 16.1, the community driver is fine too.

Giovanni

Re: watchdog driver ?

Posted: Fri Feb 19, 2016 10:10 pm
by avrhack
Giovanni wrote:I suggest to update, alternatively you can take just the driver from 16.1, the community driver is fine too.

Giovanni


Is there a guide? I notice from other posts you mention it's a lot easier than 2.x->3.x but when I did a quick branch switch everything went to hell with loads of errors so I suspect it's a case of new makefiles etc. as well which is a real pain.......

Re: watchdog driver ?

Posted: Fri Feb 19, 2016 11:01 pm
by steved
avrhack wrote:Is there a guide? I notice from other posts you mention it's a lot easier than 2.x->3.x but when I did a quick branch switch everything went to hell with loads of errors so I suspect it's a case of new makefiles etc. as well which is a real pain.......

I find a quick file compare of my project against the closest demo project highlights the differences quite quickly - generally chconf.h, mcuconf.h, halconf.h and makefile are the key files. Winmerge works well on Windoze.

Re: watchdog driver ?

Posted: Sat Feb 20, 2016 1:32 am
by avrhack
steved wrote:I find a quick file compare of my project against the closest demo project highlights the differences quite quickly - generally chconf.h, mcuconf.h, halconf.h and makefile are the key files. Winmerge works well on Windoze.


Good tip thanks, will give it a try.