mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-20 18:40:31 +00:00
chipset/cc256x: support init scripts v2.4 and v2.8 for CC2567
This commit is contained in:
parent
0830ab8fee
commit
0e1ffed02f
@ -139,6 +139,14 @@ bluetooth_init_cc2560A_2.14.c: bluetooth_init_cc2560A_2.14.bts
|
||||
@echo "Creating $@"
|
||||
@$(CONVERSION_SCRIPT) $^ $@
|
||||
|
||||
bluetooth_init_cc2567_2.4.c: CC2567_BT_ANT_Service_Pack_2.4.bts
|
||||
@echo "Creating $@"
|
||||
@$(CONVERSION_SCRIPT) $^ $@
|
||||
|
||||
bluetooth_init_cc2567_2.8.c: CC256x_BT_Service_Pack_2.8_ANT_1.16.bts
|
||||
@echo "Creating $@"
|
||||
@$(CONVERSION_SCRIPT) $^ $@
|
||||
|
||||
bluetooth_init_cc2564_2.14.c: bluetooth_init_cc2564_2.14.bts
|
||||
@echo "Creating $@"
|
||||
@$(CONVERSION_SCRIPT) $^ $@
|
||||
|
@ -301,13 +301,17 @@ lmp_subversion = 0
|
||||
name_lower = main_bts.lower()
|
||||
if 'cc2560_' in name_lower:
|
||||
aka = "6.2.31"
|
||||
if 'cc2560a_' in name_lower or 'cc2564_' in name_lower:
|
||||
if 'cc2560a_' in name_lower or 'cc2564_' in name_lower or 'cc2567_' in name_lower:
|
||||
aka = "6.6.15"
|
||||
if 'cc2560b_' in name_lower or 'cc2564b_' in name_lower:
|
||||
aka = "6.7.16"
|
||||
if 'cc2564c_' in name_lower:
|
||||
aka = "6.12.26"
|
||||
|
||||
# hardcode AKA for CC2567 v2.8
|
||||
if 'cc256x_bt_service_pack_2.8_ant_1.16' in name_lower:
|
||||
aka = "6.6.15"
|
||||
|
||||
# use AKA from .bts file that it
|
||||
name_parts = re.match('.*TIInit_(\d*\.\d*\.\d*).*.bts', main_bts)
|
||||
if name_parts:
|
||||
|
Loading…
x
Reference in New Issue
Block a user