We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I have an array with global linkage that is 4[MB] in size. My image grows by about 64[KB] thanks to R/W compression, which is undesirable - the array does not contain any meaningful data anyway immediately after startup. The linker already chooses the optimal compression algorithm and it cannot be altered beyond the three that ARM makes available. I cannot use "malloc" during startup because we are talking about a LPC1788 with a FreeRTOS+MPU. Any thoughts?
I had to do this:
#pragma arm section zidata __attribute__ ((zero_init)) umm_block umm_heap[configTOTAL_DDC_HEAP_SIZE/sizeof(umm_block)] UMM_HEAP_SECTION; #pragma arm section zidata Tool Version Numbers: Toolchain: RealView MDK-ARM Version: 4.14 Middleware: RL-ARM Real-Time Library Version V4.13 Toolchain Path: BIN40\ C Compiler: Armcc.Exe V4.1.0.567 Assembler: Armasm.Exe V4.1.0.567 Linker/Locator: ArmLink.Exe V4.1.0.567 Librarian: ArmAr.Exe V4.1.0.567 Hex Converter: FromElf.Exe V4.1.0.567 CPU DLL: SARMCM3.DLL V4.14 Dialog DLL: DARMP1.DLL V1.20.0.4 Target DLL: BIN\UL2CM3.DLL V1.80 Dialog DLL: TARMP1.DLL V1.20.0.3