Are you new to using 32-bit PIC® and SAM microcontrollers (MCUs)? Our MCUs are supported by our comprehensive MPLAB® development ecosystem, which includes an Integrated Development Environment (IDE), C and C++ compilers, production-ready code generation tools and development boards. Are you using a third-party tool? Our devices integrate seamlessly with our third-party partners including Microsoft® Visual Studio® Code (VS Code®), Arm® Keil® MDK and IAR Embedded Workbench® ecosystems. With a wide range of easy-to-use options, our development solutions help you quickly bring your designs to life.
Set up MPLAB Tools for VS Code
Follow these quick steps to enable Microchip development inside VS Code.
1) Install VS Code
Download VS Code and install it to your operating system
2) Add Microchip Extensions
Extensions → search MPLAB for VS Code → install MPLAB Extension pack
3) Create your first project
File → New Window → Explorer (Page Icon on left sidebar) → Create MPLAB Project → Follow steps to install compilers and Device Family Packs (DFPs)
4) Open MPLAB Code Configurator
Press Control + Shift + P and type “MPLAB MCC: Launch” in search bar to launch MPLAB Code Configurator
5) Launch MPLAB AI Coding Assistant for VS Code
Use the Microchip Icon in left side bar to open our free AI coding assistant and follow steps to obtain the API key.
Set up MPLAB X IDE
Do you prefer a dedicated IDE? MPLAB X IDE integrates a compiler, debugger and pack management in one environment.
1) Install MPLAB X IDE
Download here to install to your operating system.
2) Install compilers
Install MPLAB XC8 and XC32 compilers via MPLAB X installer or download separately here.
3) Create a project
File → New Project → Select Device → Configure peripherals with MCC
Once your environment is ready, seamlessly start configuring your device with our step-by-step guides and comprehensive code example resources.
Steps to follow to start developing:
Microchip University offers free, on-demand technical training designed by the same engineers who build our products. With courses covering everything from C Programming and MPLAB® X IDE to motor control, security and IoT, you can deepen your knowledge at your own pace and skill level. Learn how to use our development tools effectively and explore best practices for embedded system design.
Live Chat