chipset/cc2564: download all init scripts from BlueKitchen website

This commit is contained in:
Matthias Ringwald 2021-04-21 22:29:27 +02:00
parent 2c4f9bbb6d
commit a827c5a6d8

View File

@ -1,22 +1,21 @@
#
# Makefile to download and convert TI's CC256x Service Pack .bts files from
# http://processors.wiki.ti.com/index.php/CC256x_Downloads
#
# Service Packs for CC256xB v1.5 and CC256xC v1.0 downloaded from BlueKitchen company website
# Makefile to download and convert TI's CC256x Service Pack .bts files from BlueKitchen mirror
# https://e2e.ti.com/support/wireless_connectivity/bluetooth_cc256x/f/660/p/560523/2056007#2056007
#
# Original sources:
# TI Processor Wiki https://web.archive.org/web/20210114141711/https://processors.wiki.ti.com/index.php/CC256x_Downloads
# TI Git Repo: https://git.ti.com/cgit/ti-bt/service-packs/blobs/raw/a027ae390d8790e56e1c78136c78fe6537470e91
TI_GIT_REPO_URL = https://git.ti.com/cgit/ti-bt/service-packs/blobs/raw/a027ae390d8790e56e1c78136c78fe6537470e91
BLUEKITCHEN_URL = https://bluekitchen-gmbh.com/files/
BLUEKITCHEN_URL = https://bluekitchen-gmbh.com/files/ti/service-packs
CONVERSION_SCRIPT=$(BTSTACK_ROOT)/chipset/cc256x/convert_bts_init_scripts.py
# First generation CC2560 - AKA TIInit_6.2.31.bts
# v2.44 - file part of .zip archive
CC2560_BT_SP_BTS.zip:
@echo "Downloading $@"
@curl -sS -O https://processors.wiki.ti.com/images/d/da/CC2560_BT_SP_BTS.zip
@curl -sS -O $(BLUEKITCHEN_URL)/CC2560_BT_SP_BTS.zip
bluetooth_init_cc2560_2.44.bts: CC2560_BT_SP_BTS.zip
@echo "Extracting $@"
@ -28,11 +27,11 @@ bluetooth_init_cc2560_2.44.bts: CC2560_BT_SP_BTS.zip
CC2560A_BT_SP_BTS.zip:
@echo "Downloading $@"
@curl -sS -O https://processors.wiki.ti.com/images/e/e7/CC2560A_BT_SP_BTS.zip
@curl -sS -O $(BLUEKITCHEN_URL)/CC2560A_BT_SP_BTS.zip
CC2564_BT_BLE_SP_BTS.zip:
@echo "Downloading $@"
@curl -sS -O https://processors.wiki.ti.com/images/1/1e/CC2564_BT_BLE_SP_BTS.zip
@curl -sS -O $(BLUEKITCHEN_URL)/CC2564_BT_BLE_SP_BTS.zip
bluetooth_init_cc2560A_2.14.bts: CC2560A_BT_SP_BTS.zip
@echo "Extracting $@"
@ -47,15 +46,15 @@ bluetooth_init_cc2564_2.14.bts: CC2564_BT_BLE_SP_BTS.zip
# v1.2 - versioned files TI Git Repo
bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts:
@echo "Downloading $@"
@curl -sS -O $(TI_GIT_REPO_URL)/bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts
@curl -sS -O $(BLUEKITCHEN_URL)/bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts
bluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts:
@echo "Downloading $@"
@curl -sS -O $(TI_GIT_REPO_URL)/bluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts
@curl -sS -O $(BLUEKITCHEN_URL)/bluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts
BLE_init_cc2564B_1.2.bts:
@echo "Downloading $@"
@curl -sS -O $(TI_GIT_REPO_URL)/BLE_init_cc2564B_1.2.bts
@curl -sS -O $(BLUEKITCHEN_URL)/BLE_init_cc2564B_1.2.bts
# v1.4 - versioned files TI Git Repo
TIInit_6.7.16_bt_spec_4.1.bts:
@ -198,11 +197,11 @@ TIInit_11.8.32.bts:
TIInit_12.10.28.bts:
@echo "Downloading $@"
@curl -sS -O $(TI_GIT_REPO_URL)/TIInit_12.10.28.bts
@curl -sS -O $(BLUEKITCHEN_URL)/TIInit_12.10.28.bts
TIInit_12.8.32.bts:
@echo "Downloading $@"
@curl -sS -O $(TI_GIT_REPO_URL)/TIInit_12.8.32.bts
@curl -sS -O $(BLUEKITCHEN_URL)/TIInit_12.8.32.bts
@ -344,6 +343,6 @@ all-scripts: \
TIInit_12.8.32.c \
clean-scripts:
rm -fr cc256x*.zip CC256*.zip bluetooth_init_cc256*.c TIInit*.c *.bts BLE_init_cc256*.c
rm -fr cc256x*.zip CC256*.zip bluetooth_init_cc256*.c TIInit*.c *.bts BLE_init_cc256*.c cc256xb_bt_sp_v1.8