Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch

Ads

Discussion Groups

Discussion Groups | Code-Composer | RE: Bug in Codecompose Studio 2.0 for C6201 - local a rrays

Technical discussions about Code Composer Studio.

  

Post a new Thread

RE: Bug in Codecompose Studio 2.0 for C6201 - local a rrays - Clasquin, Ferry - Feb 25 16:27:00 2002



Hi Rene,

I don't know what you have been coding but a small test on version 2.1 of
Code Composer Studio
performed showed that it works nothing is forbidden...

#include <stdio.h>

main()
{

//int mydata[100]; // doesn't work
//int far mydata[100]; // doesn't work
//int near mydata[100]; // doesn't work
//far int mydata[100]; // doesn't work
static int mydata[100]; // works

mydata[0] = 0x55;
mydata[1] = 0xaa;
mydata[2] = 0x33;
printf("This is just a test %d ", mydata[1]);

}

please could you give me a direction which version of Code Composer Studio
are you using DSK or Full version. I tested also with the version 2.0 and
works the same for me as with version 2.1...

Best regards,

Ferry

European-PIC -----Original Message-----
From: Rene Tschaggelar [mailto:]
Sent: Monday, February 25, 2002 2:17 PM
To:
Subject: [code-comp] Bug in Codecompose Studio 2.0 for C6201 - local
arrays I found local arrays are forbidden. There is no feedback,
the code just does not work at all.

main(){

int mydata[100]; // doesn't work
int far mydata[100]; // doesn't work
int near mydata[100]; // doesn't work
far int mydata[100]; // doesn't work

static int mydata[100]; // works

is there a workaround ? Rene
--
Tel. 01 / 633 47 39
HCI F236
ETH Hoenggerberg

_____________________________________




(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )