Hi,
following problem while trying to compile a .c file which looks like this. When trying to define the memory location for both data fields the compiler produces the error above, one location setting works.
The cpu iam using is a C8051F340 and has 65280 bytes of useable code memory.
The compiler is RC51 COMPILER V03.03.43, Copyright (c) Raisonance S.A.S. 1987-2007. All rights reserved
compilerpragmas.h contains settings for the compiler such as pragmas DEBUG, LARGE and so on
compileroptions.h contains project related defines such as DEBUG_VERBOSE
webdata.h contains "extern code uint8 index_html[842]" and "extern code uint8 picture_jpg[32390]"
types.h contains #define uint8 unsigned char and such stuff
---
#include "..\Options\compilerpragmas.h" // compiler pragmas
#include "..\Options\compileroptions.h" // compiler options
#include "..\Data\Webdata.h" // Webdata
#include "..\Types\types.h" // Type definition
at 0x7000 code uint8 index_html[842] =
{
0x00, 0x01, ....
}
at 0x7350 code uint8 picture_jpg[32390] =
{
0x00, 0x01, ....
}
---
Thanks for you help!
Sören
|
Hi Sören
I do not see why you get this error message.
Is it possible that you send to a simple project (all files that are involved) that reproduce this error.
IF you do not use Ride6 you can send us the source files and te command lines you use.
It would be easier for us to reproduce the problem and to solve it.
Best regards
Matloub
Hi Sören
I have received your project and we found out where the problem is.
Actually the location setting that was not working is the biggest one.
It comes from the fact that we had put a size limitation for this.
We will correct it to better suit the actual capabilities of the derivatives.
For now the solution is to make the second location setting in several blocks of 8k.
Best regards,
Matloub
Hi Matloub,
thanks for the response. When will there be an update available?
Kind regards,
Sören
Hi Soren
We do not have a date for the next update of ride6.
But I can send you an email when there is one.
Best regards,
Matloub
Hi Matloub,
yes please, send me an email! Thanks!
Best regards,
Sören