1d5814ca7SMatthias Ringwald# 2a827c5a6SMatthias 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 4a827c5a6SMatthias Ringwald# 5a827c5a6SMatthias Ringwald# Original sources: 6a827c5a6SMatthias Ringwald# TI Processor Wiki https://web.archive.org/web/20210114141711/https://processors.wiki.ti.com/index.php/CC256x_Downloads 7a827c5a6SMatthias Ringwald# TI Git Repo: https://git.ti.com/cgit/ti-bt/service-packs/blobs/raw/a027ae390d8790e56e1c78136c78fe6537470e91 837da03daSMatthias Ringwald 9a827c5a6SMatthias 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 $@" 18a827c5a6SMatthias 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 $@" 30a827c5a6SMatthias Ringwald @curl -sS -O $(BLUEKITCHEN_URL)/CC2560A_BT_SP_BTS.zip 31a3fe55ccSMatthias Ringwald 32a3fe55ccSMatthias RingwaldCC2564_BT_BLE_SP_BTS.zip: 3337da03daSMatthias Ringwald @echo "Downloading $@" 34a827c5a6SMatthias 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 $@" 49a827c5a6SMatthias 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 $@" 53a827c5a6SMatthias 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 $@" 57a827c5a6SMatthias 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 191*01f72e3dSMatthias Ringwald# v1.5 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp 192*01f72e3dSMatthias Ringwaldcc256xc_bt_sp_v1.5.zip: 193*01f72e3dSMatthias Ringwald @echo "Downloading $@" 194*01f72e3dSMatthias Ringwald @curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.5.zip 195*01f72e3dSMatthias Ringwald 196*01f72e3dSMatthias Ringwaldinitscripts-TIInit_6.12.26_v1.5.bts: cc256xc_bt_sp_v1.5.zip 197*01f72e3dSMatthias Ringwald @echo "Extracting $@" 198*01f72e3dSMatthias Ringwald @unzip -q -p cc256xc_bt_sp_v1.5.zip CC256XC_v1.5/v1.5/initscripts-TIInit_6.12.26.bts > $@ 199*01f72e3dSMatthias Ringwald 200*01f72e3dSMatthias Ringwaldinitscripts-TIInit_6.12.26_ble_add-on_v1.5.bts: cc256xc_bt_sp_v1.5.zip 201*01f72e3dSMatthias Ringwald @echo "Extracting $@" 202*01f72e3dSMatthias Ringwald @unzip -q -p cc256xc_bt_sp_v1.5.zip CC256XC_v1.5/v1.5/initscripts-TIInit_6.12.26_ble_add-on.bts > $@ 203*01f72e3dSMatthias Ringwald 204*01f72e3dSMatthias Ringwaldinitscripts-TIInit_6.12.26_avpr_add-on_v1.5.bts: cc256xc_bt_sp_v1.5.zip 205*01f72e3dSMatthias Ringwald @echo "Extracting $@" 206*01f72e3dSMatthias Ringwald @unzip -q -p cc256xc_bt_sp_v1.5.zip CC256XC_v1.5/v1.5/initscripts-TIInit_6.12.26_avpr_add-on.bts > $@ 207*01f72e3dSMatthias Ringwald 208fb873124SMatthias Ringwald# Various scripts for WL chipsets from http://www.ti.com/tool/wl18xx-bt-sp 20937da03daSMatthias Ringwald 2107e3c67e6SMatthias RingwaldTIInit_11.8.32_4.2.bts: 21137da03daSMatthias Ringwald @echo "Downloading $@" 2127e3c67e6SMatthias Ringwald @curl -sS -O $(BLUEKITCHEN_URL)/TIInit_11.8.32_4.2.bts 2137e3c67e6SMatthias Ringwald 2147e3c67e6SMatthias RingwaldTIInit_11.8.32_4.6.bts: 2157e3c67e6SMatthias Ringwald @echo "Downloading $@" 2167e3c67e6SMatthias Ringwald @curl -sS -O $(BLUEKITCHEN_URL)/TIInit_11.8.32_4.6.bts 217d5814ca7SMatthias Ringwald 218fb873124SMatthias RingwaldTIInit_11.8.32_4.7.bts: 219fb873124SMatthias Ringwald @echo "Downloading $@" 220fb873124SMatthias Ringwald @curl -sS -O $(BLUEKITCHEN_URL)/TIInit_11.8.32_4.7.bts 221fb873124SMatthias Ringwald 222fb873124SMatthias Ringwald 223d5814ca7SMatthias RingwaldTIInit_12.10.28.bts: 22437da03daSMatthias Ringwald @echo "Downloading $@" 225a827c5a6SMatthias Ringwald @curl -sS -O $(BLUEKITCHEN_URL)/TIInit_12.10.28.bts 226d5814ca7SMatthias Ringwald 227d5814ca7SMatthias RingwaldTIInit_12.8.32.bts: 22837da03daSMatthias Ringwald @echo "Downloading $@" 229a827c5a6SMatthias Ringwald @curl -sS -O $(BLUEKITCHEN_URL)/TIInit_12.8.32.bts 23037da03daSMatthias Ringwald 231d5814ca7SMatthias Ringwald 232638e16f3SMatthias Ringwald 23306ee659aSMatthias Ringwald# convert to .c files based on main file and option add-on 23406ee659aSMatthias Ringwald 235a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560_2.44.c: bluetooth_init_cc2560_2.44.bts 23606ee659aSMatthias Ringwald @echo "Creating $@" 23706ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 238a3fe55ccSMatthias Ringwald 239a3fe55ccSMatthias Ringwaldbluetooth_init_cc2560A_2.14.c: bluetooth_init_cc2560A_2.14.bts 24006ee659aSMatthias Ringwald @echo "Creating $@" 24106ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 242a3fe55ccSMatthias Ringwald 2430e1ffed0SMatthias Ringwaldbluetooth_init_cc2567_2.4.c: CC2567_BT_ANT_Service_Pack_2.4.bts 2440e1ffed0SMatthias Ringwald @echo "Creating $@" 2450e1ffed0SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 2460e1ffed0SMatthias Ringwald 2470e1ffed0SMatthias Ringwaldbluetooth_init_cc2567_2.8.c: CC256x_BT_Service_Pack_2.8_ANT_1.16.bts 2480e1ffed0SMatthias Ringwald @echo "Creating $@" 2490e1ffed0SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 2500e1ffed0SMatthias Ringwald 251a3fe55ccSMatthias Ringwaldbluetooth_init_cc2564_2.14.c: bluetooth_init_cc2564_2.14.bts 25206ee659aSMatthias Ringwald @echo "Creating $@" 25306ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 254a3fe55ccSMatthias Ringwald 255d5814ca7SMatthias Ringwaldbluetooth_init_cc2560B_1.2_BT_Spec_4.1.c: bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts 25606ee659aSMatthias Ringwald @echo "Creating $@" 25706ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 258d5814ca7SMatthias Ringwald 259d5814ca7SMatthias 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 26006ee659aSMatthias Ringwald @echo "Creating $@" 26106ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 262d5814ca7SMatthias Ringwald 263edc52946SMatthias Ringwaldbluetooth_init_cc2560B_1.4_BT_Spec_4.1.c: TIInit_6.7.16_bt_spec_4.1.bts 26406ee659aSMatthias Ringwald @echo "Creating $@" 26506ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 266edc52946SMatthias Ringwald 267edc52946SMatthias 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 26806ee659aSMatthias Ringwald @echo "Creating $@" 26906ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 270a3fe55ccSMatthias Ringwald 2712d0fc1beSMatthias 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 27206ee659aSMatthias Ringwald @echo "Creating $@" 27306ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 274638e16f3SMatthias Ringwald 2752d0fc1beSMatthias 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 2762d0fc1beSMatthias Ringwald @echo "Creating $@" 2772d0fc1beSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 2782d0fc1beSMatthias Ringwald 2792d0fc1beSMatthias 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 2802d0fc1beSMatthias Ringwald @echo "Creating $@" 2812d0fc1beSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 2822d0fc1beSMatthias Ringwald 2832d0fc1beSMatthias 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 28406ee659aSMatthias Ringwald @echo "Creating $@" 28506ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 286638e16f3SMatthias Ringwald 2873d919a60SMatthias 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 2883d919a60SMatthias Ringwald @echo "Creating $@" 2893d919a60SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 2903d919a60SMatthias Ringwald 2916846b044SMatthias 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 2926846b044SMatthias Ringwald 2936846b044SMatthias Ringwald @echo "Creating $@" 2946846b044SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 2956846b044SMatthias Ringwald 2963d919a60SMatthias 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 2973d919a60SMatthias Ringwald @echo "Creating $@" 2983d919a60SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 2993d919a60SMatthias Ringwald 3007830d3e6SMatthias Ringwaldbluetooth_init_cc2560C_1.0.c: initscripts-TIInit_6.12.26_v1.0.bts 30106ee659aSMatthias Ringwald @echo "Creating $@" 30206ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 303638e16f3SMatthias Ringwald 3047830d3e6SMatthias 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 30506ee659aSMatthias Ringwald @echo "Creating $@" 30606ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 307638e16f3SMatthias Ringwald 30814cca92bSMatthias Ringwaldbluetooth_init_cc2560C_1.1.c: initscripts-TIInit_6.12.26_v1.1.bts 30914cca92bSMatthias Ringwald @echo "Creating $@" 31014cca92bSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 31114cca92bSMatthias Ringwald 31214cca92bSMatthias 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 31314cca92bSMatthias Ringwald @echo "Creating $@" 31414cca92bSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 31514cca92bSMatthias Ringwald 3163d919a60SMatthias Ringwaldbluetooth_init_cc2560C_1.2.c: initscripts-TIInit_6.12.26_v1.2.bts 3173d919a60SMatthias Ringwald @echo "Creating $@" 3183d919a60SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 3193d919a60SMatthias Ringwald 3203d919a60SMatthias 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 3213d919a60SMatthias Ringwald @echo "Creating $@" 3223d919a60SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 3233d919a60SMatthias Ringwald 3240e0e98b2SMatthias Ringwaldbluetooth_init_cc2560C_1.3.c: initscripts-TIInit_6.12.26_v1.3.bts 3250e0e98b2SMatthias Ringwald @echo "Creating $@" 3260e0e98b2SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 3270e0e98b2SMatthias Ringwald 3280e0e98b2SMatthias 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 3290e0e98b2SMatthias Ringwald @echo "Creating $@" 3300e0e98b2SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 3310e0e98b2SMatthias Ringwald 332f2eb0907SMatthias Ringwaldbluetooth_init_cc2560C_1.4.c: initscripts-TIInit_6.12.26_v1.4.bts 333f2eb0907SMatthias Ringwald @echo "Creating $@" 334f2eb0907SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 335f2eb0907SMatthias Ringwald 33615218b79SMatthias 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 33715218b79SMatthias Ringwald @echo "Creating $@" 33815218b79SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 33915218b79SMatthias Ringwald 340f2eb0907SMatthias 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 341f2eb0907SMatthias Ringwald @echo "Creating $@" 342f2eb0907SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 343f2eb0907SMatthias Ringwald 344*01f72e3dSMatthias Ringwaldbluetooth_init_cc2560C_1.5.c: initscripts-TIInit_6.12.26_v1.5.bts 345*01f72e3dSMatthias Ringwald @echo "Creating $@" 346*01f72e3dSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 347*01f72e3dSMatthias Ringwald 348*01f72e3dSMatthias Ringwaldbluetooth_init_cc2560C_avpr_1.5.c: initscripts-TIInit_6.12.26_v1.5.bts initscripts-TIInit_6.12.26_avpr_add-on_v1.5.bts 349*01f72e3dSMatthias Ringwald @echo "Creating $@" 350*01f72e3dSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 351*01f72e3dSMatthias Ringwald 352*01f72e3dSMatthias Ringwaldbluetooth_init_cc2564C_1.5.c: initscripts-TIInit_6.12.26_v1.5.bts initscripts-TIInit_6.12.26_ble_add-on_v1.5.bts 353*01f72e3dSMatthias Ringwald @echo "Creating $@" 354*01f72e3dSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 355*01f72e3dSMatthias Ringwald 3560e0e98b2SMatthias Ringwald 3577e3c67e6SMatthias RingwaldTIInit_11.8.32_4.2.c: TIInit_11.8.32_4.2.bts 35806ee659aSMatthias Ringwald @echo "Creating $@" 35906ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 360d5814ca7SMatthias Ringwald 3617e3c67e6SMatthias RingwaldTIInit_11.8.32_4.6.c: TIInit_11.8.32_4.6.bts 3627e3c67e6SMatthias Ringwald @echo "Creating $@" 3637e3c67e6SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 3647e3c67e6SMatthias Ringwald 365fb873124SMatthias RingwaldTIInit_11.8.32_4.7.c: TIInit_11.8.32_4.7.bts 366fb873124SMatthias Ringwald @echo "Creating $@" 367fb873124SMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 3687e3c67e6SMatthias Ringwald 369d5814ca7SMatthias RingwaldTIInit_12.10.28.c: TIInit_12.10.28.bts 37006ee659aSMatthias Ringwald @echo "Creating $@" 37106ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 372d5814ca7SMatthias Ringwald 373a3fe55ccSMatthias RingwaldTIInit_12.8.32.c: TIInit_12.8.32.bts 37406ee659aSMatthias Ringwald @echo "Creating $@" 37506ee659aSMatthias Ringwald @$(CONVERSION_SCRIPT) $^ $@ 376a3fe55ccSMatthias Ringwald 377638e16f3SMatthias Ringwaldall-scripts: \ 378638e16f3SMatthias Ringwald bluetooth_init_cc2560_2.44.c \ 379638e16f3SMatthias Ringwald bluetooth_init_cc2560A_2.14.c \ 380638e16f3SMatthias Ringwald bluetooth_init_cc2564_2.14.bts \ 38115218b79SMatthias Ringwald bluetooth_init_cc2560B_1.8_BT_Spec_4.1.c \ 3823d919a60SMatthias Ringwald bluetooth_init_cc2564B_1.8_BT_Spec_4.1.c \ 38315218b79SMatthias Ringwald bluetooth_init_cc2560C_1.4.c \ 38415218b79SMatthias Ringwald bluetooth_init_cc2560C_avpr_1.4.c \ 38515218b79SMatthias Ringwald bluetooth_init_cc2564C_1.4.c \ 386*01f72e3dSMatthias Ringwald bluetooth_init_cc2560C_1.5.c \ 387*01f72e3dSMatthias Ringwald bluetooth_init_cc2560C_avpr_1.5.c \ 388*01f72e3dSMatthias Ringwald bluetooth_init_cc2564C_1.5.c \ 3897e3c67e6SMatthias Ringwald TIInit_11.8.32_4.2.c \ 3907e3c67e6SMatthias Ringwald TIInit_11.8.32_4.6.c \ 391fb873124SMatthias Ringwald TIInit_11.8.32_4.7.c \ 392638e16f3SMatthias Ringwald TIInit_12.10.28.c \ 393638e16f3SMatthias Ringwald TIInit_12.8.32.c \ 394a3fe55ccSMatthias Ringwald 395a3fe55ccSMatthias Ringwaldclean-scripts: 396a827c5a6SMatthias Ringwald rm -fr cc256x*.zip CC256*.zip bluetooth_init_cc256*.c TIInit*.c *.bts BLE_init_cc256*.c cc256xb_bt_sp_v1.8 397a3fe55ccSMatthias Ringwald 398a3fe55ccSMatthias Ringwald 399