Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Creating new project in pic24

Posted by amarjith on June 14, 2014


I downloaded Verison 8.0.1 and i build(pic24) it in mplab x i got build successful result and all working fine. Here I wish to create a new project in pic24 i have a project with many header files and source files, i wish to change that project in FreeRTOS i have read sections "Creating a New FreeRTOS Project", "FreeRTOS Quick Start Guide" etc. but i didnt understand much from these explanations. could you please help me simply by steps how do i start? where will i start? please help :-(

Creating new project in pic24

Posted by rtel on June 14, 2014

If you have the demo project running, then you have the correct source files included, everything configured correctly. The demo will be taking up much of the Flash and RAM space though, so the first thing to do is remove the function calls that start the demo tasks to make room for your own application.

Open up main.c, and find the main() function. Remove all the lines between (but not including) prvSetupHardware() and vTaskStartScheduler().

Now the demo tasks are not being created you can remove the files that implement them from the project. In the Project window of MPLAB X you will see a folder called Standard Demo Tasks. You can remove all the files it contains (BlockQ.c, blocktim.c, etc.).

You can then start to add in your own code and header files - how you do that is specific to MPLAB, rather than FreeRTOS, so outside the scope of support for this particular forum - although there is plenty of documentation with MPLAB X and on the Microchip website, plus Microchip have a forum specific to MPLAB X.


Creating new project in pic24

Posted by amarjith on June 16, 2014

Okay. Thank you so much...

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner