Solution
In evaluation mode, the LabVIEW 2009 Embedded Module for ARM only allows you to build applications under 128 KB. Since the default Heap allocation is larger than this, all applications fail to build regardless of the size of your VI.
LabVIEW 2009 has no automatic way of detecting the evaluation mode and modifying the Heap size for you. Here is a way to do it manually:
- Open the startup file located at <LabVIEW folder>
\Targets\Keil\Embedded\RealView\MCB2400\Template\System\ LPC2400.s
(you might want to make a backup copy just in case) - Find the line that reads
"Heap_Size EQU 0x1000000"
and change the value to something on par with the MCB2300 such as 0x4000
. Your modified entry should read: Heap_Size EQU 0x0004000
- Create a new build specification under your project and build (this should work) Once you activate the LabVIEW for ARM Module, you can revert the size back to
0x1000000