Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


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 ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists