From: Beau E. C. <be...@ha...> - 2005-09-22 06:14:17
|
Hi Chen Xiao Fan - ======= At 2005-09-21, 14:02:26 you wrote: ======= >That is a great job. I suppose that you can also do the same >for PIC12/14 architecture chips. The current perl script >included in the SDCC project is working but it only convert >the inc files. This work will help both the SDCC project and >other open source projects. > >Take note that there are quite some errors and omissions in the >MPLAB .dev files. For example in the file PIC18F8622.dev, >"cfgbits (key=CONFIG7H addr=0x30000d uused=0x00)" >should be "cfgbits (key=CONFIG7H addr=0x30000d unused=0x00)" > >For the pickit-devel project, right now we are using Rob >Hamerling's xwisp.cfg file from his wisp2 programmer >(OS2/Linux/Windows/and soon MacOS X host software for >Wisp628 PIC programmer). Rob has also written a REXX >script for parsing the dev file to generate a file to >check his xwisp2.cfg files. Eventually we plan to use the >automatic-generated file and maybe complement this >with some more information from Microchip's website. > >Could you release your scripts and generated files? > >Regards, >Xiaofan > >-----Original Message----- >From: Beau E. Cox [mailto:be...@ha...] >Sent: Wednesday, September 21, 2005 11:53 PM >To: sdcc >Subject: [Sdcc-user] Lots of PIC16 devices > > >Hi - > >Over the past several months I have developed a few perl scripts that: > >1) parse MicroChip's MPLAB(R) .dev and .inc files to XML, and, >2) convert the resulting XML to sdcc .h and .c device files. > >[snipped...] > = = = = = = = = = = = = = = = = = = = = I will post a tarball with my scripts/Makefiles and some documsntation of my effort in the next few days. I am currently using my changes with no problems; the perl code has gotten a little convoluted during development and needs some cleanup (perhaps a rewrite), but it works. Aloha => Beau; be...@ha... 2005-09-21 |