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




Loading

PIC24 Demo Application

Posted by HungJury on February 10, 2011
I am using the PIC24 Demo Application with the C30 Compiler. I have V6.1.1 of the RTOS.

I have 2 questions:
1. The demo doesn't compile. I get the following:
Warning: linker script did not specify CRT0_STARTUP file, default for this device: crt0_standard.o
Warning: linker script did not specify CRT1_STARTUP file, default for this device: crt1_standard.o
Error: A heap is required, but has not been specified
Where do I look for the two ctr0/1 file definitions?
Where do I define the heap? Normally these are specified in the build options dialog box (heap and min stack size). Is there another way this is being handled in the demo project (obviously not, hence the error). What do I set these to?

2. Sorry, but I am a newb on FreeRTOS. I figure that the RTOS must be using system resources, for example a counter/timer for the tick timer. Does the RTOS use a resource and if it does, how do I find the documentation on which resources it is using?

Thanks for the help!

RE: PIC24 Demo Application

Posted by Richard on February 10, 2011
To use the latest version of the C30 compiler you have to do two things:

1) Replace the linker script in the project directory with the linker script with the exact same name from the C30 installation directory.

2) In the compiler options, define a heap. Unless you are using malloc() you can just set the heap size to 0. The new compiler/linker just needs the option to be set.

I think I have made these changes already in the head revision of the SVN repository.

Regards.


[ 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