// 
// STM32F4DISCOVERYLED`J`JTv(ŏ̈p)
// 
// chan̍쐬L`JvO(mary_1st.zip)Qlɂ
// L]{[hp̎st@C𐶐ł悤ɒ쐬
// ̂łB
// ̃wb_t@ĆCstm32f4_dsp_stdperiph_lib.zip
// /STM32F4xx_DSP_StdPeriph_Lib_V1.0.0/ȉ
// fBNgRs[̂łB
// Libraries/CMSIS/Device/ST/Include
// Libraries/CMSIS/Include
// 
// 2012/02/05
// inc/core_cmInstr.h ɂẮCgas̃oOɂG[邽߂
// CC֐__STREXB,__STREXH,__STREXWł̃WX^I[obv
// }~悤ɃCCAZuCĂ܂B
// Cӏ́Cinc/core_cmInstr.h.diffQƂ̂ƁB
// http://old.nabble.com/-Bug-gas-13215--New%3A-ARM-Cortex-M3-strexh-strexb-instructions-with-same-registers-generates-error-td32516436.html
// 
// rhs́Ccygwinz肵Ă܂B
// toolchaińCARM_Sourcery_G++(GCC 4.6.1x[X)z肵Ă܂B
// STM32 ST-LINK Utilitygpĕ]{[hɃ[hs܂B
// 
// QlTCgF
// chanELM Home page ( http://elm-chan.org/junk/32bit/report.html )
// ˂ނuO ( http://nemuisan.blog.bai.ne.jp/ )
// STmicro Home page ( http://www.st.com/stm32f4 )
// 
[build_log]
$ make clean

rm -f -r obj/* | exit 0

$ make
arm-none-eabi-gcc.exe (Sourcery CodeBench Lite 2011.09-69) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


src/vector.c :
arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfpu=fpv4-sp-d16
 -mfloat-abi=softfp -fipa-sra -I. -std=gnu89 -gdwarf-2 -Os -Wall -Wextra -Iinc
-Wp,-M,-MP,-MT,obj/vector.o src/vector.c -o obj/vector.o

src/main.c :
arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfpu=fpv4-sp-d16
 -mfloat-abi=softfp -fipa-sra -I. -std=gnu89 -gdwarf-2 -Os -Wall -Wextra -Iinc
-Wp,-M,-MP,-MT,obj/main.o src/main.c -o obj/main.o

Linking...
arm-none-eabi-gcc -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfpu=fpv4-sp-d16 -m
float-abi=softfp -fipa-sra -I. -std=gnu89 -gdwarf-2 -Os -Wall -Wextra -Iinc  -Wp
,-M,-MP,-MT,obj/stm32f4dis_demo1.o    obj/vector.o obj/main.o --output obj/stm32
f4dis_demo1.elf -nostartfiles -Wl,-Map=obj/stm32f4dis_demo1.map,--cref,--gc-sect
ions -lc -lgcc   -lm -Tstm32f4xx.ld

arm-none-eabi-objcopy -O ihex obj/stm32f4dis_demo1.elf obj/stm32f4dis_demo1.hex

arm-none-eabi-objdump -h -S -C obj/stm32f4dis_demo1.elf > obj/stm32f4dis_demo1.l
st

arm-none-eabi-nm -n obj/stm32f4dis_demo1.elf > obj/stm32f4dis_demo1.sym

arm-none-eabi-size -A obj/stm32f4dis_demo1.elf
obj/stm32f4dis_demo1.elf  :
section           size        addr
.text              708   134217728
.bss                 4   536870912
.comment            48           0
.ARM.attributes     57           0
.debug_aranges      72           0
.debug_info       2150           0
.debug_abbrev      601           0
.debug_line        501           0
.debug_frame       148           0
.debug_str         718           0
.debug_loc         200           0
.debug_ranges       72           0
Total             5279



$
