URL: <http://savannah.nongnu.org/patch/?8590>
Summary: WDT enable/disable for devices with CCP Project: AVR C Runtime Library Submitted by: pitchumani Submitted on: Wed 07 Jan 2015 06:38:13 AM GMT Category: None Priority: 5 - Normal Status: In Progress Privacy: Public Assigned to: pitchumani Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: For some devices CCP register should be written with the signature before writing into WDT register. Attached patch adds a conditional branch to enable/ disable wdt for devices that has CCP. Example: tiny4/5/9/10/20/40, tiny828 and tiny1634 In wdt enable/disable functions, there are branches to check whether the WDT and CCP are in IO range or not. This is to generate in/out instructions if they are in IO range. NOTE: Currently linker do not relax lds/sts into in/out if they are in IO range. ChangeLog 2015-01-07 Senthil Kumar Selvaraj <senthil_kumar.selva...@atmel.com> Pitchumani Sivanupandi <pitchuman...@atmel.com> * include/avr/wdt.h: Add conditional branch to enable/disable wdt for devices that has CCP. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 07 Jan 2015 06:38:13 AM GMT Name: wdt-ccp-branch.patch Size: 5kB By: pitchumani <http://savannah.nongnu.org/patch/download.php?file_id=32777> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?8590> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev