From: SourceForge.net <no...@so...> - 2007-12-05 01:37:13
|
Feature Requests item #1844525, was opened at 2007-12-04 17:37 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1844525&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: Open Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Add 18F2450/4450 (with patches and script) Initial Comment: I have interpreted information for 18F2450 and 18F4450 from the data sheet DS39760C. The result of compiling my changes in works, at least for me, at least no worse than the existing 18F2455 device does. I do get errors like: /usr/local/bin/../share/sdcc/include/pic16/pic18f2450.h:162: warning 182: absolute address for sfr 'UFRM' probably out of range. But the same error occurs for the '2455 already in the sdcc codebase. In the attached file are the following: additions.tar contains: sdcc/device/include/pic16/pic18f2450.h sdcc/device/include/pic16/pic18f4450.h sdcc/device/lib/pic16/libdev/pic18f2450.c sdcc/device/lib/pic16/libdev/pic18f4450.c sdcc/device/lib/pic16/pics.build updates.patch contains the edited output of svn diff for my changes to: sdcc/src/pic16/devices.inc sdcc/device/include/pic16/pic18fregs.h sdcc/device/lib/pic16/pics.all pic16sheet2deviceinc.tar contains a perl utility I created and used to translate an annotated description of the new devices as derived from the data sheet to devices.inc entries. I also made a description for 18F2221 according to the data sheet; the script produces the substantive equivalent of what is already in devices.inc for 18F2221. Attached are descriptions for 18F2221, 18F2450, and 18F4450. Usage: ./pic16sheet2deviceinc.tar 18fxxxx.description Feel free to edit any of the above for style or egregious errors. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1844525&group_id=599 |