Quality RTOS & Embedded Software

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


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


Careers

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

Renesas

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