-
Notifications
You must be signed in to change notification settings - Fork 2
/
LZSA.cbp
133 lines (133 loc) · 3.88 KB
/
LZSA.cbp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="STM8 LZSA" />
<Option pch_mode="2" />
<Option compiler="sdcc" />
<Build>
<Target title="Library (Medium)">
<Option output="lzsa.lib" prefix_auto="0" extension_auto="0" />
<Option working_dir="" />
<Option object_output="obj/Library-Medium" />
<Option type="2" />
<Option compiler="sdcc" />
<Option createDefFile="1" />
<Environment>
<Variable name="MODEL" value="medium" />
</Environment>
</Target>
<Target title="Library (Large)">
<Option output="lzsa-large.lib" prefix_auto="0" extension_auto="0" />
<Option working_dir="" />
<Option object_output="obj/Library-Large" />
<Option type="2" />
<Option compiler="sdcc" />
<Option createDefFile="1" />
<Compiler>
<Add option="--model-large" />
</Compiler>
<Environment>
<Variable name="MODEL" value="large" />
</Environment>
</Target>
<Target title="Test">
<Option output="bin/Test/test.hex" prefix_auto="0" extension_auto="0" />
<Option working_dir="" />
<Option object_output="obj/Test/" />
<Option external_deps="lzsa-large.lib;" />
<Option type="5" />
<Option compiler="sdcc" />
<Compiler>
<Add option="--out-fmt-ihx" />
<Add option="--model-large" />
<Add option="--debug" />
<Add option="-DF_CPU=16000000UL" />
</Compiler>
<Linker>
<Add library="lzsa-large.lib" />
</Linker>
</Target>
<Environment>
<Variable name="MCU" value="STM8S208RB" />
<Variable name="PORT" value="COM14" />
</Environment>
</Build>
<VirtualTargets>
<Add alias="All" targets="Library (Medium);Library (Large);Test;" />
</VirtualTargets>
<Compiler>
<Add option="-mstm8" />
<Add option="--std-c99" />
</Compiler>
<Unit filename="lzsa.h" />
<Unit filename="lzsa1.s">
<Option compilerVar="CC" />
<Option compiler="sdcc" use="1" buildCommand='${TARGET_COMPILER_DIR}bin\sdasstm8.exe -ff -w -l -p -o "$object" "lzsa_${MODEL}.s" "$file"' />
<Option target="Library (Medium)" />
<Option target="Library (Large)" />
</Unit>
<Unit filename="lzsa2.s">
<Option compilerVar="CC" />
<Option compiler="sdcc" use="1" buildCommand='${TARGET_COMPILER_DIR}bin\sdasstm8.exe -ff -w -l -p -o "$object" "lzsa_${MODEL}.s" "$file"' />
<Option target="Library (Medium)" />
<Option target="Library (Large)" />
</Unit>
<Unit filename="lzsa_large.s">
<Option compilerVar="CC" />
<Option compile="0" />
<Option link="0" />
<Option target="Library (Large)" />
</Unit>
<Unit filename="lzsa_medium.s">
<Option compilerVar="CC" />
<Option compile="0" />
<Option link="0" />
<Option target="Library (Medium)" />
</Unit>
<Unit filename="lzsa_ref.c">
<Option compilerVar="CC" />
<Option target="Test" />
</Unit>
<Unit filename="lzsa_ref.h">
<Option target="Test" />
</Unit>
<Unit filename="main.c">
<Option compilerVar="CC" />
<Option target="Test" />
</Unit>
<Unit filename="tests.c">
<Option compilerVar="CC" />
<Option target="Test" />
</Unit>
<Unit filename="tests.h">
<Option target="Test" />
</Unit>
<Unit filename="tests/tests_data.c">
<Option compilerVar="CC" />
<Option compile="0" />
<Option link="0" />
<Option target="Test" />
</Unit>
<Unit filename="uart.c">
<Option compilerVar="CC" />
<Option target="Test" />
</Unit>
<Unit filename="uart.h">
<Option target="Test" />
</Unit>
<Unit filename="uart_regs.h">
<Option target="Test" />
</Unit>
<Unit filename="ucsim.c">
<Option compilerVar="CC" />
<Option target="Test" />
</Unit>
<Unit filename="ucsim.h">
<Option target="Test" />
</Unit>
<Extensions>
<lib_finder disable_auto="1" />
</Extensions>
</Project>
</CodeBlocks_project_file>