Code size increase
I've changed from gcc-arm-
With 5.3:
build/main.elf :
section size addr
.text 0xb68c 0x8000000
.rodata 0x1d08 0x800b698
.data 0xa8 0x20000000
.bss 0x1198 0x200000a8
Size: 54344 bytes
With 5.4:
Size after:
build/main.elf :
section size addr
.text 0xb6f0 0x8000000
.rodata 0x1e10 0x800b700
.data 0x1d8 0x20000000
.bss 0x1198 0x200001d8
Size: 55016 bytes
Switches:
-c
-mthumb
-I.
-mcpu=cortex-m4
-mfloat-abi=softfp
-mfpu=fpv4-sp-d16
-gdwarf-2
-Os
-funsigned-char
-funsigned-
-fshort-enums
-fverbose-asm
-fdata-sections
-ffunction-sections
-Wall
-mno-unaligned-
-pedantic
-Wshadow
-Wno-variadic-
-Wpointer-arith
-Wcast-align
-Wcast-qual
-Wextra
-Wno-write-strings
-Wunreachable-code
-Wno-format
-Wa,-adhlns=
-MMD
-MP
-MF build/dep/
-fno-rtti
-fno-exceptions
-std=gnu++11
Is there anything that can help me with the code size? Or is ti something that i'll have to live with? Is there any big problem about remain using the 5.3 release?
Thanks, Mauricio
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: