#921 missing pic16 includes


The PIC16 port claims to support the 18F2550, 18F4331,
and 18F4455, but pic18fregs.h gives the error
"Unsupported processor" because there are no
corresponding header files for these chips.

Also, can building and installing the pic16 libraries
and includes be an option through the configure script?
Having to build and install them manually in the
source tree seems unnecessary when the autoconf
facility already exists for this type of compile-time

This is SDCC 2.5.0.... would love to see a 2.5.1 with
cleaner pic16 support.


  • Raphael Neider

    Raphael Neider - 2005-05-17
    • milestone: --> fixed
    • status: open --> closed-fixed
  • Raphael Neider

    Raphael Neider - 2005-05-17
    • assigned_to: nobody --> tecodev
  • Raphael Neider

    Raphael Neider - 2005-05-17

    Logged In: YES

    I have added support for 18F{2550,4331,4455,4520}, they
    should be fully functional by now.
    As I needed to develop a new script for creating the header
    files I am sure there are still open issues (changes in
    names, missing names...) -- please report back!

    Building the pic16 library on the sourceforge compile farm
    is currently not possible due to lacking gputils (needed to
    assemble and link...). For home use it should suffice to
    un-comment l. 653 in configure.in and rerun make (the
    feature is there, but disabled)...

  • Jim Paris

    Jim Paris - 2005-05-17

    Logged In: YES

    Thank you! Will try out the 2550 support later tonight.
    For the pic16 library, would you accept a patch to add a
    configure option to enable the build, or perhaps detect
    gputils and build the library automatically if it's present?


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

No, thanks