This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: char array size limit
- From: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- To: "eCos Discuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 5 May 2004 09:26:51 -0700
- Subject: RE: [ECOS] char array size limit
> Is there any limit on array size in ecos.
> I created a static array of size 178K (unsigned char
> page_0 = {xx,xx,xx,...,xx,xx}). The boot flash on
> board is 512K. The redboot.bin created is 448K. But
> the system never boots up whenever i use this array
> for any operation in the code. Is there anyway I can
I get the awful feeling that this array is supposed to be in ROM, not RAM.
If so, declare it const.
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco@ix.netcom.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss