__CONFIG depreciated warning messages


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    17

    Default __CONFIG depreciated warning messages

    Hi,

    I get these warnings when I compile for an 18F4431 using MASM:

    Warning[230] c:\pbp\18f4431: __CONFIG has been depreciated for the PIC18 devices. Use the directive CONFIG.

    I tried this and it went from warnig to errors. Any suggestions or comments. I searched the forums for 'depreciated' but no hits.

    thanks

    t

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hello ttease,

    See this thread http://www.picbasic.co.uk/forum/show...3087#post13087

    This should this should help you out.

    btw: I found this by searching for Bruce's contributions through the members list.

    BobK

  3. #3
    Join Date
    Mar 2007
    Posts
    17


    Did you find this post helpful? Yes | No

    Default Link is 404, Bruce who?

    Bob,

    Thanks for the reply and link but the link is 404 and I'm not sure who Bruce is. Can you spare some more details. Yes, yes, I'm new.

    thx

    t

  4. #4
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile the forums search engine

    Hi t,

    Wecome to the forum.

    I used the forums search engine, pasted in....
    Warning[230]
    ....and found all sorts of interesting information about....
    Warning[230]

    You will find out who Bruce is.
    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  5. #5
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi ttease,

    Sorry about you getting the error message. Go to the Members list. It's on the same bar above as the Search button. Goto the "B's" and about the 5th or 6th page and you will see BRUCE. Look for posts that Bruce has been on. Around the 6th page about half way down is the posts regarding the deprication stuff.
    I just copied and pasted the link. Bruce is one of the "extremely knowledgeable ones" on this forum and also the owner of Reynolds Electronics. www.rentron.com.

    HTH,

    BobK
    Last edited by BobK; - 1st April 2007 at 20:21. Reason: Grammar error!

  6. #6
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi T,

    Here's a link directly to that thread; http://www.picbasic.co.uk/forum/show...3087#post13087

    You can upgrade to the latest version of PBP to get rid of this particluar
    warning message. MeLabs has changed default device header files to include
    the command line switch that disables this.

    From the PBP 2.47 18F4431.INC;

    LIST p = 18F4431, r = dec, w = -311, w = -230, f = inhx32

    The w = -230 disables this message.

    Look in your MPASM Assembler help file under Warning Messages for details.

    As I mentioned in the above thread, Microchip has now made this mandatory
    for the PIC18FXXJ parts, so it's a good idea to look into/understand this one.

    If you have a version of PBP that now supports the PIC18FXXJ parts, you'll
    notice the default device header files for these don't include the w = -230,
    and have config fuse options using the CONFIG VS __CONFIG option.

    Here's how it looks in the 18F44J10.INC file;

    LIST p = 18F44J10, r = dec, w = -311, f = inhx32
    INCLUDE "P18F44J10.INC" ; MPASM Header
    CONFIG XINST = OFF
    CONFIG FOSC = HS
    CONFIG WDTPS = 512

    A list of config options for each part can be found in your MPLAB directory in
    each 18F parts device specific .INC file.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Warning (and other Compilation Error) Messages
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 6
    Last Post: - 9th September 2009, 01:29
  2. Warning 221 after upgrade to ver 2.50a
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 29th April 2008, 05:56
  3. 12F683 RAM Warning
    By Johan in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th August 2007, 10:51
  4. Micro Code Studio - Warning message
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th November 2006, 21:17
  5. CONFIG directive warning help
    By josegamez in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th August 2006, 20:02

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts