2067 |
kakl |
1 |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> |
|
|
2 |
<CodeBlocks_project_file> |
|
|
3 |
<FileVersion major="1" minor="6" /> |
|
|
4 |
<Project> |
|
|
5 |
<Option title="LED_Blink" /> |
|
|
6 |
<Option makefile="makefile" /> |
|
|
7 |
<Option pch_mode="2" /> |
|
|
8 |
<Option compiler="arm_codesourcery" /> |
|
|
9 |
<Build> |
|
|
10 |
<Target title="Release"> |
|
|
11 |
<Option output="bin\LED_Blink.elf" prefix_auto="0" extension_auto="0" /> |
|
|
12 |
<Option working_dir="" /> |
|
|
13 |
<Option object_output="obj\" /> |
|
|
14 |
<Option type="5" /> |
|
|
15 |
<Option compiler="arm_codesourcery" /> |
|
|
16 |
<Compiler> |
|
|
17 |
<Add option="-O2" /> |
|
|
18 |
<Add option="-Wall" /> |
|
|
19 |
</Compiler> |
|
|
20 |
<Linker> |
|
|
21 |
<Add option="-s" /> |
|
|
22 |
</Linker> |
|
|
23 |
</Target> |
|
|
24 |
<Target title="Debug"> |
|
|
25 |
<Option output="bin\LED_Blink.elf" prefix_auto="0" extension_auto="0" /> |
|
|
26 |
<Option working_dir="" /> |
|
|
27 |
<Option object_output="obj\" /> |
|
|
28 |
<Option type="5" /> |
|
|
29 |
<Option compiler="arm_codesourcery" /> |
|
|
30 |
<Compiler> |
|
|
31 |
<Add option="-Wall" /> |
|
|
32 |
<Add option="-g" /> |
|
|
33 |
</Compiler> |
|
|
34 |
</Target> |
|
|
35 |
<Environment> |
|
|
36 |
<Variable name="VSPROG_DEV" value="stm32_md" /> |
|
|
37 |
<Variable name="ARMDEVICE" value="STM32_Med-density_128K" /> |
|
|
38 |
<Variable name="DEST_ADDR" value="0x08000000" /> |
|
|
39 |
</Environment> |
|
|
40 |
</Build> |
|
|
41 |
<Compiler> |
|
|
42 |
<Add option="-O2" /> |
|
|
43 |
<Add option="-Wall" /> |
|
|
44 |
<Add option="-mcpu=cortex-m3 -mthumb -g" /> |
|
|
45 |
<Add option="-DSTM32F10X_MD" /> |
|
|
46 |
<Add option="-DUSE_STDPERIPH_DRIVER" /> |
|
|
47 |
<Add option="-DUSE_STM32_DISCOVERY" /> |
|
|
48 |
<Add directory="." /> |
|
|
49 |
<Add directory=".\lib" /> |
|
|
50 |
</Compiler> |
|
|
51 |
<Linker> |
|
|
52 |
<Add option="-mcpu=cortex-m3 -mthumb" /> |
|
|
53 |
<Add option="-T stm32_128K_20K.ld" /> |
|
|
54 |
<Add option="-Wl,--gc-sections,-Map=$(TARGET_OBJECT_DIR)$(TARGET_OUTPUT_BASENAME).map,-cref,-u,Reset_Handler" /> |
|
|
55 |
<Add directory="." /> |
|
|
56 |
<Add directory=".\lib" /> |
|
|
57 |
</Linker> |
|
|
58 |
<ExtraCommands> |
|
|
59 |
<Add after="arm-none-eabi-objcopy -O ihex $(TARGET_OUTPUT_FILE) $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).hex" /> |
|
|
60 |
<Add after="arm-none-eabi-objcopy -O binary $(TARGET_OUTPUT_FILE) $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).bin" /> |
|
|
61 |
<Add after="arm-none-eabi-objdump -h -w $(TARGET_OUTPUT_FILE)" /> |
|
|
62 |
<Add after='cmd /c arm-none-eabi-objdump -h -S $(TARGET_OUTPUT_FILE) > $(TARGET_OUTPUT_FILE).lss"' /> |
|
|
63 |
<Mode after="always" /> |
|
|
64 |
</ExtraCommands> |
|
|
65 |
<Unit filename="LED_Blink_Main.c"> |
|
|
66 |
<Option compilerVar="CC" /> |
|
|
67 |
</Unit> |
|
|
68 |
<Unit filename="lib\stm32f10x_gpio.c"> |
|
|
69 |
<Option compilerVar="CC" /> |
|
|
70 |
</Unit> |
|
|
71 |
<Unit filename="lib\stm32f10x_rcc.c"> |
|
|
72 |
<Option compilerVar="CC" /> |
|
|
73 |
</Unit> |
|
|
74 |
<Unit filename="startup_stm32f10x_md.s" /> |
|
|
75 |
<Unit filename="stm32f10x_conf.h" /> |
|
|
76 |
<Unit filename="stm32f10x_it.c"> |
|
|
77 |
<Option compilerVar="CC" /> |
|
|
78 |
</Unit> |
|
|
79 |
<Extensions> |
|
|
80 |
<code_completion /> |
|
|
81 |
<envvars /> |
|
|
82 |
<debugger> |
|
|
83 |
<remote_debugging> |
|
|
84 |
<options conn_type="0" serial_baud="115200" ip_address="127.0.0.1" ip_port="3333" /> |
|
|
85 |
</remote_debugging> |
|
|
86 |
<remote_debugging target="Release"> |
|
|
87 |
<options conn_type="0" serial_baud="115200" ip_address="127.0.0.1" ip_port="3333" /> |
|
|
88 |
</remote_debugging> |
|
|
89 |
<remote_debugging target="Debug"> |
|
|
90 |
<options conn_type="0" serial_baud="115200" ip_address="127.0.0.1" ip_port="3333" /> |
|
|
91 |
</remote_debugging> |
|
|
92 |
</debugger> |
|
|
93 |
<lib_finder disable_auto="1" /> |
|
|
94 |
</Extensions> |
|
|
95 |
</Project> |
|
|
96 |
</CodeBlocks_project_file> |