FreeCalypso > hg > fc-magnetite
annotate configs/hybrid @ 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 | fe200bd2f188 |
children | 69e52afc01d5 |
rev | line source |
---|---|
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # This hybrid configuration is an attempt to graft the G23M PS and ACI |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 # from TCS3.2/LoCosto onto the TCS211 foundation. It is based on the |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 # l1reconst config. |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
394
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
5 GPRS=1 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
6 MMI=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
7 SRVC=1 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
8 export GPRS MMI SRVC |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
9 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
10 ATP_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
11 FCHG_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
12 LCC_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
13 MKS_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
14 PWR_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
15 R2D_STATE=0 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
16 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
|
17 |
fe200bd2f188
configs/*: converted to use scripts/config-headers-new.sh
Mychaela Falconia <falcon@freecalypso.org>
parents:
277
diff
changeset
|
18 scripts/config-headers-new.sh |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 CONDAT=condat3 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 GPF=gpf3 |
213
7fef2fc6e002
configs/hybrid: switch to the new cdg-hybrid cdginc headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
206
diff
changeset
|
22 CDGINC=cdg-hybrid/cdginc |
7fef2fc6e002
configs/hybrid: switch to the new cdg-hybrid cdginc headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
206
diff
changeset
|
23 CDGPRIM=cdg-hybrid/sap-inline |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 ACI=g23m-aci |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 export CONDAT GPF CDGINC CDGPRIM ACI |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 build_lib ccddata |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 # ACI libs |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 build_lib aci tcs3 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 build_lib aciext tcs3 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 build_lib aci_dti_mng tcs3 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 build_lib atiext tcs3 |
200
876b6c569e36
hybrid comlib build
Mychaela Falconia <falcon@freecalypso.org>
parents:
199
diff
changeset
|
34 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
|
35 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
|
36 build_lib config_gprs_ir hybrid |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 # G23M protocol stack libs |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 build_lib alr sotovik |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 build_lib cc |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 build_lib cci |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 build_lib cci_ir |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 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
|
45 build_lib cl |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 build_lib dl |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 build_lib dti |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 build_lib fad |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 build_lib gmm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 build_lib grlc |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 build_lib grlc_ir |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 build_lib grr |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 build_lib l1_pei |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 build_lib l2r |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 build_lib llc |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 build_lib mm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 build_lib ra |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 build_lib rlp |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 build_lib rr |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 build_lib sim_b_lib |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 build_lib sm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 build_lib sms |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 build_lib sndcp |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 build_lib ss |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 build_lib t30 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 build_lib uart_b_lib |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 build_lib ppp |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 build_lib ppp_ir |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 build_lib upm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 # Condat drivers |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 build_lib gdi |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 # GPF |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 build_lib ccd_na7_db |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 blob_lib_gpf frame_na7_db_fl |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 blob_lib_custom blobs/patches/frame_na7_db_ir-systrace.lib frame_na7_db_ir |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 blob_lib_gpf misc_na7_db_fl |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 blob_lib_gpf misc_na7_db_ir |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 blob_lib_gpf osx_na7_db |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 blob_lib_gpf tif_na7_db_fl |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 blob_lib_gpf tif_na7_db_ir |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 # core drivers |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 build_lib drivers_flash |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 # Layer 1 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 build_lib tpudrv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 build_lib l1_ext |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 lib_link_magic '(BSS_LIBS (.l1s_global))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 build_lib l1_int |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 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
|
100 build_lib l1_custom_ext |
92ea7d84e38c
configs/* except classic: l1_custom_ext.lib deblobbed
Mychaela Falconia <falcon@freecalypso.org>
parents:
231
diff
changeset
|
101 build_lib l1_custom_int |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 build_lib riviera_core_flash |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 build_lib riviera_cust_flash |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 # services |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 #build_lib atp |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 build_lib audio |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 build_lib audio_bgd |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 build_lib cst |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 build_lib dar |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 build_lib dar_gbl_var |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 lib_link_magic '(BSS_DAR_LIB (.bss))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 build_lib etm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 build_lib lls |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 #build_lib mks |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 # app drivers |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 build_lib abb |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 build_lib buzzer |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 build_lib ffs |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 build_lib ffs_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 build_lib ffs_pcm |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 build_lib kpd |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 #build_lib lcc |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 build_lib power |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 build_lib rtc_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 build_lib sim_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 build_lib spi_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 build_lib uart_drv |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 # system glue |
277
045541ab3ef5
configs/hybrid: switched to the reconstructed init.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
237
diff
changeset
|
134 build_lib main init |
199
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 build_lib bootloader |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 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
|
137 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 # Nucleus and TI's compiler stuff |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 blob_lib_os nucleus_flash_nodbg |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 blob_lib_os nucleus_int_ram_nodbg |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 blob_lib_os rts16le_flash |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 blob_lib_os rts16le_int_ram |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 lib_link_magic '(BSS_LIBS (.bss))' |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 |
78d46b5cda38
configs/hybrid: recipe created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 str2ind_blobs_used=0 |