This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to declare a memory buffer with size 40000-byte in the program?

Other Parts Discussed in Thread: MSP430F2619

Dear Friends,

I need to keep the ADC value more than 10000 sampling data, which will need a memory buffer size about 40000 bytes.
When I declared a buffer such as 'int32 pnBuf[10000];', CCS encountered a compiled error. I have also tried to use a dynamic declaration such as 'int32* pnBuf;   pcBuf = new int32[10000];', but CCS doesn't support "new" declaration method.

Does anyone have ideas for this problem?  Thank you.

Sunglin.

**Attention** This is a public forum