Use led_output demo code of RT1010 SDK. The Keil project compile result to ZI-data over 60K. Why the ZI-data take so large space?
Hi,
In igpio_led_output .scf file(this is a linker script), you can see at the bottom of the file
RW_m_ncache_unused +0 EMPTY m_data2_size-ImageLength(RW_m_ncache) { ; Empty region added for MPU
}
This item adds 64k space into ZI. If you shrink m_data2_size to 0x1000, you'll see the ZI-data drop from 67k to 6k.
So, you can keep it untouched, just minus 64k from ZI-data. That is the real space you want to see.
Regards,
Jing