#921 missing pic16 includes

closed-fixed
5
2013-05-25
2005-05-15
Anonymous
No

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
configuration.

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

Discussion

  • 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
    user_id=1115835

    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
    user_id=175928

    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