16LF76 Guest
|
allcocate large buffer |
Posted: Fri Jun 13, 2008 8:40 am |
|
|
Compiler version: 3.111
I tried to allocate a large buffer:
#define RCV_BUFF_SIZE 96
char serial_in_buffer[RCV_BUFF_SIZE]; // Serial input output buffers
When the size is 96, RAM usage: 49%~53%
but when size is 97 or, got " Not enough RAM for all variables"
BTW, I tried to allocate two 64-byte buffer, no problem.
What should I do in order to allocate large (128 bytes) buffer?
Regards, |
|