From d0a478ad14fe480ba13bbdaa5d56bbb4fd9c197e Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 14 Aug 2017 14:17:55 +0200 Subject: [PATCH] stm32-f4discovery-cc256x: enable new le_device_db_tlv, fix compile --- .../create_examples.py | 2 +- .../eclipse-template/.cproject | 6 +- .../eclipse-template/.gitignore | 1 + .../.settings/language.settings.xml | 2 +- .../include/stm32f4xx_hal_conf.h | 2 +- .../include/stm32f4xx/stm32f4xx_hal_spi.h | 587 +++ .../system/src/stm32f4xx/stm32f4xx_hal_spi.c | 3206 +++++++++++++++++ .../src/btstack_config.h | 4 +- port/stm32-f4discovery-cc256x/src/port.c | 12 +- 9 files changed, 3812 insertions(+), 10 deletions(-) create mode 100644 port/stm32-f4discovery-cc256x/eclipse-template/.gitignore create mode 100644 port/stm32-f4discovery-cc256x/eclipse-template/system/include/stm32f4xx/stm32f4xx_hal_spi.h create mode 100644 port/stm32-f4discovery-cc256x/eclipse-template/system/src/stm32f4xx/stm32f4xx_hal_spi.c diff --git a/port/stm32-f4discovery-cc256x/create_examples.py b/port/stm32-f4discovery-cc256x/create_examples.py index cb22ba108..8a104ea06 100755 --- a/port/stm32-f4discovery-cc256x/create_examples.py +++ b/port/stm32-f4discovery-cc256x/create_examples.py @@ -101,7 +101,7 @@ for file in example_files: btstack_tree = project_folder + 'btstack/' if os.path.exists(btstack_tree): shutil.rmtree(btstack_tree) - for subtree in ['3rd-party/bluedroid', '3rd-party/micro-ecc', 'chipset/cc256x', 'platform/embedded', 'port/stm32-f4discovery-cc256x/src', 'src']: + for subtree in ['3rd-party/bluedroid', '3rd-party/hxcmod-player', '3rd-party/micro-ecc', 'chipset/cc256x', 'platform/embedded', 'port/stm32-f4discovery-cc256x/src', 'src']: shutil.copytree(btstack_root + subtree, btstack_tree + subtree) # create update_gatt.sh if .gatt file is present diff --git a/port/stm32-f4discovery-cc256x/eclipse-template/.cproject b/port/stm32-f4discovery-cc256x/eclipse-template/.cproject index c3a31a0f1..a5bcfa67d 100644 --- a/port/stm32-f4discovery-cc256x/eclipse-template/.cproject +++ b/port/stm32-f4discovery-cc256x/eclipse-template/.cproject @@ -68,13 +68,15 @@ + - + +