xref: /btstack/chipset/cc256x/Makefile.inc (revision 0e0e98b2848d6f7ea804746b2cbca1f7f66e1559)
1d5814ca7SMatthias Ringwald#
237da03daSMatthias Ringwald# Makefile to download and convert TI's CC256x Service Pack .bts files from
3d5814ca7SMatthias Ringwald# http://processors.wiki.ti.com/index.php/CC256x_Downloads
4d5814ca7SMatthias Ringwald#
537da03daSMatthias Ringwald# Service Packs for CC256xB v1.5 and CC256xC v1.0 downloaded from BlueKitchen company website
637da03daSMatthias Ringwald# https://e2e.ti.com/support/wireless_connectivity/bluetooth_cc256x/f/660/p/560523/2056007#2056007
737da03daSMatthias Ringwald
837da03daSMatthias RingwaldTI_GIT_REPO_URL = https://git.ti.com/ti-bt/service-packs/blobs/raw/a027ae390d8790e56e1c78136c78fe6537470e91
937da03daSMatthias RingwaldBLUEKITCHEN_URL = https://bluekitchen-gmbh.com/files/
10edc52946SMatthias RingwaldCONVERSION_SCRIPT=$(BTSTACK_ROOT)/chipset/cc256x/convert_bts_init_scripts.py
11d5814ca7SMatthias Ringwald
1237da03daSMatthias Ringwald
1337da03daSMatthias Ringwald# First generation CC2560 - AKA TIInit_6.2.31.bts
1437da03daSMatthias Ringwald
1537da03daSMatthias Ringwald# v2.44 - file part of .zip archive
16a3fe55ccSMatthias Ringwald
17a3fe55ccSMatthias RingwaldCC2560_BT_SP_BTS.zip:
1837da03daSMatthias Ringwald	@echo "Downloading $@"
1937da03daSMatthias Ringwald	@curl -sS -O http://processors.wiki.ti.com/images/d/da/CC2560_BT_SP_BTS.zip
20a3fe55ccSMatthias Ringwald
21a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560_2.44.bts: CC2560_BT_SP_BTS.zip
2237da03daSMatthias Ringwald	@echo "Extracting $@"
2337da03daSMatthias Ringwald	@unzip -q -j -o CC2560_BT_SP_BTS.zip CC2560_BT_SP_BTS/bluetooth_init_cc2560_2.44.bts
24a3fe55ccSMatthias Ringwald
2537da03daSMatthias Ringwald# Second generation CC2560A and CC2564 - AKA TIInit_6.6.15.bts
26a3fe55ccSMatthias Ringwald
2737da03daSMatthias Ringwald# v2.14 - files part of .zip archive
28a3fe55ccSMatthias Ringwald
29a3fe55ccSMatthias RingwaldCC2560A_BT_SP_BTS.zip:
3037da03daSMatthias Ringwald	@echo "Downloading $@"
3106ee659aSMatthias Ringwald	@curl -sS -O http://processors.wiki.ti.com/images/e/e7/CC2560A_BT_SP_BTS.zip
32a3fe55ccSMatthias Ringwald
33a3fe55ccSMatthias RingwaldCC2564_BT_BLE_SP_BTS.zip:
3437da03daSMatthias Ringwald	@echo "Downloading $@"
3506ee659aSMatthias Ringwald	@curl -sS -O http://processors.wiki.ti.com/images/1/1e/CC2564_BT_BLE_SP_BTS.zip
36a3fe55ccSMatthias Ringwald
37a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560A_2.14.bts: CC2560A_BT_SP_BTS.zip
3837da03daSMatthias Ringwald	@echo "Extracting $@"
3937da03daSMatthias Ringwald	@unzip -q -j -o CC2560A_BT_SP_BTS.zip CC2560A_BT_SP_BTS/bluetooth_init_cc2560A_2.14.bts
40a3fe55ccSMatthias Ringwald
41a3fe55ccSMatthias Ringwaldbluetooth_init_cc2564_2.14.bts: CC2564_BT_BLE_SP_BTS.zip
4237da03daSMatthias Ringwald	@echo "Extracting $@"
4337da03daSMatthias Ringwald	@unzip -q -j -o CC2564_BT_BLE_SP_BTS.zip CC2564_BT_BLE_SP_BTS/bluetooth_init_cc2564_2.14.bts
44a3fe55ccSMatthias Ringwald
452d0fc1beSMatthias Ringwald# Third generation CC256xB - AKA TIInit_6.7.16.bts
46a3fe55ccSMatthias Ringwald
4737da03daSMatthias Ringwald# v1.2 - versioned files TI Git Repo
48d5814ca7SMatthias Ringwaldbluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts:
4937da03daSMatthias Ringwald	@echo "Downloading $@"
5006ee659aSMatthias Ringwald	@curl -sS -O $(TI_GIT_REPO_URL)/bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts
51d5814ca7SMatthias Ringwald
52d5814ca7SMatthias Ringwaldbluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts:
5337da03daSMatthias Ringwald	@echo "Downloading $@"
5406ee659aSMatthias Ringwald	@curl -sS -O $(TI_GIT_REPO_URL)/bluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts
55d5814ca7SMatthias Ringwald
56d5814ca7SMatthias RingwaldBLE_init_cc2564B_1.2.bts:
5737da03daSMatthias Ringwald	@echo "Downloading $@"
5806ee659aSMatthias Ringwald	@curl -sS -O $(TI_GIT_REPO_URL)/BLE_init_cc2564B_1.2.bts
59d5814ca7SMatthias Ringwald
6037da03daSMatthias Ringwald# v1.4 - versioned files TI Git Repo
61edc52946SMatthias RingwaldTIInit_6.7.16_bt_spec_4.1.bts:
6237da03daSMatthias Ringwald	@echo "Downloading $@"
6306ee659aSMatthias Ringwald	@curl -sS -O https://git.ti.com/ti-bt/service-packs/blobs/raw/54f5c151dacc608b19ab2ce4c30e27a3983048b2/initscripts/TIInit_6.7.16_bt_spec_4.1.bts
64edc52946SMatthias Ringwald
65edc52946SMatthias RingwaldTIInit_6.7.16_ble_add-on.bts:
6637da03daSMatthias Ringwald	@echo "Downloading $@"
6706ee659aSMatthias Ringwald	@curl -sS -O https://git.ti.com/ti-bt/service-packs/blobs/raw/89c8db14929f10d75627b132690432cd71f5f54f/initscripts/TIInit_6.7.16_ble_add-on.bts
68edc52946SMatthias Ringwald
6937da03daSMatthias Ringwald# v1.5 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xb-bt-sp
7037da03daSMatthias Ringwaldcc256x_bt_sp_v1.5.zip:
7137da03daSMatthias Ringwald	echo "Downloading $@"
7206ee659aSMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256x_bt_sp_v1.5.zip
73638e16f3SMatthias Ringwald
742d0fc1beSMatthias Ringwaldcc256x_bt_sp_v1.5/initscripts-TIInit_6.7.16_bt_spec_4.1.bts: cc256x_bt_sp_v1.5.zip
7537da03daSMatthias Ringwald	@echo "Extracting $@"
762d0fc1beSMatthias Ringwald	@mkdir -p cc256x_bt_sp_v1.5
772d0fc1beSMatthias Ringwald	@unzip -q -j -o cc256x_bt_sp_v1.5.zip -d cc256x_bt_sp_v1.5 CC256X_BT_SP/v1.5/initscripts-TIInit_6.7.16_bt_spec_4.1.bts
78638e16f3SMatthias Ringwald
792d0fc1beSMatthias Ringwaldcc256x_bt_sp_v1.5/initscripts-TIInit_6.7.16_ble_add-on.bts: cc256x_bt_sp_v1.5.zip
8037da03daSMatthias Ringwald	@echo "Extracting $@"
812d0fc1beSMatthias Ringwald	@mkdir -p cc256x_bt_sp_v1.5
822d0fc1beSMatthias Ringwald	@unzip -q -j -o cc256x_bt_sp_v1.5.zip -d cc256x_bt_sp_v1.5 CC256X_BT_SP/v1.5/initscripts-TIInit_6.7.16_ble_add-on.bts
832d0fc1beSMatthias Ringwald
842d0fc1beSMatthias Ringwald# v1.6 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xb-bt-sp
852d0fc1beSMatthias Ringwaldcc256xb_bt_sp_v1.6.zip:
862d0fc1beSMatthias Ringwald	echo "Downloading $@"
872d0fc1beSMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xb_bt_sp_v1.6.zip
882d0fc1beSMatthias Ringwald
892d0fc1beSMatthias Ringwaldcc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_bt_spec_4.1.bts: cc256xb_bt_sp_v1.6.zip
902d0fc1beSMatthias Ringwald	@echo "Extracting $@"
912d0fc1beSMatthias Ringwald	@mkdir -p cc256xb_bt_sp_v1.6
922d0fc1beSMatthias Ringwald	@unzip -q -j -o cc256xb_bt_sp_v1.6.zip -d cc256xb_bt_sp_v1.6 CC256XB_BT_SP/v1.6/initscripts-TIInit_6.7.16_bt_spec_4.1.bts
932d0fc1beSMatthias Ringwald
942d0fc1beSMatthias Ringwaldcc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_ble_add-on.bts: cc256xb_bt_sp_v1.6.zip
952d0fc1beSMatthias Ringwald	@echo "Extracting $@"
962d0fc1beSMatthias Ringwald	@mkdir -p cc256xb_bt_sp_v1.6
972d0fc1beSMatthias Ringwald	@unzip -q -j -o cc256xb_bt_sp_v1.6.zip -d cc256xb_bt_sp_v1.6 CC256XB_BT_SP/v1.6/initscripts-TIInit_6.7.16_ble_add-on.bts
98638e16f3SMatthias Ringwald
993d919a60SMatthias Ringwald# v1.7 - not available, please use v1.8 or newer
1003d919a60SMatthias Ringwald
1013d919a60SMatthias Ringwald# v1.8 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xb-bt-sp
1023d919a60SMatthias Ringwaldcc256xb_bt_sp_v1.8.zip:
1033d919a60SMatthias Ringwald	echo "Downloading $@"
1043d919a60SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xb_bt_sp_v1.8.zip
1053d919a60SMatthias Ringwald
1063d919a60SMatthias Ringwaldcc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_bt_spec_4.1.bts: cc256xb_bt_sp_v1.8.zip
1073d919a60SMatthias Ringwald	@echo "Extracting $@"
1083d919a60SMatthias Ringwald	@mkdir -p cc256xb_bt_sp_v1.8
1093d919a60SMatthias Ringwald	@unzip -q -j -o cc256xb_bt_sp_v1.8.zip -d cc256xb_bt_sp_v1.8 CC256XB_BT_SP/v1.8/initscripts-TIInit_6.7.16_bt_spec_4.1.bts
1103d919a60SMatthias Ringwald
1113d919a60SMatthias Ringwaldcc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_ble_add-on.bts: cc256xb_bt_sp_v1.8.zip
1123d919a60SMatthias Ringwald	@echo "Extracting $@"
1133d919a60SMatthias Ringwald	@mkdir -p cc256xb_bt_sp_v1.8
1143d919a60SMatthias Ringwald	@unzip -q -j -o cc256xb_bt_sp_v1.8.zip -d cc256xb_bt_sp_v1.8 CC256XB_BT_SP/v1.8/initscripts-TIInit_6.7.16_ble_add-on.bts
1153d919a60SMatthias Ringwald
116638e16f3SMatthias Ringwald
11737da03daSMatthias Ringwald# Fourth generation CC256xC - TIInit_6.12.26.bts
11837da03daSMatthias Ringwald
11937da03daSMatthias Ringwald# v1.0 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
12037da03daSMatthias Ringwaldcc256xc_bt_sp_v1.0.zip:
12137da03daSMatthias Ringwald	@echo "Downloading $@"
12206ee659aSMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.0.zip
12337da03daSMatthias Ringwald
1247830d3e6SMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.0.bts: cc256xc_bt_sp_v1.0.zip
12537da03daSMatthias Ringwald	@echo "Extracting $@"
1267830d3e6SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.0.zip CC256XC_BT_SP/v1.0/initscripts-TIInit_6.12.26.bts > $@
12737da03daSMatthias Ringwald
1287830d3e6SMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.0.bts: cc256xc_bt_sp_v1.0.zip
12937da03daSMatthias Ringwald	@echo "Extracting $@"
1307830d3e6SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.0.zip CC256XC_BT_SP/v1.0/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
13137da03daSMatthias Ringwald
13214cca92bSMatthias Ringwald# v1.1 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
13314cca92bSMatthias Ringwaldcc256xc_bt_sp_v1.1.zip:
13414cca92bSMatthias Ringwald	@echo "Downloading $@"
13514cca92bSMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.1.zip
13614cca92bSMatthias Ringwald
13714cca92bSMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.1.bts: cc256xc_bt_sp_v1.1.zip
13814cca92bSMatthias Ringwald	@echo "Extracting $@"
13914cca92bSMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.1.zip CC256XC_BT_SP/v1.1/initscripts-TIInit_6.12.26.bts > $@
14014cca92bSMatthias Ringwald
14114cca92bSMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.1.bts: cc256xc_bt_sp_v1.1.zip
14214cca92bSMatthias Ringwald	@echo "Extracting $@"
14314cca92bSMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.1.zip CC256XC_BT_SP/v1.1/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
14414cca92bSMatthias Ringwald
145*0e0e98b2SMatthias Ringwald# v1.2 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
1463d919a60SMatthias Ringwaldcc256xc_bt_sp_v1.2.zip:
1473d919a60SMatthias Ringwald	@echo "Downloading $@"
1483d919a60SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.2.zip
1493d919a60SMatthias Ringwald
1503d919a60SMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.2.bts: cc256xc_bt_sp_v1.2.zip
1513d919a60SMatthias Ringwald	@echo "Extracting $@"
1523d919a60SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.2.zip CC256XC_BT_SP/v1.2/initscripts-TIInit_6.12.26.bts > $@
1533d919a60SMatthias Ringwald
1543d919a60SMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.2.bts: cc256xc_bt_sp_v1.2.zip
1553d919a60SMatthias Ringwald	@echo "Extracting $@"
1563d919a60SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.2.zip CC256XC_BT_SP/v1.2/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
15737da03daSMatthias Ringwald
158*0e0e98b2SMatthias Ringwald# v1.3 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
159*0e0e98b2SMatthias Ringwaldcc256xc_bt_sp_v1.3.zip:
160*0e0e98b2SMatthias Ringwald	@echo "Downloading $@"
161*0e0e98b2SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.3.zip
162*0e0e98b2SMatthias Ringwald
163*0e0e98b2SMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.3.bts: cc256xc_bt_sp_v1.3.zip
164*0e0e98b2SMatthias Ringwald	@echo "Extracting $@"
165*0e0e98b2SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.3.zip CC256XC_BT_SP/v1.3/initscripts-TIInit_6.12.26.bts > $@
166*0e0e98b2SMatthias Ringwald
167*0e0e98b2SMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.3.bts: cc256xc_bt_sp_v1.3.zip
168*0e0e98b2SMatthias Ringwald	@echo "Extracting $@"
169*0e0e98b2SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.3.zip CC256XC_BT_SP/v1.3/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
170*0e0e98b2SMatthias Ringwald
17137da03daSMatthias Ringwald# Various scripts for WL chipsets
17237da03daSMatthias Ringwald
17345999011SMatthias Ringwald# V4.2 from BlueKitchen website, original: http://www.ti.com/tool/wl18xx-bt-sp
174d5814ca7SMatthias RingwaldTIInit_11.8.32.bts:
17537da03daSMatthias Ringwald	@echo "Downloading $@"
17645999011SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/TIInit_11.8.32.bts
177d5814ca7SMatthias Ringwald
178d5814ca7SMatthias RingwaldTIInit_12.10.28.bts:
17937da03daSMatthias Ringwald	@echo "Downloading $@"
18006ee659aSMatthias Ringwald	@curl -sS -O $(TI_GIT_REPO_URL)/TIInit_12.10.28.bts
181d5814ca7SMatthias Ringwald
182d5814ca7SMatthias RingwaldTIInit_12.8.32.bts:
18337da03daSMatthias Ringwald	@echo "Downloading $@"
18406ee659aSMatthias Ringwald	@curl -sS -O $(TI_GIT_REPO_URL)/TIInit_12.8.32.bts
18537da03daSMatthias Ringwald
186d5814ca7SMatthias Ringwald
187638e16f3SMatthias Ringwald
18806ee659aSMatthias Ringwald# convert to .c files based on main file and option add-on
18906ee659aSMatthias Ringwald
190a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560_2.44.c: bluetooth_init_cc2560_2.44.bts
19106ee659aSMatthias Ringwald	@echo "Creating $@"
19206ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
193a3fe55ccSMatthias Ringwald
194a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560A_2.14.c: bluetooth_init_cc2560A_2.14.bts
19506ee659aSMatthias Ringwald	@echo "Creating $@"
19606ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
197a3fe55ccSMatthias Ringwald
1980e1ffed0SMatthias Ringwaldbluetooth_init_cc2567_2.4.c: CC2567_BT_ANT_Service_Pack_2.4.bts
1990e1ffed0SMatthias Ringwald	@echo "Creating $@"
2000e1ffed0SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2010e1ffed0SMatthias Ringwald
2020e1ffed0SMatthias Ringwaldbluetooth_init_cc2567_2.8.c: CC256x_BT_Service_Pack_2.8_ANT_1.16.bts
2030e1ffed0SMatthias Ringwald	@echo "Creating $@"
2040e1ffed0SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2050e1ffed0SMatthias Ringwald
206a3fe55ccSMatthias Ringwaldbluetooth_init_cc2564_2.14.c: bluetooth_init_cc2564_2.14.bts
20706ee659aSMatthias Ringwald	@echo "Creating $@"
20806ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
209a3fe55ccSMatthias Ringwald
210d5814ca7SMatthias Ringwaldbluetooth_init_cc2560B_1.2_BT_Spec_4.1.c: bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts
21106ee659aSMatthias Ringwald	@echo "Creating $@"
21206ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
213d5814ca7SMatthias Ringwald
214d5814ca7SMatthias Ringwaldbluetooth_init_cc2564B_1.2_BT_Spec_4.1.c: bluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts BLE_init_cc2564B_1.2.bts
21506ee659aSMatthias Ringwald	@echo "Creating $@"
21606ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
217d5814ca7SMatthias Ringwald
218edc52946SMatthias Ringwaldbluetooth_init_cc2560B_1.4_BT_Spec_4.1.c: TIInit_6.7.16_bt_spec_4.1.bts
21906ee659aSMatthias Ringwald	@echo "Creating $@"
22006ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
221edc52946SMatthias Ringwald
222edc52946SMatthias Ringwaldbluetooth_init_cc2564B_1.4_BT_Spec_4.1.c: TIInit_6.7.16_bt_spec_4.1.bts TIInit_6.7.16_ble_add-on.bts
22306ee659aSMatthias Ringwald	@echo "Creating $@"
22406ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
225a3fe55ccSMatthias Ringwald
2262d0fc1beSMatthias Ringwaldbluetooth_init_cc2560B_1.5_BT_Spec_4.1.c: cc256x_bt_sp_v1.5/initscripts-TIInit_6.7.16_bt_spec_4.1.bts
22706ee659aSMatthias Ringwald	@echo "Creating $@"
22806ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
229638e16f3SMatthias Ringwald
2302d0fc1beSMatthias Ringwaldbluetooth_init_cc2564B_1.5_BT_Spec_4.1.c: cc256x_bt_sp_v1.5/initscripts-TIInit_6.7.16_bt_spec_4.1.bts cc256x_bt_sp_v1.5/initscripts-TIInit_6.7.16_ble_add-on.bts
2312d0fc1beSMatthias Ringwald	@echo "Creating $@"
2322d0fc1beSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2332d0fc1beSMatthias Ringwald
2342d0fc1beSMatthias Ringwaldbluetooth_init_cc2560B_1.6_BT_Spec_4.1.c: cc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_bt_spec_4.1.bts
2352d0fc1beSMatthias Ringwald	@echo "Creating $@"
2362d0fc1beSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2372d0fc1beSMatthias Ringwald
2382d0fc1beSMatthias Ringwaldbluetooth_init_cc2564B_1.6_BT_Spec_4.1.c: cc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_bt_spec_4.1.bts cc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_ble_add-on.bts
23906ee659aSMatthias Ringwald	@echo "Creating $@"
24006ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
241638e16f3SMatthias Ringwald
2423d919a60SMatthias Ringwaldbluetooth_init_cc2560B_1.8_BT_Spec_4.1.c: cc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_bt_spec_4.1.bts
2433d919a60SMatthias Ringwald	@echo "Creating $@"
2443d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2453d919a60SMatthias Ringwald
2463d919a60SMatthias Ringwaldbluetooth_init_cc2564B_1.8_BT_Spec_4.1.c: cc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_bt_spec_4.1.bts cc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_ble_add-on.bts
2473d919a60SMatthias Ringwald	@echo "Creating $@"
2483d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2493d919a60SMatthias Ringwald
2507830d3e6SMatthias Ringwaldbluetooth_init_cc2560C_1.0.c: initscripts-TIInit_6.12.26_v1.0.bts
25106ee659aSMatthias Ringwald	@echo "Creating $@"
25206ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
253638e16f3SMatthias Ringwald
2547830d3e6SMatthias Ringwaldbluetooth_init_cc2564C_1.0.c: initscripts-TIInit_6.12.26_v1.0.bts initscripts-TIInit_6.12.26_ble_add-on_v1.0.bts
25506ee659aSMatthias Ringwald	@echo "Creating $@"
25606ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
257638e16f3SMatthias Ringwald
25814cca92bSMatthias Ringwaldbluetooth_init_cc2560C_1.1.c: initscripts-TIInit_6.12.26_v1.1.bts
25914cca92bSMatthias Ringwald	@echo "Creating $@"
26014cca92bSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
26114cca92bSMatthias Ringwald
26214cca92bSMatthias Ringwaldbluetooth_init_cc2564C_1.1.c: initscripts-TIInit_6.12.26_v1.1.bts initscripts-TIInit_6.12.26_ble_add-on_v1.1.bts
26314cca92bSMatthias Ringwald	@echo "Creating $@"
26414cca92bSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
26514cca92bSMatthias Ringwald
2663d919a60SMatthias Ringwaldbluetooth_init_cc2560C_1.2.c: initscripts-TIInit_6.12.26_v1.2.bts
2673d919a60SMatthias Ringwald	@echo "Creating $@"
2683d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2693d919a60SMatthias Ringwald
2703d919a60SMatthias Ringwaldbluetooth_init_cc2564C_1.2.c: initscripts-TIInit_6.12.26_v1.2.bts initscripts-TIInit_6.12.26_ble_add-on_v1.2.bts
2713d919a60SMatthias Ringwald	@echo "Creating $@"
2723d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2733d919a60SMatthias Ringwald
274*0e0e98b2SMatthias Ringwaldbluetooth_init_cc2560C_1.3.c: initscripts-TIInit_6.12.26_v1.3.bts
275*0e0e98b2SMatthias Ringwald	@echo "Creating $@"
276*0e0e98b2SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
277*0e0e98b2SMatthias Ringwald
278*0e0e98b2SMatthias Ringwaldbluetooth_init_cc2564C_1.3.c: initscripts-TIInit_6.12.26_v1.3.bts initscripts-TIInit_6.12.26_ble_add-on_v1.3.bts
279*0e0e98b2SMatthias Ringwald	@echo "Creating $@"
280*0e0e98b2SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
281*0e0e98b2SMatthias Ringwald
282*0e0e98b2SMatthias Ringwald
283d5814ca7SMatthias RingwaldTIInit_11.8.32.c: TIInit_11.8.32.bts
28406ee659aSMatthias Ringwald	@echo "Creating $@"
28506ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
286d5814ca7SMatthias Ringwald
287d5814ca7SMatthias RingwaldTIInit_12.10.28.c: TIInit_12.10.28.bts
28806ee659aSMatthias Ringwald	@echo "Creating $@"
28906ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
290d5814ca7SMatthias Ringwald
291a3fe55ccSMatthias RingwaldTIInit_12.8.32.c: TIInit_12.8.32.bts
29206ee659aSMatthias Ringwald	@echo "Creating $@"
29306ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
294a3fe55ccSMatthias Ringwald
295638e16f3SMatthias Ringwaldall-scripts: \
296638e16f3SMatthias Ringwald	bluetooth_init_cc2560_2.44.c \
297638e16f3SMatthias Ringwald	bluetooth_init_cc2560A_2.14.c \
298638e16f3SMatthias Ringwald	bluetooth_init_cc2564_2.14.bts \
299638e16f3SMatthias Ringwald	bluetooth_init_cc2560B_1.4_BT_Spec_4.1.c \
300638e16f3SMatthias Ringwald	bluetooth_init_cc2564B_1.4_BT_Spec_4.1.c \
301638e16f3SMatthias Ringwald	bluetooth_init_cc2560B_1.5_BT_Spec_4.1.c \
302638e16f3SMatthias Ringwald	bluetooth_init_cc2564B_1.5_BT_Spec_4.1.c \
3033d919a60SMatthias Ringwald	bluetooth_init_cc2564B_1.6_BT_Spec_4.1.c \
3043d919a60SMatthias Ringwald	bluetooth_init_cc2564B_1.8_BT_Spec_4.1.c \
305638e16f3SMatthias Ringwald	bluetooth_init_cc2560C_1.0.c \
306638e16f3SMatthias Ringwald	bluetooth_init_cc2564C_1.0.c \
3073d919a60SMatthias Ringwald	bluetooth_init_cc2560C_1.1.c \
308fc8c9c93SMatthias Ringwald	bluetooth_init_cc2564C_1.1.c \
3093d919a60SMatthias Ringwald	bluetooth_init_cc2560C_1.2.c \
3103d919a60SMatthias Ringwald	bluetooth_init_cc2564C_1.2.c \
311*0e0e98b2SMatthias Ringwald	bluetooth_init_cc2564C_1.3.c \
312638e16f3SMatthias Ringwald	TIInit_11.8.32.c \
313638e16f3SMatthias Ringwald	TIInit_12.10.28.c \
314638e16f3SMatthias Ringwald	TIInit_12.8.32.c \
315a3fe55ccSMatthias Ringwald
316a3fe55ccSMatthias Ringwaldclean-scripts:
31737da03daSMatthias Ringwald	rm -fr cc256x*.zip CC256*.zip bluetooth_init_cc256*.c TIInit*.c *.bts BLE_init_cc256*.c
318a3fe55ccSMatthias Ringwald
319a3fe55ccSMatthias Ringwald
320