data.impure_data

Jan Smrz jan.smrz na email.cz
Pondělí Srpen 29 17:23:25 CEST 2016


Muzete porovnat:

arm-none-eabi-gcc.exe
-mcpu=cortex-m4
-mfpu=fpv4-sp-d16
-Wl,--defsym=__HEAP_SIZE=0x1000
-Wl,--defsym=__STACK_SIZE=0x0400
-mfloat-abi=softfp
-Wwrite-strings -Wunreachable-code -Wstrict-prototypes -Wsign-compare 
-Wpointer-arith -Wnested-externs -Wno-long-long -Winline -Wbad-function-cast -W 
-Wdouble-promotion -Wunused-value -Wunused-variable
-Wunused-label -Wunused-function -Wunknown-pragmas -Wuninitialized -Wtrigraphs 
-Wsystem-headers -Wswitch -Wsequence-point -Wreturn-type -Wparentheses -Wmultichar
-Wmissing-braces -Wimplicit-int -Wimplicit-function-declaration -Wformat 
-Werror-implicit-function-declaration -Wdiv-by-zero -Wcomment -Wchar-subscripts
-fsingle-precision-constant
-ffunction-sections
-g2
-funsigned-bitfields
-DARM_MATH_CM4
-DSTM32F405xx
-DUSE_STDPERIPH_DRIVER
-D__FPU_USED
-fno-strict-aliasing
-O0
-g3
-save-temps=obj
-D_DEBUG_
-Wl,-script="../src/STM32F405VG_FLASH.ld"
-o ................seznam souboru.o pro linker
-Wl,-Map=..\bin\Debug\fpr.map
-specs=nano.specs
-Wl,--gc-sections
-lm
-nostartfiles

Kompilovano EmBitz 0.42
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.8.4 20140725 (release)


Parametry pro nm:
arm-none-eabi-nm -n -S fpr.elf



J.S.




On 08/29/2016 03:04 PM, HUDA wrote:
> Nechal jsem si vypsat příkazovou řádku (odřádkované příkazy)
>
> arm-none-eabi-gcc.exe
> -mcpu=cortex-m0
> -march=armv6-m
> -Wl,--defsym=__HEAP_SIZE=0x0000
> -Wl,--defsym=__STACK_SIZE=0x0100
> -mfloat-abi=soft
> -DSTM32F051
> -fno-strict-aliasing
> -mthumb
> -Wall
> -fdata-sections
> -ffunction-sections
> -O0
> -g3
> -D__DONT_INIT_VTABLE
> -fno-builtin
> -Wa,-adhlns=bin\Debug\.lst
> -Wl,-script="../../../../STM_Lib/STM32F0xx/STM32F051R8_FLASH.ld"
> -o ...............seznam souboru.o pro linker
> -Wl,-Map=bin\Debug\Test.map
> -specs=nano.specs
> -Wl,--gc-sections
>
> Nechybí, nebo nepřebývá mi tam něco?
> Jak jsou parametry pro nm?
>
> HUDA
>
>
>
> Dne Mon, 29 Aug 2016 14:28:33 +0200 Jan Smrz <jan.smrz na email.cz> napsal(a):
>
>> Nevim, mohu jen rict, ze u mne to na F4 funguje.
>>
>> V nastaveni linkeru, sekce Library selection mam zaskrtnuto pouze Newlib 
>> nano-branch.
>>
>> V prikazove radce pro  linker take krome -specs=nano.specs nevidim nic 
>> zvlastniho.
>>
>> vystup z nm:
>> 20000060 00000060 d impure_data
>> 200000c0 00000004 D _impure_ptr
>>
>> t.j. jen 100 bytu.
>>
>>
>> J.S.
>>
>>
>>
>> On 08/29/2016 12:40 PM, HUDA wrote:
>>> To už mám zaškrtnuto ("Newlib Nano-branch" = -specs=nano.specs).
>>> A pořád stejné.
>>>
>>> HUDA
> _______________________________________________
> HW-list mailing list  -  sponsored by www.HW.cz
> Hw-list na list.hw.cz
> http://list.hw.cz/mailman/listinfo/hw-list



Další informace o konferenci Hw-list