# Importing FreeRTOS – Bare Metal MIPS32(PIC32MZ) on Eclipse + MIPS Toolchain

**URL:** <https://forums.freertos.org/t/importing-freertos-bare-metal-mips32-pic32mz-on-eclipse-mips-toolchain/14879>\
**Category:** Kernel\
**Created:** [April 18, 2022, 8:11am UTC](https://forums.freertos.org/t/importing-freertos-bare-metal-mips32-pic32mz-on-eclipse-mips-toolchain/14879 "2022-04-18T08:11:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addi](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@addi](https://forums.freertos.org/u/addi)\
**Post date:** [April 18, 2022, 8:11am UTC](https://forums.freertos.org/t/importing-freertos-bare-metal-mips32-pic32mz-on-eclipse-mips-toolchain/14879/1 "2022-04-18T08:11:08Z")

</div>

Hello!

Can anybody explain dependences, between avaibale FreeRTOS sources and suitable compiler for integration it into IDE, please  
I have got MIPS32 MCU, based on PIC32MZ architecture  
And I have got Eclipse IDE with MIPS toolchain  
I have to use Bare Metal mips-mti-elf for mips32r2 to work with my MCU  
I asking cause Ive already tried to compile Microchip PIC32 MZ RTOS port with using MIPS toolchain and Eclipse IDE(2017) and I ve got a lot of errors, - some of them cause of porting but some of them cause of compilator and linker misunderstandings  
Thus, I have got some suspicion about aviability of FreeRTOS compilation in my environment  
Please correct me

Thanks in advaunce

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [April 18, 2022, 8:14am UTC](https://forums.freertos.org/t/importing-freertos-bare-metal-mips32-pic32mz-on-eclipse-mips-toolchain/14879/2 "2022-04-18T08:14:36Z")

</div>

This page explains how to create a new FreeRTOS project - [Creating a new RTOS project](https://www.freertos.org/Creating-a-new-FreeRTOS-project.html)

---

<div class="post-metadata">

**Author:** ![tomstorey](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/tomstorey/32/1277_2.png) [@tomstorey](https://forums.freertos.org/u/tomstorey)\
**Post date:** [April 19, 2022, 5:29pm UTC](https://forums.freertos.org/t/importing-freertos-bare-metal-mips32-pic32mz-on-eclipse-mips-toolchain/14879/3 "2022-04-19T17:29:53Z")

</div>

Is there any reason you dont use MPLAB-X and the XC32 compiler when working with PIC32?

The XC32 compiler comes with everything you need to successfully compile code for the PIC32 series (linker scripts, header files, libraries etc). At the very least, I can compile the MX port with very little effort beyond creating the FreeRTOS configuration header file.

MPLAB-X is Eclipse based and will work out of the box with XC32 and PICKit/ICD programming/debugging tools including setting breakpoints and single stepping features among many more. You can probably make the compiler work with a vanilla installation of Eclipse, but MPLAB-X will make your life a lot easier.
