#60 pic14: fixes for extra processor support

closed-accepted
None
5
2006-05-02
2006-04-16
Zik Saleeba
No

This patch fixes some problems with processor support
in the pic14 port and adds support for some new processors.

* Bug fix: support for processor names of the form
"f877", "pic16f877" and "p16f877" was broken - only
"16f877" worked.

* Added support for 14-bit 12f series processors:
12f629, 12f675
12f635
12f683

* Added support for some new 16 series processors:
16cr73, 16cr74, 16cr76, 16cr77
16f616, 16hv616

* Removed support for processors which were actually 12
bit instruction word architecture and so wouldn't work
in any case:
16f54, 16f57, 16f59
16f505, 16f506
16c54, 16c54a, 16c54c, 16cr54a, 16cr54c, 16hv540
16c55, 16c55a
16c56, 16c56a, 16cr56a
16c57, 16c57c, 16cr57c
16c58b, 16cr58b

* Removed support for non-existant 16f635

Boring details:

Added include files to device/include/pic:
pic12f629.h pic12f635.h pic12f675.h pic12f683.h

Added C device files to device/lib/pic/libdev:
pic12f629.c pic12f635.c pic12f675.c pic12f683.c

Removed include files in device/include/pic:
pic16f505.h

Removed include files in device/lib/pic/libdev:
pic16f505.c

Modified files in src/pic:
device.c device.h main.c

Modified files in device/lib/pic/libdev:
Makefile.in

Instructions:

Go to the directory above sdcc and type

> tar jxf morepicsfix.tar.bz2 #
unpack the archive
> cd sdcc
> patch -p1 < ../morepicsfix.patch # do
the patch
> cd device/include/pic
> cvs add pic12*.h # add
new headers
> rm pic16f505.h #
remove broken header
> cvs delete pic16f505.h
> cd ../../../device/lib/pic/libdev
> cvs add pic12*.c # add
new libs
> rm pic16f505.c #
remove broken lib
> cvs delete pic16f505.c

Discussion

  • Zik Saleeba

    Zik Saleeba - 2006-04-16

    Morepicsfix patch

     
  • Raphael Neider

    Raphael Neider - 2006-05-02
    • assigned_to: nobody --> tecodev
    • status: open --> closed-accepted
     
  • Raphael Neider

    Raphael Neider - 2006-05-02

    Logged In: YES
    user_id=1115835

    Applied in SDCC approx. r4148.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks