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
Morepicsfix patch
Logged In: YES
user_id=1115835
Applied in SDCC approx. r4148.