xref: /btstack/chipset/cc256x/Makefile.inc (revision 15218b796f2ac220bb3205e79fea97e55c351bd9)
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
8*15218b79SMatthias RingwaldTI_GIT_REPO_URL = https://git.ti.com/cgit/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 $@"
198c3fe452SMatthias Ringwald	@curl -sS -O https://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 $@"
318c3fe452SMatthias Ringwald	@curl -sS -O https://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 $@"
358c3fe452SMatthias Ringwald	@curl -sS -O https://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
1450e0e98b2SMatthias 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
1580e0e98b2SMatthias Ringwald# v1.3 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
1590e0e98b2SMatthias Ringwaldcc256xc_bt_sp_v1.3.zip:
1600e0e98b2SMatthias Ringwald	@echo "Downloading $@"
1610e0e98b2SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.3.zip
1620e0e98b2SMatthias Ringwald
1630e0e98b2SMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.3.bts: cc256xc_bt_sp_v1.3.zip
1640e0e98b2SMatthias Ringwald	@echo "Extracting $@"
1650e0e98b2SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.3.zip CC256XC_BT_SP/v1.3/initscripts-TIInit_6.12.26.bts > $@
1660e0e98b2SMatthias Ringwald
1670e0e98b2SMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.3.bts: cc256xc_bt_sp_v1.3.zip
1680e0e98b2SMatthias Ringwald	@echo "Extracting $@"
1690e0e98b2SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.3.zip CC256XC_BT_SP/v1.3/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
1700e0e98b2SMatthias Ringwald
171f2eb0907SMatthias Ringwald# v1.4 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
172f2eb0907SMatthias Ringwaldcc256xc_bt_sp_v1.4.zip:
173f2eb0907SMatthias Ringwald	@echo "Downloading $@"
174f2eb0907SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.4.zip
175f2eb0907SMatthias Ringwald
176f2eb0907SMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.4.bts: cc256xc_bt_sp_v1.4.zip
177f2eb0907SMatthias Ringwald	@echo "Extracting $@"
178f2eb0907SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.4.zip CC256XC_BT_SP/v1.4/initscripts-TIInit_6.12.26.bts > $@
179f2eb0907SMatthias Ringwald
180f2eb0907SMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.4.bts: cc256xc_bt_sp_v1.4.zip
181f2eb0907SMatthias Ringwald	@echo "Extracting $@"
182f2eb0907SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.4.zip CC256XC_BT_SP/v1.4/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
183f2eb0907SMatthias Ringwald
184*15218b79SMatthias Ringwaldinitscripts-TIInit_6.12.26_avpr_add-on_v1.4.bts: cc256xc_bt_sp_v1.4.zip
185*15218b79SMatthias Ringwald	@echo "Extracting $@"
186*15218b79SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.4.zip CC256XC_BT_SP/v1.4/initscripts-TIInit_6.12.26_avpr_add-on.bts > $@
187f2eb0907SMatthias Ringwald
18837da03daSMatthias Ringwald# Various scripts for WL chipsets
18937da03daSMatthias Ringwald
19045999011SMatthias Ringwald# V4.2 from BlueKitchen website, original: http://www.ti.com/tool/wl18xx-bt-sp
191d5814ca7SMatthias RingwaldTIInit_11.8.32.bts:
19237da03daSMatthias Ringwald	@echo "Downloading $@"
19345999011SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/TIInit_11.8.32.bts
194d5814ca7SMatthias Ringwald
195d5814ca7SMatthias RingwaldTIInit_12.10.28.bts:
19637da03daSMatthias Ringwald	@echo "Downloading $@"
19706ee659aSMatthias Ringwald	@curl -sS -O $(TI_GIT_REPO_URL)/TIInit_12.10.28.bts
198d5814ca7SMatthias Ringwald
199d5814ca7SMatthias RingwaldTIInit_12.8.32.bts:
20037da03daSMatthias Ringwald	@echo "Downloading $@"
20106ee659aSMatthias Ringwald	@curl -sS -O $(TI_GIT_REPO_URL)/TIInit_12.8.32.bts
20237da03daSMatthias Ringwald
203d5814ca7SMatthias Ringwald
204638e16f3SMatthias Ringwald
20506ee659aSMatthias Ringwald# convert to .c files based on main file and option add-on
20606ee659aSMatthias Ringwald
207a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560_2.44.c: bluetooth_init_cc2560_2.44.bts
20806ee659aSMatthias Ringwald	@echo "Creating $@"
20906ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
210a3fe55ccSMatthias Ringwald
211a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560A_2.14.c: bluetooth_init_cc2560A_2.14.bts
21206ee659aSMatthias Ringwald	@echo "Creating $@"
21306ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
214a3fe55ccSMatthias Ringwald
2150e1ffed0SMatthias Ringwaldbluetooth_init_cc2567_2.4.c: CC2567_BT_ANT_Service_Pack_2.4.bts
2160e1ffed0SMatthias Ringwald	@echo "Creating $@"
2170e1ffed0SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2180e1ffed0SMatthias Ringwald
2190e1ffed0SMatthias Ringwaldbluetooth_init_cc2567_2.8.c: CC256x_BT_Service_Pack_2.8_ANT_1.16.bts
2200e1ffed0SMatthias Ringwald	@echo "Creating $@"
2210e1ffed0SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2220e1ffed0SMatthias Ringwald
223a3fe55ccSMatthias Ringwaldbluetooth_init_cc2564_2.14.c: bluetooth_init_cc2564_2.14.bts
22406ee659aSMatthias Ringwald	@echo "Creating $@"
22506ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
226a3fe55ccSMatthias Ringwald
227d5814ca7SMatthias Ringwaldbluetooth_init_cc2560B_1.2_BT_Spec_4.1.c: bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts
22806ee659aSMatthias Ringwald	@echo "Creating $@"
22906ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
230d5814ca7SMatthias Ringwald
231d5814ca7SMatthias 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
23206ee659aSMatthias Ringwald	@echo "Creating $@"
23306ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
234d5814ca7SMatthias Ringwald
235edc52946SMatthias Ringwaldbluetooth_init_cc2560B_1.4_BT_Spec_4.1.c: TIInit_6.7.16_bt_spec_4.1.bts
23606ee659aSMatthias Ringwald	@echo "Creating $@"
23706ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
238edc52946SMatthias Ringwald
239edc52946SMatthias 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
24006ee659aSMatthias Ringwald	@echo "Creating $@"
24106ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
242a3fe55ccSMatthias Ringwald
2432d0fc1beSMatthias 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
24406ee659aSMatthias Ringwald	@echo "Creating $@"
24506ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
246638e16f3SMatthias Ringwald
2472d0fc1beSMatthias 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
2482d0fc1beSMatthias Ringwald	@echo "Creating $@"
2492d0fc1beSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2502d0fc1beSMatthias Ringwald
2512d0fc1beSMatthias 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
2522d0fc1beSMatthias Ringwald	@echo "Creating $@"
2532d0fc1beSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2542d0fc1beSMatthias Ringwald
2552d0fc1beSMatthias 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
25606ee659aSMatthias Ringwald	@echo "Creating $@"
25706ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
258638e16f3SMatthias Ringwald
2593d919a60SMatthias 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
2603d919a60SMatthias Ringwald	@echo "Creating $@"
2613d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2623d919a60SMatthias Ringwald
2633d919a60SMatthias 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
2643d919a60SMatthias Ringwald	@echo "Creating $@"
2653d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2663d919a60SMatthias Ringwald
2677830d3e6SMatthias Ringwaldbluetooth_init_cc2560C_1.0.c: initscripts-TIInit_6.12.26_v1.0.bts
26806ee659aSMatthias Ringwald	@echo "Creating $@"
26906ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
270638e16f3SMatthias Ringwald
2717830d3e6SMatthias 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
27206ee659aSMatthias Ringwald	@echo "Creating $@"
27306ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
274638e16f3SMatthias Ringwald
27514cca92bSMatthias Ringwaldbluetooth_init_cc2560C_1.1.c: initscripts-TIInit_6.12.26_v1.1.bts
27614cca92bSMatthias Ringwald	@echo "Creating $@"
27714cca92bSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
27814cca92bSMatthias Ringwald
27914cca92bSMatthias 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
28014cca92bSMatthias Ringwald	@echo "Creating $@"
28114cca92bSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
28214cca92bSMatthias Ringwald
2833d919a60SMatthias Ringwaldbluetooth_init_cc2560C_1.2.c: initscripts-TIInit_6.12.26_v1.2.bts
2843d919a60SMatthias Ringwald	@echo "Creating $@"
2853d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2863d919a60SMatthias Ringwald
2873d919a60SMatthias 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
2883d919a60SMatthias Ringwald	@echo "Creating $@"
2893d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2903d919a60SMatthias Ringwald
2910e0e98b2SMatthias Ringwaldbluetooth_init_cc2560C_1.3.c: initscripts-TIInit_6.12.26_v1.3.bts
2920e0e98b2SMatthias Ringwald	@echo "Creating $@"
2930e0e98b2SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2940e0e98b2SMatthias Ringwald
2950e0e98b2SMatthias 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
2960e0e98b2SMatthias Ringwald	@echo "Creating $@"
2970e0e98b2SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2980e0e98b2SMatthias Ringwald
299f2eb0907SMatthias Ringwaldbluetooth_init_cc2560C_1.4.c: initscripts-TIInit_6.12.26_v1.4.bts
300f2eb0907SMatthias Ringwald	@echo "Creating $@"
301f2eb0907SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
302f2eb0907SMatthias Ringwald
303*15218b79SMatthias Ringwaldbluetooth_init_cc2560C_avpr_1.4.c: initscripts-TIInit_6.12.26_v1.4.bts initscripts-TIInit_6.12.26_avpr_add-on_v1.4.bts
304*15218b79SMatthias Ringwald	@echo "Creating $@"
305*15218b79SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
306*15218b79SMatthias Ringwald
307f2eb0907SMatthias Ringwaldbluetooth_init_cc2564C_1.4.c: initscripts-TIInit_6.12.26_v1.4.bts initscripts-TIInit_6.12.26_ble_add-on_v1.4.bts
308f2eb0907SMatthias Ringwald	@echo "Creating $@"
309f2eb0907SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
310f2eb0907SMatthias Ringwald
3110e0e98b2SMatthias Ringwald
312d5814ca7SMatthias RingwaldTIInit_11.8.32.c: TIInit_11.8.32.bts
31306ee659aSMatthias Ringwald	@echo "Creating $@"
31406ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
315d5814ca7SMatthias Ringwald
316d5814ca7SMatthias RingwaldTIInit_12.10.28.c: TIInit_12.10.28.bts
31706ee659aSMatthias Ringwald	@echo "Creating $@"
31806ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
319d5814ca7SMatthias Ringwald
320a3fe55ccSMatthias RingwaldTIInit_12.8.32.c: TIInit_12.8.32.bts
32106ee659aSMatthias Ringwald	@echo "Creating $@"
32206ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
323a3fe55ccSMatthias Ringwald
324638e16f3SMatthias Ringwaldall-scripts: \
325638e16f3SMatthias Ringwald	bluetooth_init_cc2560_2.44.c \
326638e16f3SMatthias Ringwald	bluetooth_init_cc2560A_2.14.c \
327638e16f3SMatthias Ringwald	bluetooth_init_cc2564_2.14.bts \
328*15218b79SMatthias Ringwald	bluetooth_init_cc2560B_1.8_BT_Spec_4.1.c \
3293d919a60SMatthias Ringwald	bluetooth_init_cc2564B_1.8_BT_Spec_4.1.c \
330*15218b79SMatthias Ringwald	bluetooth_init_cc2560C_1.4.c \
331*15218b79SMatthias Ringwald	bluetooth_init_cc2560C_avpr_1.4.c \
332*15218b79SMatthias Ringwald	bluetooth_init_cc2564C_1.4.c \
333638e16f3SMatthias Ringwald	TIInit_11.8.32.c \
334638e16f3SMatthias Ringwald	TIInit_12.10.28.c \
335638e16f3SMatthias Ringwald	TIInit_12.8.32.c \
336a3fe55ccSMatthias Ringwald
337a3fe55ccSMatthias Ringwaldclean-scripts:
33837da03daSMatthias Ringwald	rm -fr cc256x*.zip CC256*.zip bluetooth_init_cc256*.c TIInit*.c *.bts BLE_init_cc256*.c
339a3fe55ccSMatthias Ringwald
340a3fe55ccSMatthias Ringwald
341