xref: /btstack/chipset/cc256x/Makefile.inc (revision a827c5a6d8cd7f089355911eac513efbca2b490c)
1d5814ca7SMatthias Ringwald#
2*a827c5a6SMatthias Ringwald# Makefile to download and convert TI's CC256x Service Pack .bts files from BlueKitchen mirror
337da03daSMatthias Ringwald# https://e2e.ti.com/support/wireless_connectivity/bluetooth_cc256x/f/660/p/560523/2056007#2056007
4*a827c5a6SMatthias Ringwald#
5*a827c5a6SMatthias Ringwald# Original sources:
6*a827c5a6SMatthias Ringwald# TI Processor Wiki https://web.archive.org/web/20210114141711/https://processors.wiki.ti.com/index.php/CC256x_Downloads
7*a827c5a6SMatthias Ringwald# TI Git Repo:      https://git.ti.com/cgit/ti-bt/service-packs/blobs/raw/a027ae390d8790e56e1c78136c78fe6537470e91
837da03daSMatthias Ringwald
9*a827c5a6SMatthias RingwaldBLUEKITCHEN_URL = https://bluekitchen-gmbh.com/files/ti/service-packs
10edc52946SMatthias RingwaldCONVERSION_SCRIPT=$(BTSTACK_ROOT)/chipset/cc256x/convert_bts_init_scripts.py
11d5814ca7SMatthias Ringwald
1237da03daSMatthias Ringwald# First generation CC2560 - AKA TIInit_6.2.31.bts
1337da03daSMatthias Ringwald
1437da03daSMatthias Ringwald# v2.44 - file part of .zip archive
15a3fe55ccSMatthias Ringwald
16a3fe55ccSMatthias RingwaldCC2560_BT_SP_BTS.zip:
1737da03daSMatthias Ringwald	@echo "Downloading $@"
18*a827c5a6SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/CC2560_BT_SP_BTS.zip
19a3fe55ccSMatthias Ringwald
20a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560_2.44.bts: CC2560_BT_SP_BTS.zip
2137da03daSMatthias Ringwald	@echo "Extracting $@"
2237da03daSMatthias Ringwald	@unzip -q -j -o CC2560_BT_SP_BTS.zip CC2560_BT_SP_BTS/bluetooth_init_cc2560_2.44.bts
23a3fe55ccSMatthias Ringwald
2437da03daSMatthias Ringwald# Second generation CC2560A and CC2564 - AKA TIInit_6.6.15.bts
25a3fe55ccSMatthias Ringwald
2637da03daSMatthias Ringwald# v2.14 - files part of .zip archive
27a3fe55ccSMatthias Ringwald
28a3fe55ccSMatthias RingwaldCC2560A_BT_SP_BTS.zip:
2937da03daSMatthias Ringwald	@echo "Downloading $@"
30*a827c5a6SMatthias Ringwald	@curl -sS -O  $(BLUEKITCHEN_URL)/CC2560A_BT_SP_BTS.zip
31a3fe55ccSMatthias Ringwald
32a3fe55ccSMatthias RingwaldCC2564_BT_BLE_SP_BTS.zip:
3337da03daSMatthias Ringwald	@echo "Downloading $@"
34*a827c5a6SMatthias Ringwald	@curl -sS -O  $(BLUEKITCHEN_URL)/CC2564_BT_BLE_SP_BTS.zip
35a3fe55ccSMatthias Ringwald
36a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560A_2.14.bts: CC2560A_BT_SP_BTS.zip
3737da03daSMatthias Ringwald	@echo "Extracting $@"
3837da03daSMatthias Ringwald	@unzip -q -j -o CC2560A_BT_SP_BTS.zip CC2560A_BT_SP_BTS/bluetooth_init_cc2560A_2.14.bts
39a3fe55ccSMatthias Ringwald
40a3fe55ccSMatthias Ringwaldbluetooth_init_cc2564_2.14.bts: CC2564_BT_BLE_SP_BTS.zip
4137da03daSMatthias Ringwald	@echo "Extracting $@"
4237da03daSMatthias Ringwald	@unzip -q -j -o CC2564_BT_BLE_SP_BTS.zip CC2564_BT_BLE_SP_BTS/bluetooth_init_cc2564_2.14.bts
43a3fe55ccSMatthias Ringwald
442d0fc1beSMatthias Ringwald# Third generation CC256xB - AKA TIInit_6.7.16.bts
45a3fe55ccSMatthias Ringwald
4637da03daSMatthias Ringwald# v1.2 - versioned files TI Git Repo
47d5814ca7SMatthias Ringwaldbluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts:
4837da03daSMatthias Ringwald	@echo "Downloading $@"
49*a827c5a6SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts
50d5814ca7SMatthias Ringwald
51d5814ca7SMatthias Ringwaldbluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts:
5237da03daSMatthias Ringwald	@echo "Downloading $@"
53*a827c5a6SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/bluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts
54d5814ca7SMatthias Ringwald
55d5814ca7SMatthias RingwaldBLE_init_cc2564B_1.2.bts:
5637da03daSMatthias Ringwald	@echo "Downloading $@"
57*a827c5a6SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/BLE_init_cc2564B_1.2.bts
58d5814ca7SMatthias Ringwald
5937da03daSMatthias Ringwald# v1.4 - versioned files TI Git Repo
60edc52946SMatthias RingwaldTIInit_6.7.16_bt_spec_4.1.bts:
6137da03daSMatthias Ringwald	@echo "Downloading $@"
6206ee659aSMatthias 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
63edc52946SMatthias Ringwald
64edc52946SMatthias RingwaldTIInit_6.7.16_ble_add-on.bts:
6537da03daSMatthias Ringwald	@echo "Downloading $@"
6606ee659aSMatthias Ringwald	@curl -sS -O https://git.ti.com/ti-bt/service-packs/blobs/raw/89c8db14929f10d75627b132690432cd71f5f54f/initscripts/TIInit_6.7.16_ble_add-on.bts
67edc52946SMatthias Ringwald
6837da03daSMatthias Ringwald# v1.5 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xb-bt-sp
6937da03daSMatthias Ringwaldcc256x_bt_sp_v1.5.zip:
7037da03daSMatthias Ringwald	echo "Downloading $@"
7106ee659aSMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256x_bt_sp_v1.5.zip
72638e16f3SMatthias Ringwald
732d0fc1beSMatthias Ringwaldcc256x_bt_sp_v1.5/initscripts-TIInit_6.7.16_bt_spec_4.1.bts: cc256x_bt_sp_v1.5.zip
7437da03daSMatthias Ringwald	@echo "Extracting $@"
752d0fc1beSMatthias Ringwald	@mkdir -p cc256x_bt_sp_v1.5
762d0fc1beSMatthias 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
77638e16f3SMatthias Ringwald
782d0fc1beSMatthias Ringwaldcc256x_bt_sp_v1.5/initscripts-TIInit_6.7.16_ble_add-on.bts: cc256x_bt_sp_v1.5.zip
7937da03daSMatthias Ringwald	@echo "Extracting $@"
802d0fc1beSMatthias Ringwald	@mkdir -p cc256x_bt_sp_v1.5
812d0fc1beSMatthias 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
822d0fc1beSMatthias Ringwald
832d0fc1beSMatthias Ringwald# v1.6 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xb-bt-sp
842d0fc1beSMatthias Ringwaldcc256xb_bt_sp_v1.6.zip:
852d0fc1beSMatthias Ringwald	echo "Downloading $@"
862d0fc1beSMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xb_bt_sp_v1.6.zip
872d0fc1beSMatthias Ringwald
882d0fc1beSMatthias Ringwaldcc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_bt_spec_4.1.bts: cc256xb_bt_sp_v1.6.zip
892d0fc1beSMatthias Ringwald	@echo "Extracting $@"
902d0fc1beSMatthias Ringwald	@mkdir -p cc256xb_bt_sp_v1.6
912d0fc1beSMatthias 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
922d0fc1beSMatthias Ringwald
932d0fc1beSMatthias Ringwaldcc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_ble_add-on.bts: cc256xb_bt_sp_v1.6.zip
942d0fc1beSMatthias Ringwald	@echo "Extracting $@"
952d0fc1beSMatthias Ringwald	@mkdir -p cc256xb_bt_sp_v1.6
962d0fc1beSMatthias 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
97638e16f3SMatthias Ringwald
983d919a60SMatthias Ringwald# v1.7 - not available, please use v1.8 or newer
993d919a60SMatthias Ringwald
1003d919a60SMatthias Ringwald# v1.8 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xb-bt-sp
1013d919a60SMatthias Ringwaldcc256xb_bt_sp_v1.8.zip:
1023d919a60SMatthias Ringwald	echo "Downloading $@"
1033d919a60SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xb_bt_sp_v1.8.zip
1043d919a60SMatthias Ringwald
1053d919a60SMatthias Ringwaldcc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_bt_spec_4.1.bts: cc256xb_bt_sp_v1.8.zip
1063d919a60SMatthias Ringwald	@echo "Extracting $@"
1073d919a60SMatthias Ringwald	@mkdir -p cc256xb_bt_sp_v1.8
1083d919a60SMatthias 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
1093d919a60SMatthias Ringwald
1103d919a60SMatthias Ringwaldcc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_ble_add-on.bts: cc256xb_bt_sp_v1.8.zip
1113d919a60SMatthias Ringwald	@echo "Extracting $@"
1123d919a60SMatthias Ringwald	@mkdir -p cc256xb_bt_sp_v1.8
1133d919a60SMatthias 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
1143d919a60SMatthias Ringwald
1156846b044SMatthias Ringwaldcc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_avpr_add-on.bts: cc256xb_bt_sp_v1.8.zip
1166846b044SMatthias Ringwald	@echo "Extracting $@"
1176846b044SMatthias Ringwald	@mkdir -p cc256xb_bt_sp_v1.8
1186846b044SMatthias 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_avpr_add-on.bts
119638e16f3SMatthias Ringwald
12037da03daSMatthias Ringwald# Fourth generation CC256xC - TIInit_6.12.26.bts
12137da03daSMatthias Ringwald
12237da03daSMatthias Ringwald# v1.0 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
12337da03daSMatthias Ringwaldcc256xc_bt_sp_v1.0.zip:
12437da03daSMatthias Ringwald	@echo "Downloading $@"
12506ee659aSMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.0.zip
12637da03daSMatthias Ringwald
1277830d3e6SMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.0.bts: cc256xc_bt_sp_v1.0.zip
12837da03daSMatthias Ringwald	@echo "Extracting $@"
1297830d3e6SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.0.zip CC256XC_BT_SP/v1.0/initscripts-TIInit_6.12.26.bts > $@
13037da03daSMatthias Ringwald
1317830d3e6SMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.0.bts: cc256xc_bt_sp_v1.0.zip
13237da03daSMatthias Ringwald	@echo "Extracting $@"
1337830d3e6SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.0.zip CC256XC_BT_SP/v1.0/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
13437da03daSMatthias Ringwald
13514cca92bSMatthias Ringwald# v1.1 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
13614cca92bSMatthias Ringwaldcc256xc_bt_sp_v1.1.zip:
13714cca92bSMatthias Ringwald	@echo "Downloading $@"
13814cca92bSMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.1.zip
13914cca92bSMatthias Ringwald
14014cca92bSMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.1.bts: cc256xc_bt_sp_v1.1.zip
14114cca92bSMatthias Ringwald	@echo "Extracting $@"
14214cca92bSMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.1.zip CC256XC_BT_SP/v1.1/initscripts-TIInit_6.12.26.bts > $@
14314cca92bSMatthias Ringwald
14414cca92bSMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.1.bts: cc256xc_bt_sp_v1.1.zip
14514cca92bSMatthias Ringwald	@echo "Extracting $@"
14614cca92bSMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.1.zip CC256XC_BT_SP/v1.1/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
14714cca92bSMatthias Ringwald
1480e0e98b2SMatthias Ringwald# v1.2 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
1493d919a60SMatthias Ringwaldcc256xc_bt_sp_v1.2.zip:
1503d919a60SMatthias Ringwald	@echo "Downloading $@"
1513d919a60SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.2.zip
1523d919a60SMatthias Ringwald
1533d919a60SMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.2.bts: cc256xc_bt_sp_v1.2.zip
1543d919a60SMatthias Ringwald	@echo "Extracting $@"
1553d919a60SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.2.zip CC256XC_BT_SP/v1.2/initscripts-TIInit_6.12.26.bts > $@
1563d919a60SMatthias Ringwald
1573d919a60SMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.2.bts: cc256xc_bt_sp_v1.2.zip
1583d919a60SMatthias Ringwald	@echo "Extracting $@"
1593d919a60SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.2.zip CC256XC_BT_SP/v1.2/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
16037da03daSMatthias Ringwald
1610e0e98b2SMatthias Ringwald# v1.3 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
1620e0e98b2SMatthias Ringwaldcc256xc_bt_sp_v1.3.zip:
1630e0e98b2SMatthias Ringwald	@echo "Downloading $@"
1640e0e98b2SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.3.zip
1650e0e98b2SMatthias Ringwald
1660e0e98b2SMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.3.bts: cc256xc_bt_sp_v1.3.zip
1670e0e98b2SMatthias Ringwald	@echo "Extracting $@"
1680e0e98b2SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.3.zip CC256XC_BT_SP/v1.3/initscripts-TIInit_6.12.26.bts > $@
1690e0e98b2SMatthias Ringwald
1700e0e98b2SMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.3.bts: cc256xc_bt_sp_v1.3.zip
1710e0e98b2SMatthias Ringwald	@echo "Extracting $@"
1720e0e98b2SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.3.zip CC256XC_BT_SP/v1.3/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
1730e0e98b2SMatthias Ringwald
174f2eb0907SMatthias Ringwald# v1.4 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
175f2eb0907SMatthias Ringwaldcc256xc_bt_sp_v1.4.zip:
176f2eb0907SMatthias Ringwald	@echo "Downloading $@"
177f2eb0907SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.4.zip
178f2eb0907SMatthias Ringwald
179f2eb0907SMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.4.bts: cc256xc_bt_sp_v1.4.zip
180f2eb0907SMatthias Ringwald	@echo "Extracting $@"
181f2eb0907SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.4.zip CC256XC_BT_SP/v1.4/initscripts-TIInit_6.12.26.bts > $@
182f2eb0907SMatthias Ringwald
183f2eb0907SMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.4.bts: cc256xc_bt_sp_v1.4.zip
184f2eb0907SMatthias Ringwald	@echo "Extracting $@"
185f2eb0907SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.4.zip CC256XC_BT_SP/v1.4/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
186f2eb0907SMatthias Ringwald
18715218b79SMatthias Ringwaldinitscripts-TIInit_6.12.26_avpr_add-on_v1.4.bts: cc256xc_bt_sp_v1.4.zip
18815218b79SMatthias Ringwald	@echo "Extracting $@"
18915218b79SMatthias Ringwald	@unzip -q -p cc256xc_bt_sp_v1.4.zip CC256XC_BT_SP/v1.4/initscripts-TIInit_6.12.26_avpr_add-on.bts > $@
190f2eb0907SMatthias Ringwald
19137da03daSMatthias Ringwald# Various scripts for WL chipsets
19237da03daSMatthias Ringwald
19345999011SMatthias Ringwald# V4.2 from BlueKitchen website, original: http://www.ti.com/tool/wl18xx-bt-sp
194d5814ca7SMatthias RingwaldTIInit_11.8.32.bts:
19537da03daSMatthias Ringwald	@echo "Downloading $@"
19645999011SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/TIInit_11.8.32.bts
197d5814ca7SMatthias Ringwald
198d5814ca7SMatthias RingwaldTIInit_12.10.28.bts:
19937da03daSMatthias Ringwald	@echo "Downloading $@"
200*a827c5a6SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/TIInit_12.10.28.bts
201d5814ca7SMatthias Ringwald
202d5814ca7SMatthias RingwaldTIInit_12.8.32.bts:
20337da03daSMatthias Ringwald	@echo "Downloading $@"
204*a827c5a6SMatthias Ringwald	@curl -sS -O $(BLUEKITCHEN_URL)/TIInit_12.8.32.bts
20537da03daSMatthias Ringwald
206d5814ca7SMatthias Ringwald
207638e16f3SMatthias Ringwald
20806ee659aSMatthias Ringwald# convert to .c files based on main file and option add-on
20906ee659aSMatthias Ringwald
210a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560_2.44.c: bluetooth_init_cc2560_2.44.bts
21106ee659aSMatthias Ringwald	@echo "Creating $@"
21206ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
213a3fe55ccSMatthias Ringwald
214a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560A_2.14.c: bluetooth_init_cc2560A_2.14.bts
21506ee659aSMatthias Ringwald	@echo "Creating $@"
21606ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
217a3fe55ccSMatthias Ringwald
2180e1ffed0SMatthias Ringwaldbluetooth_init_cc2567_2.4.c: CC2567_BT_ANT_Service_Pack_2.4.bts
2190e1ffed0SMatthias Ringwald	@echo "Creating $@"
2200e1ffed0SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2210e1ffed0SMatthias Ringwald
2220e1ffed0SMatthias Ringwaldbluetooth_init_cc2567_2.8.c: CC256x_BT_Service_Pack_2.8_ANT_1.16.bts
2230e1ffed0SMatthias Ringwald	@echo "Creating $@"
2240e1ffed0SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2250e1ffed0SMatthias Ringwald
226a3fe55ccSMatthias Ringwaldbluetooth_init_cc2564_2.14.c: bluetooth_init_cc2564_2.14.bts
22706ee659aSMatthias Ringwald	@echo "Creating $@"
22806ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
229a3fe55ccSMatthias Ringwald
230d5814ca7SMatthias Ringwaldbluetooth_init_cc2560B_1.2_BT_Spec_4.1.c: bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts
23106ee659aSMatthias Ringwald	@echo "Creating $@"
23206ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
233d5814ca7SMatthias Ringwald
234d5814ca7SMatthias 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
23506ee659aSMatthias Ringwald	@echo "Creating $@"
23606ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
237d5814ca7SMatthias Ringwald
238edc52946SMatthias Ringwaldbluetooth_init_cc2560B_1.4_BT_Spec_4.1.c: TIInit_6.7.16_bt_spec_4.1.bts
23906ee659aSMatthias Ringwald	@echo "Creating $@"
24006ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
241edc52946SMatthias Ringwald
242edc52946SMatthias 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
24306ee659aSMatthias Ringwald	@echo "Creating $@"
24406ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
245a3fe55ccSMatthias Ringwald
2462d0fc1beSMatthias 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
24706ee659aSMatthias Ringwald	@echo "Creating $@"
24806ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
249638e16f3SMatthias Ringwald
2502d0fc1beSMatthias 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
2512d0fc1beSMatthias Ringwald	@echo "Creating $@"
2522d0fc1beSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2532d0fc1beSMatthias Ringwald
2542d0fc1beSMatthias 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
2552d0fc1beSMatthias Ringwald	@echo "Creating $@"
2562d0fc1beSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2572d0fc1beSMatthias Ringwald
2582d0fc1beSMatthias 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
25906ee659aSMatthias Ringwald	@echo "Creating $@"
26006ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
261638e16f3SMatthias Ringwald
2623d919a60SMatthias 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
2633d919a60SMatthias Ringwald	@echo "Creating $@"
2643d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2653d919a60SMatthias Ringwald
2666846b044SMatthias Ringwaldbluetooth_init_cc2560B_avpr_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_avpr_add-on.bts
2676846b044SMatthias Ringwald
2686846b044SMatthias Ringwald	@echo "Creating $@"
2696846b044SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2706846b044SMatthias Ringwald
2713d919a60SMatthias 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
2723d919a60SMatthias Ringwald	@echo "Creating $@"
2733d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2743d919a60SMatthias Ringwald
2757830d3e6SMatthias Ringwaldbluetooth_init_cc2560C_1.0.c: initscripts-TIInit_6.12.26_v1.0.bts
27606ee659aSMatthias Ringwald	@echo "Creating $@"
27706ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
278638e16f3SMatthias Ringwald
2797830d3e6SMatthias 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
28006ee659aSMatthias Ringwald	@echo "Creating $@"
28106ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
282638e16f3SMatthias Ringwald
28314cca92bSMatthias Ringwaldbluetooth_init_cc2560C_1.1.c: initscripts-TIInit_6.12.26_v1.1.bts
28414cca92bSMatthias Ringwald	@echo "Creating $@"
28514cca92bSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
28614cca92bSMatthias Ringwald
28714cca92bSMatthias 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
28814cca92bSMatthias Ringwald	@echo "Creating $@"
28914cca92bSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
29014cca92bSMatthias Ringwald
2913d919a60SMatthias Ringwaldbluetooth_init_cc2560C_1.2.c: initscripts-TIInit_6.12.26_v1.2.bts
2923d919a60SMatthias Ringwald	@echo "Creating $@"
2933d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2943d919a60SMatthias Ringwald
2953d919a60SMatthias 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
2963d919a60SMatthias Ringwald	@echo "Creating $@"
2973d919a60SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
2983d919a60SMatthias Ringwald
2990e0e98b2SMatthias Ringwaldbluetooth_init_cc2560C_1.3.c: initscripts-TIInit_6.12.26_v1.3.bts
3000e0e98b2SMatthias Ringwald	@echo "Creating $@"
3010e0e98b2SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
3020e0e98b2SMatthias Ringwald
3030e0e98b2SMatthias 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
3040e0e98b2SMatthias Ringwald	@echo "Creating $@"
3050e0e98b2SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
3060e0e98b2SMatthias Ringwald
307f2eb0907SMatthias Ringwaldbluetooth_init_cc2560C_1.4.c: initscripts-TIInit_6.12.26_v1.4.bts
308f2eb0907SMatthias Ringwald	@echo "Creating $@"
309f2eb0907SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
310f2eb0907SMatthias Ringwald
31115218b79SMatthias 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
31215218b79SMatthias Ringwald	@echo "Creating $@"
31315218b79SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
31415218b79SMatthias Ringwald
315f2eb0907SMatthias 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
316f2eb0907SMatthias Ringwald	@echo "Creating $@"
317f2eb0907SMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
318f2eb0907SMatthias Ringwald
3190e0e98b2SMatthias Ringwald
320d5814ca7SMatthias RingwaldTIInit_11.8.32.c: TIInit_11.8.32.bts
32106ee659aSMatthias Ringwald	@echo "Creating $@"
32206ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
323d5814ca7SMatthias Ringwald
324d5814ca7SMatthias RingwaldTIInit_12.10.28.c: TIInit_12.10.28.bts
32506ee659aSMatthias Ringwald	@echo "Creating $@"
32606ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
327d5814ca7SMatthias Ringwald
328a3fe55ccSMatthias RingwaldTIInit_12.8.32.c: TIInit_12.8.32.bts
32906ee659aSMatthias Ringwald	@echo "Creating $@"
33006ee659aSMatthias Ringwald	@$(CONVERSION_SCRIPT) $^ $@
331a3fe55ccSMatthias Ringwald
332638e16f3SMatthias Ringwaldall-scripts: \
333638e16f3SMatthias Ringwald	bluetooth_init_cc2560_2.44.c \
334638e16f3SMatthias Ringwald	bluetooth_init_cc2560A_2.14.c \
335638e16f3SMatthias Ringwald	bluetooth_init_cc2564_2.14.bts \
33615218b79SMatthias Ringwald	bluetooth_init_cc2560B_1.8_BT_Spec_4.1.c \
3373d919a60SMatthias Ringwald	bluetooth_init_cc2564B_1.8_BT_Spec_4.1.c \
33815218b79SMatthias Ringwald	bluetooth_init_cc2560C_1.4.c \
33915218b79SMatthias Ringwald	bluetooth_init_cc2560C_avpr_1.4.c \
34015218b79SMatthias Ringwald	bluetooth_init_cc2564C_1.4.c \
341638e16f3SMatthias Ringwald	TIInit_11.8.32.c \
342638e16f3SMatthias Ringwald	TIInit_12.10.28.c \
343638e16f3SMatthias Ringwald	TIInit_12.8.32.c \
344a3fe55ccSMatthias Ringwald
345a3fe55ccSMatthias Ringwaldclean-scripts:
346*a827c5a6SMatthias Ringwald	rm -fr cc256x*.zip CC256*.zip bluetooth_init_cc256*.c TIInit*.c *.bts BLE_init_cc256*.c cc256xb_bt_sp_v1.8
347a3fe55ccSMatthias Ringwald
348a3fe55ccSMatthias Ringwald
349