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
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.
hi richard, i am able to compile this for sdcc v 2.5.0. Thanks for your support kind regards sachin
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?
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.
Your response solve my problem. Thanks, spacewrench.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.