RT1010 SDK question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1010 SDK question

1,241 Views
cyesman
Contributor II

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?

Labels (1)
0 Kudos
Reply
1 Reply

1,158 Views
jingpan
NXP TechSupport
NXP TechSupport

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