From: Gary P. <ga...@ph...> - 2006-10-02 18:35:31
|
Please find attached a patch to add pic18f2525,2620,4525,4620 support to sdcc's pic16 target. it can be applied with "bzcat sdcc-pic18f4620-2.diff.bz2 | patch -p1" in the sdcc directory with the changelog. --Gary Plumbridge Raphael Neider wrote: >> I use the 2525/4525/2620/4620 series of 16bit PIC MCUs quite a lot, I >> was planning to add some support to SDCC's PIC16 target for these extra >> devices. > > Nice. > >> Is there anything I should look out for? > > Most important files to deal with: > (1) modify src/device/pic16/devices.inc > (2) create new device/lib/pic16/libdev/pic<whatever>.c > (3) create new device/include/pic16/pic<whatever>.h > (4) modify device/lib/pic16/pic16fregs.h > (5) modify device/lib/pic16/pics.all > > The .c/.h files can probably be adopted from other series > (namely 252 and/or 4520); a script for generating them from gputils' > *.inc files is being written (again...), so do not spend too much time > on them. Additionally, Zik Saleeba is/was working on a new scheme to add > device support for more or less "all pic18f devices known to > mankind" ;-), but in the meantime, your additions are welcome. > >> --Have I just spammed the wrong list? :) > > I don't think so. > >> Also, Once I've finished adding support for these devices (within a few >> days hopefully), How do I get permission to commit the changes back to >> subversion? (if that's even wanted...) > > You just post a patch either as tracker item of via mail to SF user > tecodev (myself...). I will then review and commit your patch. > Preferred patch format is obtained via diff -rupN in SDCC's top > directory (the one with ChangeLog in it). > >> Thanks for your time and your hard work! > > Thanks for your (forthcoming) contribution. > > Regards, > Raphael Neider > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > sdcc-devel mailing list > sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-devel > |