Quality RTOS & Embedded Software

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


Loading

freertos cygnal example problem in sdcc compi

Posted by sachin kumar on July 24, 2009
Dear all,
i want to port freertos on my imbuent 8051 board. But provided cygnal example is giving error while compiling with sdcc.

below is the error message;


?ASlink-Warning-Couldn't find library 'libfloat'
ParTest/ParTest.rel: cannot open.
make: *** [main] Error 1

-------------------------------------------------------------------
i am using sdcc version 2.9.0 and make utility provided by yagarto toots.


please sugget
Regards
sachin

RE: freertos cygnal example problem in sdcc c

Posted by Richard on July 24, 2009
I would imagine the libfloat issue was something local to your machine, a path or something. However the SDCC port is known not to work with the latest SDCC builds. There has been quite a lot of discussion about it here. I should of added it to the known issues list (will do that right now).

Regards.

RE: freertos cygnal example problem in sdcc c

Posted by sachin kumar on July 24, 2009
hi richard,
i am able to compile this for sdcc v 2.5.0.
Thanks for your support

kind regards
sachin

RE: freertos cygnal example problem in sdcc compi

Posted by Andre Mendonca on July 24, 2009
I have the same problem which sachin resolved. I am using Cygnal IDE and sdcc v 2.5.0. My demo project doesnt compile. The message error is:

?ASlink-Error-Could not get 155 consecutive bytes in internal RAM for area DSEG.
?ASlink-Error-Could not get 72 consecutive bytes in internal RAM for area DSEG.
?ASlink-Error-Could not get 46 consecutive bytes in internal RAM for area DSEG.

Anyone knows how to solve this problem?

RE: freertos cygnal example problem in sdcc compi

Posted by dave m on July 24, 2009
I haven't gotten FreeRTOS working on an 8051, but I have been working with the chip quite a bit recently. Those error messages are pretty clear: the 8051 only has between 128 and 256 bytes of "DATA" RAM. If your microcontroller has more, it'll be "external RAM" or "XRAM." The memory spaces are separate, and it's a hassle for the compiler (or for you) to get things all in the right spot, without using up the internal RAM. You haven't succeeded in doing this: some variables you've defined are being located in internal RAM. You need to look into SDCC's support for memory models. You'll probably have to use the "LARGE" model, which places many / most things in XRAM.

RE: freertos cygnal example problem in sdcc compi

Posted by Andre Mendonca on July 27, 2009
Your response solve my problem. Thanks, spacewrench.


[ 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