FAQ_MA35D1_ Reduced Compilation Size of MA35D1 RTP

Post Reply
yhcheng3
Posts: 55
Joined: 02 Dec 2022, 10:46

01 Sep 2023, 16:31

Question :


Using the MA35 M4 development platform, the same code compiles to a bin file of 90kb. However, after compiling with nueclipse, the file size exceeds 1mb.

How can I configure the compilation options to reduce the size after compiling?



Answer.

You can use the following commands to reduce the size of the generated executable file:

Code: Select all

# export PATH=/MA35D1_Buildroot/output/build/host-gcc-arm-none-eabi-1.0.0/bin:$PATH
# arm-none-eabi-strip -s xxx.elf
After applying the above commands, the compiled output is 160k.


#MA35D1, #RTP
.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 46 guests