includes?


Closed Thread
Results 1 to 3 of 3

Thread: includes?

  1. #1

    Default includes?

    When you compile your program, you select your intended PIC device from the drop down menu and it automatically adds all the default configs for that device, yes?

    But there is nothing in the include folder in the PBP3 code explorer window. Do I need to include an include statement that calls the .inc file?

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: includes?

    Hi,
    Short answer is no, you don´t.

    The slightly longer answer is that PBP is command line driven and it includes the correct file automatically (at compile time) based on what is passed to it thru the -p parameter. If you were to compile your program from the command line you'd do something like PBPX -p18F4520 myProgram.pbp. However, if you´re using an IDE such as MicroCodeStudio it handles that for you based on what device you select in the dropdown.

    /Henrik.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: includes?

    Thanks, Henrik!

Similar Threads

  1. Project Includes
    By Demon in forum General
    Replies: 2
    Last Post: - 7th October 2012, 21:33

Members who have read this thread : 2

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