watchdog driver ?

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

watchdog driver ?

Post by Tabulous »

Did this ever get added to the code base ?
i remember awhile back it was suppose to be added in 3.0 ?
avrhack
Posts: 140
Joined: Tue Dec 24, 2013 1:42 pm
Has thanked: 17 times
Been thanked: 3 times

Re: watchdog driver ?

Post by avrhack »

It seems not. I use this one and it works well.

https://github.com/ChibiOS/ChibiOS-Drivers
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: watchdog driver ?

Post by Giovanni »

It is in 16.1.

Giovanni
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: watchdog driver ?

Post 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.
avrhack
Posts: 140
Joined: Tue Dec 24, 2013 1:42 pm
Has thanked: 17 times
Been thanked: 3 times

Re: watchdog driver ?

Post 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?
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: watchdog driver ?

Post by mobyfab »

You can still use the repo, but it won't get updated.

Giovanni can probably backport the driver to 3.x
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: watchdog driver ?

Post 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
avrhack
Posts: 140
Joined: Tue Dec 24, 2013 1:42 pm
Has thanked: 17 times
Been thanked: 3 times

Re: watchdog driver ?

Post 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.......
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: watchdog driver ?

Post 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.
avrhack
Posts: 140
Joined: Tue Dec 24, 2013 1:42 pm
Has thanked: 17 times
Been thanked: 3 times

Re: watchdog driver ?

Post 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.
Post Reply