Spanish Italian
17454 Users    

MPLAB - Tips and tricks to help speed up your project development

  Download PDF version of the Article

MPLAB Pre and Post Build Options


Welcome to the Microchip MPLAB minutes!

Tips and tricks to help speed up your project development
Today's topic: How to have Pre and Post Project Build Options Executions.
Have you ever had the need or do you have the need before or after a project build to:

  • manage directories across the network on hard drives?
  • move some files around?
  • process files for an executable?
  • execute batch files pre or post the project build?
  • or

  • execute shell commands?

Well, today, we'll gonna show you how:
Here we have an open MPLAB project (MPLAB version 8.14)
Now, let's say I want to pre process some files, move some files around before I do a build and after I want to do some clean-up to another directory and move the file to my build directory to another place in my hard disk.
How do I do that?
I click on:

Project -> Build Options -> Project

. Custom Build is the tab I want to select. And there I have two choices:

  • a pre build setup
  • and logically

  • a post build setup step

If I click these boxes, all I need do is provide a path to the files or the batch file that I want to execute pre or post build of my MPLAB project.
Pretty simple but pretty useful!
I hope you've enjoined this MPLAB minute and we'll see you soon for the next one.
Have a good day!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
3 + 8 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Who's new

  • fernand
  • Ligrock
  • paolo_0665
  • chanuei
  • JM
  • samsilva77
  • araghube
  • stoll
  • mt
  • orionkw

Who's online

There are currently 0 users and 40 guests online.