chipset/cc256x: update initscripts CC256xB to v1.8 and CC256xC to v1.2

This commit is contained in:
Matthias Ringwald 2019-09-26 22:30:51 +02:00
parent daec7f9039
commit 3d919a6077
8 changed files with 59 additions and 9 deletions

View File

@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## Changed
- Bluetooth and BTstack Error Codes and Events: collect status codes in bluetooth.h and events in btstack_defines.h
- bluetooth.h: extract internal defintitions to respective protocol layers
- Updated CC256x initscripts (CC256xB v1.8, CC256xC v1.2)
## Changes August 2019

View File

@ -96,6 +96,23 @@ cc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_ble_add-on.bts: cc256xb_bt_sp_v1.6.
@mkdir -p cc256xb_bt_sp_v1.6
@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
# v1.7 - not available, please use v1.8 or newer
# v1.8 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xb-bt-sp
cc256xb_bt_sp_v1.8.zip:
echo "Downloading $@"
@curl -sS -O $(BLUEKITCHEN_URL)/cc256xb_bt_sp_v1.8.zip
cc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_bt_spec_4.1.bts: cc256xb_bt_sp_v1.8.zip
@echo "Extracting $@"
@mkdir -p cc256xb_bt_sp_v1.8
@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
cc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_ble_add-on.bts: cc256xb_bt_sp_v1.8.zip
@echo "Extracting $@"
@mkdir -p cc256xb_bt_sp_v1.8
@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
# Fourth generation CC256xC - TIInit_6.12.26.bts
@ -125,6 +142,18 @@ initscripts-TIInit_6.12.26_ble_add-on_v1.1.bts: cc256xc_bt_sp_v1.1.zip
@echo "Extracting $@"
@unzip -q -p cc256xc_bt_sp_v1.1.zip CC256XC_BT_SP/v1.1/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
# v1.1 - unversioned files from BlueKitchen website, original: http://www.ti.com/tool/cc256xc-bt-sp
cc256xc_bt_sp_v1.2.zip:
@echo "Downloading $@"
@curl -sS -O $(BLUEKITCHEN_URL)/cc256xc_bt_sp_v1.2.zip
initscripts-TIInit_6.12.26_v1.2.bts: cc256xc_bt_sp_v1.2.zip
@echo "Extracting $@"
@unzip -q -p cc256xc_bt_sp_v1.2.zip CC256XC_BT_SP/v1.2/initscripts-TIInit_6.12.26.bts > $@
initscripts-TIInit_6.12.26_ble_add-on_v1.2.bts: cc256xc_bt_sp_v1.2.zip
@echo "Extracting $@"
@unzip -q -p cc256xc_bt_sp_v1.2.zip CC256XC_BT_SP/v1.2/initscripts-TIInit_6.12.26_ble_add-on.bts > $@
# Various scripts for WL chipsets
@ -197,6 +226,14 @@ bluetooth_init_cc2564B_1.6_BT_Spec_4.1.c: cc256xb_bt_sp_v1.6/initscripts-TIInit_
@echo "Creating $@"
@$(CONVERSION_SCRIPT) $^ $@
bluetooth_init_cc2560B_1.8_BT_Spec_4.1.c: cc256xb_bt_sp_v1.8/initscripts-TIInit_6.7.16_bt_spec_4.1.bts
@echo "Creating $@"
@$(CONVERSION_SCRIPT) $^ $@
bluetooth_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
@echo "Creating $@"
@$(CONVERSION_SCRIPT) $^ $@
bluetooth_init_cc2560C_1.0.c: initscripts-TIInit_6.12.26_v1.0.bts
@echo "Creating $@"
@$(CONVERSION_SCRIPT) $^ $@
@ -213,6 +250,14 @@ bluetooth_init_cc2564C_1.1.c: initscripts-TIInit_6.12.26_v1.1.bts initscripts-TI
@echo "Creating $@"
@$(CONVERSION_SCRIPT) $^ $@
bluetooth_init_cc2560C_1.2.c: initscripts-TIInit_6.12.26_v1.2.bts
@echo "Creating $@"
@$(CONVERSION_SCRIPT) $^ $@
bluetooth_init_cc2564C_1.2.c: initscripts-TIInit_6.12.26_v1.2.bts initscripts-TIInit_6.12.26_ble_add-on_v1.2.bts
@echo "Creating $@"
@$(CONVERSION_SCRIPT) $^ $@
TIInit_11.8.32.c: TIInit_11.8.32.bts
@echo "Creating $@"
@$(CONVERSION_SCRIPT) $^ $@
@ -233,10 +278,14 @@ all-scripts: \
bluetooth_init_cc2564B_1.4_BT_Spec_4.1.c \
bluetooth_init_cc2560B_1.5_BT_Spec_4.1.c \
bluetooth_init_cc2564B_1.5_BT_Spec_4.1.c \
bluetooth_init_cc2564B_1.6_BT_Spec_4.1.c \
bluetooth_init_cc2564B_1.8_BT_Spec_4.1.c \
bluetooth_init_cc2560C_1.0.c \
bluetooth_init_cc2560C_1.1.c \
bluetooth_init_cc2564C_1.0.c \
bluetooth_init_cc2560C_1.1.c \
bluetooth_init_cc2564C_1.1.c \
bluetooth_init_cc2560C_1.2.c \
bluetooth_init_cc2564C_1.2.c \
TIInit_11.8.32.c \
TIInit_12.10.28.c \
TIInit_12.8.32.c \

View File

@ -50,7 +50,7 @@ CPPFLAGS+=-g3 -ggdb -DDEBUG
TARGET_UC:=$(shell echo $(TARGET) | tr a-z A-Z)
TARGET_LC:=$(shell echo $(TARGET) | tr A-Z a-z)
CC2564B = bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o
CC2564B = bluetooth_init_cc2564B_1.8_BT_Spec_4.1.o
# Select 'GCC' or 'IAR' compiler
COMPILER=GCC

View File

@ -4,8 +4,8 @@
#
# init scripts
CC2560B = bluetooth_init_cc2560B_1.6_BT_Spec_4.1.o
CC2564B = bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o
CC2560B = bluetooth_init_cc2560B_1.8_BT_Spec_4.1.o
CC2564B = bluetooth_init_cc2564B_1.8_BT_Spec_4.1.o
CC2567 = CC256x_BT_Service_Pack_2.8_ANT_1.16.o
BTSTACK_ROOT ?= ../..

View File

@ -4,8 +4,8 @@
#
# init scripts
CC2560B = bluetooth_init_cc2560B_1.6_BT_Spec_4.1.o
CC2564B = bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o
CC2560B = bluetooth_init_cc2560B_1.8_BT_Spec_4.1.o
CC2564B = bluetooth_init_cc2564B_1.8_BT_Spec_4.1.o
CC2567 = CC256x_BT_Service_Pack_2.8_ANT_1.16.o
BTSTACK_ROOT ?= ../..

View File

@ -2,7 +2,7 @@
BTSTACK_ROOT ?= ../..
CORE += \
bluetooth_init_cc2564B_1.6_BT_Spec_4.1.c \
bluetooth_init_cc2564B_1.8_BT_Spec_4.1.c \
btstack_chipset_bcm.c \
btstack_chipset_cc256x.c \
btstack_chipset_csr.c \

View File

@ -2,7 +2,7 @@
BTSTACK_ROOT ?= ../..
CORE += \
bluetooth_init_cc2564B_1.6_BT_Spec_4.1.c \
bluetooth_init_cc2564B_1.8_BT_Spec_4.1.c \
btstack_chipset_cc256x.c \
btstack_chipset_csr.c \
btstack_chipset_em9301.c \

View File

@ -148,7 +148,7 @@ ${BTSTACK_ROOT}/3rd-party/lwip/core/src/apps/http/httpd.c \
${BTSTACK_ROOT}/3rd-party/lwip/dhcp-server/dhserver.c \
${BTSTACK_ROOT}/platform/lwip/port/sys_arch.c \
${BTSTACK_ROOT}/platform/lwip/bnep_lwip.c \
bluetooth_init_cc2564B_1.6_BT_Spec_4.1.c \
bluetooth_init_cc2564B_1.8_BT_Spec_4.1.c \
bsp/audio.c \
bsp/cs43l22.c \
bsp/stm32f4_discovery.c \