Page 1 of 1

FAQ_MA35D1_ Reduced Compilation Size of MA35D1 RTP

Posted: 01 Sep 2023, 16:31
by yhcheng3
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
.