|Increasing the size of the Constant Pool
|Page 1 of 1|
|Author:||jkandra [ Tue Jun 09, 2015 10:36 am ]|
|Post subject:||Increasing the size of the Constant Pool|
I am using RobotC 4.3
Is there a way to increase the size of the "Constant Pool"? This is a section of memory that stores all of the constants used in a RobotC program. The contents of the Constant Pool can be viewed by pressing F9 after compiling the code. The "Disassembly" will be shown and the "Constant Pool" is located immediately following the "task main()" declaration. The "Disassembly" will also show a "Constants summary" at the end of the Constant Pool which will include the number of constants and the total size allocated.
The limitation I am running into is that I am running out of space in the "Constant Pool". The compiler is only allowing me to use 3.2Kb of space for these constants. If I exceed 3.2Kb of constants in my program then an error is flagged: "**Error**: Constant Pool overflow".
As soon as my program exceeds 3.2Kb in constants, the error is triggered. The program will still run. But any constants beyond the initial 3.2Kb are nullified (rendering them useless).
I am using mostly string constants to display messages to the debugWriteStream.
|Page 1 of 1||All times are UTC - 5 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group