FreeCalypso > hg > fc-magnetite
annotate configs/hybrid-gpf @ 516:1ed9de6c90bd
src/g23m-gsm/sms/sms_for.c: bogus malloc removed
The new error handling code that was not present in TCS211 blob version
contains a malloc call that is bogus for 3 reasons:
1) The memory allocation in question is not needed in the first place;
2) libc malloc is used instead of one of the firmware's proper ways;
3) The memory allocation is made inside a function and then never freed,
i.e., a memory leak.
This bug was caught in gcc-built FreeCalypso fw projects (Citrine
and Selenite) because our gcc environment does not allow any use of
libc malloc (any reference to malloc produces a link failure),
but this code from TCS3.2 is wrong even for Magnetite: if this code
path is executed repeatedly over a long time, the many small allocations
made by this malloc call without a subsequent free will eventually
exhaust the malloc heap provided by the TMS470 environment, malloc will
start returning NULL, and the bogus code will treat it as an error.
Because the memory allocation in question is not needed at all,
the fix entails simply removing it.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 22 Jul 2018 06:04:49 +0000 |
parents | be7731ddf4e8 |
children | 92a3afcbccb9 |
rev | line source |
---|---|
503
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
1 # This configuration is derived from the basic hybrid config. In common |
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
2 # with regular hybrid, this config is for a GSM+CSD+GPRS modem controlled |
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
3 # via AT commands (no UI), but it differs from the regular hybrid config |
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
4 # in that the GPF libraries are rebuilt from source. |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
394
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
6 GPRS=1 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
7 MMI=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
8 SRVC=1 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
9 export GPRS MMI SRVC |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
10 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
11 ATP_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
12 FCHG_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
13 LCC_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
14 MKS_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
15 PWR_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
16 R2D_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
17 export ATP_STATE FCHG_STATE LCC_STATE MKS_STATE PWR_STATE R2D_STATE |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
18 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
19 scripts/config-headers-new.sh |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 CONDAT=condat3 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 GPF=gpf3 |
213
7fef2fc6e002
configs/hybrid: switch to the new cdg-hybrid cdginc headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
206
diff
changeset
|
23 CDGINC=cdg-hybrid/cdginc |
7fef2fc6e002
configs/hybrid: switch to the new cdg-hybrid cdginc headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
206
diff
changeset
|
24 CDGPRIM=cdg-hybrid/sap-inline |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 ACI=g23m-aci |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 export CONDAT GPF CDGINC CDGPRIM ACI |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 build_lib ccddata |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 # ACI libs |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 build_lib aci tcs3 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 build_lib aciext tcs3 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 build_lib aci_dti_mng tcs3 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 build_lib atiext tcs3 |
200
876b6c569e36
hybrid comlib build
Mychaela Falconia <falcon@freecalypso.org>
parents:
199
diff
changeset
|
35 build_lib comlib hybrid |
206
6aadfa0d10c4
UPM enabled in the GPF/GPRS config for the hybrid build
Mychaela Falconia <falcon@freecalypso.org>
parents:
204
diff
changeset
|
36 build_lib config_gprs_fl hybrid |
6aadfa0d10c4
UPM enabled in the GPF/GPRS config for the hybrid build
Mychaela Falconia <falcon@freecalypso.org>
parents:
204
diff
changeset
|
37 build_lib config_gprs_ir hybrid |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 # G23M protocol stack libs |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 build_lib alr sotovik |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 build_lib cc |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 build_lib cci |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 build_lib cci_ir |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
204
e2714de970a4
TCS2/TCS3 hybrid config links after adding cl.lib
Mychaela Falconia <falcon@freecalypso.org>
parents:
200
diff
changeset
|
46 build_lib cl |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 build_lib dl |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 build_lib dti |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 build_lib fad |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 build_lib gmm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 build_lib grlc |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 build_lib grlc_ir |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 build_lib grr |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 build_lib l1_pei |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 build_lib l2r |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 build_lib llc |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 build_lib mm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 build_lib ra |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 build_lib rlp |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 build_lib rr |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 build_lib sim_b_lib |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 build_lib sm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 build_lib sms |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 build_lib sndcp |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 build_lib ss |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 build_lib t30 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 build_lib uart_b_lib |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 build_lib ppp |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 build_lib ppp_ir |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 build_lib upm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 # Condat drivers |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 build_lib gdi |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 # GPF |
503
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
78 build_lib ccd_na7_db |
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
79 build_lib frame_na7_db_fl |
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
80 build_lib frame_na7_db_ir |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
503
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
82 build_lib misc_na7_db_fl |
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
83 build_lib misc_na7_db_ir |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
506
be7731ddf4e8
configs/hybrid-gpf: build OSX from source
Mychaela Falconia <falcon@freecalypso.org>
parents:
503
diff
changeset
|
85 build_lib osx_na7_db |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
503
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
87 build_lib tif_na7_db_fl |
0c5f61a73709
hybrid-gpf configuration created
Mychaela Falconia <falcon@freecalypso.org>
parents:
394
diff
changeset
|
88 build_lib tif_na7_db_ir |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 # core drivers |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 build_lib drivers_flash |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 # Layer 1 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 build_lib tpudrv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 build_lib l1_ext |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 lib_link_magic '(BSS_LIBS (.l1s_global))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 build_lib l1_int |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
237
92ea7d84e38c
configs/* except classic: l1_custom_ext.lib deblobbed
Mychaela Falconia <falcon@freecalypso.org>
parents:
231
diff
changeset
|
101 build_lib l1_custom_ext |
92ea7d84e38c
configs/* except classic: l1_custom_ext.lib deblobbed
Mychaela Falconia <falcon@freecalypso.org>
parents:
231
diff
changeset
|
102 build_lib l1_custom_int |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 build_lib riviera_core_flash |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 build_lib riviera_cust_flash |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 # services |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 #build_lib atp |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 build_lib audio |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 build_lib audio_bgd |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 build_lib cst |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 build_lib dar |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 build_lib dar_gbl_var |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 lib_link_magic '(BSS_DAR_LIB (.bss))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 build_lib etm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 build_lib lls |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 #build_lib mks |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 # app drivers |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 build_lib abb |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 build_lib buzzer |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 build_lib ffs |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 build_lib ffs_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 build_lib ffs_pcm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 build_lib kpd |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 #build_lib lcc |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 build_lib power |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 build_lib rtc_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 build_lib sim_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 build_lib spi_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 build_lib uart_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 # system glue |
277
045541ab3ef5
configs/hybrid: switched to the reconstructed init.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
237
diff
changeset
|
135 build_lib main init |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 build_lib bootloader |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 lib_link_magic '(CONST_BOOT_LIB (.const, .text, .text:v$3) BSS_BOOT_LIB (.bss))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 # Nucleus and TI's compiler stuff |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 blob_lib_os nucleus_flash_nodbg |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 blob_lib_os nucleus_int_ram_nodbg |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 blob_lib_os rts16le_flash |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 blob_lib_os rts16le_int_ram |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 lib_link_magic '(BSS_LIBS (.bss))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 str2ind_blobs_used=0 |