xref: /btstack/chipset/cc256x/Makefile.inc (revision 3edc84c5b6b1e23a3d103fe8ce1f6b5ad1df3498)
1#
2# Makefile to download and convert .bts files from
3# http://processors.wiki.ti.com/index.php/CC256x_Downloads
4#
5BASE_URL = https://git.ti.com/ti-bt/service-packs/blobs/raw/a027ae390d8790e56e1c78136c78fe6537470e91
6
7bluetooth_init_cc2560B_1.2_BT_Spec_4.0.bts:
8	curl -O $(BASE_URL)/bluetooth_init_cc2560B_1.2_BT_Spec_4.0.bts
9
10bluetooth_init_cc2564B_1.2_BT_Spec_4.0.bts:
11	curl -O $(BASE_URL)/bluetooth_init_cc2564B_1.2_BT_Spec_4.0.bts
12
13bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts:
14	curl -O $(BASE_URL)/bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts
15
16bluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts:
17	curl -O $(BASE_URL)/bluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts
18
19BLE_init_cc2564B_1.2.bts:
20	curl -O $(BASE_URL)/BLE_init_cc2564B_1.2.bts
21
22TIInit_11.8.32.bts:
23	curl -O $(BASE_URL)/TIInit_11.8.32.bts
24
25TIInit_12.10.28.bts:
26	curl -O $(BASE_URL)/TIInit_12.10.28.bts
27
28TIInit_12.8.32.bts:
29	curl -O $(BASE_URL)/TIInit_12.8.32.bts
30
31# convert to .c files
32CONVERSION_SCRIPT=$(BTSTACK_ROOT)/chipset/cc256x/convert_bts_init_scripts.py
33
34bluetooth_init_cc2560B_1.2_BT_Spec_4.0.c: bluetooth_init_cc2560B_1.2_BT_Spec_4.0.bts
35	$(CONVERSION_SCRIPT)
36
37bluetooth_init_cc2564B_1.2_BT_Spec_4.0.c: bluetooth_init_cc2564B_1.2_BT_Spec_4.0.bts BLE_init_cc2564B_1.2.bts
38	$(CONVERSION_SCRIPT)
39
40bluetooth_init_cc2560B_1.2_BT_Spec_4.1.c: bluetooth_init_cc2560B_1.2_BT_Spec_4.1.bts
41	$(CONVERSION_SCRIPT)
42
43bluetooth_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
44	$(CONVERSION_SCRIPT)
45
46TIInit_11.8.32.c: TIInit_11.8.32.bts
47	$(CONVERSION_SCRIPT)
48
49TIInit_12.10.28.c: TIInit_12.10.28.bts
50	$(CONVERSION_SCRIPT)
51
52TIInit_12.8.32.c: /TIInit_12.8.32.bts
53	$(CONVERSION_SCRIPT)
54