From 50b47281dcd786f25b8e20527b26e5aaa0460809 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 4 Mar 2021 14:29:35 +0100 Subject: [PATCH] btstack_run_loop_embedded: use run loop base (build) --- port/arduino/Makefile | 2 +- port/max32630-fthr/example/template/Makefile | 1 + port/msp432p401lp-cc256x/Makefile | 1 + port/nrf5x/pca10028/armgcc/Makefile | 3 ++- port/samv71-xplained-atwilc3000/example/template/config.mk | 1 + port/stm32-f4discovery-cc256x/Makefile | 1 + port/stm32-f4discovery-usb/Makefile | 1 + port/stm32-l073rz-nucleo-em9304/Makefile | 1 + port/stm32-l451-miromico-sx1280/Makefile | 1 + 9 files changed, 10 insertions(+), 2 deletions(-) diff --git a/port/arduino/Makefile b/port/arduino/Makefile index 39b51e097..aaf5c5c86 100644 --- a/port/arduino/Makefile +++ b/port/arduino/Makefile @@ -9,7 +9,7 @@ VERSION=`sed -n -e 's/^.*BTSTACK_VERSION \"\(.*\)\"/\1/p' ${BTSTACK_ROOT}/platfo BTSTACK_PACKAGE=/tmp/btstack ARCHIVE=btstack-arduino-${VERSION}.zip -SRC_FILES = btstack_memory.c btstack_linked_list.c btstack_memory_pool.c btstack_run_loop.c btstack_crypto.c +SRC_FILES = btstack_memory.c btstack_linked_list.c btstack_memory_pool.c btstack_run_loop.c btstack_run_loop_base.c btstack_crypto.c SRC_FILES += hci_dump.c hci.c hci_cmd.c btstack_util.c l2cap.c ad_parser.c hci_transport_h4.c BLE_FILES = att_db.c att_server.c att_dispatch.c att_db_util.c le_device_db_memory.c gatt_client.c BLE_FILES += sm.c ancs_client.h ancs_client.c diff --git a/port/max32630-fthr/example/template/Makefile b/port/max32630-fthr/example/template/Makefile index eadd4dd8a..3ff6fe654 100644 --- a/port/max32630-fthr/example/template/Makefile +++ b/port/max32630-fthr/example/template/Makefile @@ -148,6 +148,7 @@ CORE = \ btstack_util.o \ l2cap.o \ l2cap_signaling.o \ + btstack_run_loop_base.o \ btstack_run_loop_embedded.o \ $(CC2564B) \ hci_transport_h4.o diff --git a/port/msp432p401lp-cc256x/Makefile b/port/msp432p401lp-cc256x/Makefile index dcb1b3081..fe806b4ca 100755 --- a/port/msp432p401lp-cc256x/Makefile +++ b/port/msp432p401lp-cc256x/Makefile @@ -109,6 +109,7 @@ ${BTSTACK_ROOT}/src/btstack_memory.c \ ${BTSTACK_ROOT}/src/btstack_memory_pool.c \ ${BTSTACK_ROOT}/src/btstack_ring_buffer.c \ ${BTSTACK_ROOT}/src/btstack_run_loop.c \ +${BTSTACK_ROOT}/src/btstack_run_loop_base.c \ ${BTSTACK_ROOT}/src/btstack_tlv.c \ ${BTSTACK_ROOT}/src/btstack_util.c \ ${BTSTACK_ROOT}/src/classic/a2dp_sink.c \ diff --git a/port/nrf5x/pca10028/armgcc/Makefile b/port/nrf5x/pca10028/armgcc/Makefile index 8cfd1facd..d5efc2ead 100755 --- a/port/nrf5x/pca10028/armgcc/Makefile +++ b/port/nrf5x/pca10028/armgcc/Makefile @@ -78,6 +78,7 @@ C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/btstack_linked_list.c) C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/btstack_memory.c) C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/btstack_memory_pool.c) C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/btstack_run_loop.c) +C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/btstack_run_loop_base.c) C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/btstack_util.c) C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/hci.c) C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/hci_cmd.c) @@ -216,4 +217,4 @@ flash: $(MAKECMDGOALS) nrfjprog --program $(OUTPUT_BINARY_DIRECTORY)/$<.hex -f nrf51 --chiperase nrfjprog --reset -## Flash softdevice +## Flash softdevice diff --git a/port/samv71-xplained-atwilc3000/example/template/config.mk b/port/samv71-xplained-atwilc3000/example/template/config.mk index c090c314e..e456cd92d 100644 --- a/port/samv71-xplained-atwilc3000/example/template/config.mk +++ b/port/samv71-xplained-atwilc3000/example/template/config.mk @@ -148,6 +148,7 @@ CSRCS += \ ${BTSTACK_ROOT_CONFIG}/src/btstack_memory_pool.c \ ${BTSTACK_ROOT_CONFIG}/src/btstack_ring_buffer.c \ ${BTSTACK_ROOT_CONFIG}/src/btstack_run_loop.c \ + ${BTSTACK_ROOT_CONFIG}/src/btstack_run_loop_base.c \ ${BTSTACK_ROOT_CONFIG}/src/btstack_util.c \ ${BTSTACK_ROOT_CONFIG}/src/btstack_tlv.c \ ${BTSTACK_ROOT_CONFIG}/src/hci.c \ diff --git a/port/stm32-f4discovery-cc256x/Makefile b/port/stm32-f4discovery-cc256x/Makefile index a9c3f72b8..8fe3dd255 100644 --- a/port/stm32-f4discovery-cc256x/Makefile +++ b/port/stm32-f4discovery-cc256x/Makefile @@ -74,6 +74,7 @@ ${BTSTACK_ROOT}/src/btstack_memory_pool.c \ ${BTSTACK_ROOT}/src/btstack_resample.c \ ${BTSTACK_ROOT}/src/btstack_ring_buffer.c \ ${BTSTACK_ROOT}/src/btstack_run_loop.c \ +${BTSTACK_ROOT}/src/btstack_run_loop_base.c \ ${BTSTACK_ROOT}/src/btstack_tlv.c \ ${BTSTACK_ROOT}/src/btstack_util.c \ ${BTSTACK_ROOT}/src/classic/a2dp_sink.c \ diff --git a/port/stm32-f4discovery-usb/Makefile b/port/stm32-f4discovery-usb/Makefile index b0bab97d3..cd7b2e1ef 100644 --- a/port/stm32-f4discovery-usb/Makefile +++ b/port/stm32-f4discovery-usb/Makefile @@ -75,6 +75,7 @@ ${BTSTACK_ROOT}/src/btstack_memory_pool.c \ ${BTSTACK_ROOT}/src/btstack_resample.c \ ${BTSTACK_ROOT}/src/btstack_ring_buffer.c \ ${BTSTACK_ROOT}/src/btstack_run_loop.c \ +${BTSTACK_ROOT}/src/btstack_run_loop_base.c \ ${BTSTACK_ROOT}/src/btstack_tlv.c \ ${BTSTACK_ROOT}/src/btstack_util.c \ ${BTSTACK_ROOT}/src/classic/a2dp_sink.c \ diff --git a/port/stm32-l073rz-nucleo-em9304/Makefile b/port/stm32-l073rz-nucleo-em9304/Makefile index 1b1d0ea24..5fda0b9c8 100644 --- a/port/stm32-l073rz-nucleo-em9304/Makefile +++ b/port/stm32-l073rz-nucleo-em9304/Makefile @@ -69,6 +69,7 @@ ${BTSTACK_ROOT}/src/btstack_memory_pool.c \ ${BTSTACK_ROOT}/src/btstack_resample.c \ ${BTSTACK_ROOT}/src/btstack_ring_buffer.c \ ${BTSTACK_ROOT}/src/btstack_run_loop.c \ +${BTSTACK_ROOT}/src/btstack_run_loop_base.c \ ${BTSTACK_ROOT}/src/btstack_tlv.c \ ${BTSTACK_ROOT}/src/btstack_util.c \ ${BTSTACK_ROOT}/src/hci.c \ diff --git a/port/stm32-l451-miromico-sx1280/Makefile b/port/stm32-l451-miromico-sx1280/Makefile index 76e175c92..93ff2a584 100644 --- a/port/stm32-l451-miromico-sx1280/Makefile +++ b/port/stm32-l451-miromico-sx1280/Makefile @@ -70,6 +70,7 @@ ${BTSTACK_ROOT}/src/btstack_memory_pool.c \ ${BTSTACK_ROOT}/src/btstack_resample.c \ ${BTSTACK_ROOT}/src/btstack_ring_buffer.c \ ${BTSTACK_ROOT}/src/btstack_run_loop.c \ +${BTSTACK_ROOT}/src/btstack_run_loop_base.c \ ${BTSTACK_ROOT}/src/btstack_tlv.c \ ${BTSTACK_ROOT}/src/btstack_tlv_none.c \ ${BTSTACK_ROOT}/src/btstack_util.c \