From: SourceForge.net <no...@so...> - 2008-05-01 20:39:14
|
Patches item #1776197, was opened at 2007-08-17 12:27 Message generated for change (Comment added) made by tecodev You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300599&aid=1776197&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: kein0r (kein0r) Assigned to: Nobody/Anonymous (nobody) Summary: adc functions not workinng for pic18fXX5X devices Initial Comment: I wrote a patch to make adc working on pic18fXX5X devices. I submited the patch to the mailinglist earlier but didnt get a respond. IMHO the ADC_CHN_XX and ADC_CFG_XX_0R shoudl go into the device header file so the adc.h is cleaner. ---------------------------------------------------------------------- >Comment By: Raphael Neider (tecodev) Date: 2008-05-01 20:39 Message: Logged In: YES user_id=1115835 Originator: NO After nearly 9 months, I finally applied a variant of the attached patch in SDCC r5150. I added support for more devices and consolidated the device checks into a single new #define for maintainability. I am sorry that it took me so long to make ADC work for most devices, but hopefully I found an acceptable solution at last. Comments, success stories and error reports concerning the new ADC approach are welcome. Regards, Raphael ---------------------------------------------------------------------- Comment By: kein0r (kein0r) Date: 2007-10-30 20:43 Message: Logged In: YES user_id=1212013 Originator: YES I updated the patch to include more devices. With this patch the sdcc adc library is extended to the following devices. pic18f2455, pic18f2550, pic18f4455, pic18f4550, pic18f2525, pic18f2620, pic18f4525, pic18f4620 File Added: adc.diff ---------------------------------------------------------------------- Comment By: kein0r (kein0r) Date: 2007-08-17 12:28 Message: Logged In: YES user_id=1212013 Originator: YES diff is against revision 4907 File Added: adc.h.diff ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300599&aid=1776197&group_id=599 |