Quality RTOS & Embedded Software

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




Loading

dsPIC33 on Explorer 16 linker problem

Posted by Dmitri Tsvetikov on April 11, 2011
Hi,
first try to compile dsPIC33 and PIC24 demo projects for Explorer 16 board, C30 version 3.25 Lite with expired license,
both end up with: ...pic30-coff-ld.exe Error: A heap is required, but has not been specified.
Please advise what could be done about it. Looking at the posts concerning dsPIC33 and PIC24 it seems this happened only to me
Dmitri

RE: dsPIC33 on Explorer 16 linker problem

Posted by Dmitri Tsvetikov on April 11, 2011
i apologize for such ignorance, but i never use fprint. By the way, what heap size would be appropriate? The box was empty and i put 1000 bytes. Now it compiles...

RE: dsPIC33 on Explorer 16 linker problem

Posted by Richard on April 11, 2011
This error is caused by a change in the compilers provided by Microchip. If you download FreeRTOS V7.0.0 you should find the error does not exist as the projects have been updated to the new compiler standard.

Unless you are using malloc() directly, or are including heap_3.c in your project (which calls malloc), then I have found setting the heap size to 0 is enough to keep the compiler from complaining.

Regards.


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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