mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-06 07:14:26 +00:00
Remove btstack_run_loop_base from port and test
This commit is contained in:
parent
796f7837d0
commit
6f122aa372
port
arduino
daemon
libusb
max32630-fthr/example/template
msp432p401lp-cc256x
nrf5-zephyr
nrf5x/pca10028/armgcc
posix-h4-atwilc3000
posix-h4-da14581
posix-h4-da14585
posix-h4-zephyr
posix-h4
posix-h5
raspi
samv71-xplained-atwilc3000/example/template
stm32-f4discovery-cc256x
stm32-f4discovery-usb
stm32-l073rz-nucleo-em9304
stm32-l451-miromico-sx1280
stm32-wb55xx-nucleo-freertos
wiced-h4
windows-h4-da14585
windows-h4-zephyr
windows-h4
windows-winusb-intel
windows-winusb
src
test
@ -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_run_loop_base.c btstack_crypto.c
|
||||
SRC_FILES = btstack_memory.c btstack_linked_list.c btstack_memory_pool.c btstack_run_loop.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
|
||||
|
@ -34,7 +34,7 @@ fi
|
||||
|
||||
case "$host_os" in
|
||||
darwin*)
|
||||
btstack_run_loop_SOURCES="btstack_run_loop_base.o btstack_run_loop_posix.o btstack_run_loop_corefoundation.m"
|
||||
btstack_run_loop_SOURCES="btstack_run_loop_posix.o btstack_run_loop_corefoundation.m"
|
||||
LDFLAGS+="-framework CoreFoundation -framework Foundation"
|
||||
BTSTACK_LIB_LDFLAGS="-dynamiclib -install_name \$(prefix)/lib/libBTstack.dylib"
|
||||
BTSTACK_LIB_EXTENSION="dylib"
|
||||
@ -57,7 +57,7 @@ case "$host_os" in
|
||||
UART_DRIVER=block_windows
|
||||
;;
|
||||
*)
|
||||
btstack_run_loop_SOURCES="btstack_run_loop_base.o btstack_run_loop_posix.o"
|
||||
btstack_run_loop_SOURCES="btstack_run_loop_posix.o"
|
||||
BTSTACK_LIB_LDFLAGS="-shared -Wl,-rpath,\$(prefix)/lib"
|
||||
BTSTACK_LIB_EXTENSION="so"
|
||||
REMOTE_DEVICE_DB_SOURCES="rfcomm_service_db_memory.o"
|
||||
|
@ -3,7 +3,7 @@ BTSTACK_ROOT ?= ../..
|
||||
|
||||
CORE += main.c btstack_stdin_posix.c btstack_tlv_posix.c
|
||||
|
||||
COMMON += hci_transport_h2_libusb.c btstack_run_loop_base.c btstack_run_loop_posix.c le_device_db_tlv.c btstack_link_key_db_tlv.c wav_util.c btstack_network_posix.c
|
||||
COMMON += hci_transport_h2_libusb.c btstack_run_loop_posix.c le_device_db_tlv.c btstack_link_key_db_tlv.c wav_util.c btstack_network_posix.c
|
||||
COMMON += btstack_audio_portaudio.c btstack_chipset_zephyr.c rijndael.c
|
||||
|
||||
include ${BTSTACK_ROOT}/example/Makefile.inc
|
||||
|
@ -148,7 +148,6 @@ CORE = \
|
||||
btstack_util.o \
|
||||
l2cap.o \
|
||||
l2cap_signaling.o \
|
||||
btstack_run_loop_base.o \
|
||||
btstack_run_loop_embedded.o \
|
||||
$(CC2564B) \
|
||||
hci_transport_h4.o
|
||||
|
@ -109,7 +109,6 @@ ${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 \
|
||||
|
@ -6,7 +6,6 @@ obj-y += \
|
||||
btstack_memory_pool.o \
|
||||
btstack_ring_buffer.o \
|
||||
btstack_run_loop.o \
|
||||
btstack_run_loop_base.o \
|
||||
btstack_tlv.o \
|
||||
btstack_util.o \
|
||||
hci.o \
|
||||
|
@ -78,7 +78,6 @@ 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)
|
||||
@ -217,4 +216,4 @@ flash: $(MAKECMDGOALS)
|
||||
nrfjprog --program $(OUTPUT_BINARY_DIRECTORY)/$<.hex -f nrf51 --chiperase
|
||||
nrfjprog --reset
|
||||
|
||||
## Flash softdevice
|
||||
## Flash softdevice
|
||||
|
@ -3,7 +3,6 @@ BTSTACK_ROOT ?= ../..
|
||||
|
||||
CORE += \
|
||||
btstack_chipset_atwilc3000.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_tlv_posix.c \
|
||||
btstack_uart_posix.c \
|
||||
|
@ -4,7 +4,6 @@ BTSTACK_ROOT ?= ../..
|
||||
CORE += \
|
||||
btstack_chipset_da14581.c \
|
||||
hci_581_active_uart.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_tlv_posix.c \
|
||||
btstack_uart_posix.c \
|
||||
|
@ -3,7 +3,6 @@ BTSTACK_ROOT ?= ../..
|
||||
|
||||
CORE += \
|
||||
btstack_chipset_da14581.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_tlv_posix.c \
|
||||
btstack_uart_posix.c \
|
||||
|
@ -2,7 +2,6 @@
|
||||
BTSTACK_ROOT ?= ../..
|
||||
|
||||
CORE += \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_tlv_posix.c \
|
||||
btstack_uart_posix.c \
|
||||
|
@ -10,7 +10,6 @@ CORE += \
|
||||
btstack_chipset_stlc2500d.c \
|
||||
btstack_chipset_tc3566x.c \
|
||||
btstack_link_key_db_tlv.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_audio.c \
|
||||
btstack_audio_portaudio.c \
|
||||
|
@ -9,7 +9,6 @@ CORE += \
|
||||
btstack_chipset_stlc2500d.c \
|
||||
btstack_chipset_tc3566x.c \
|
||||
btstack_link_key_db_tlv.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_tlv_posix.c \
|
||||
btstack_uart_posix.c \
|
||||
|
@ -208,10 +208,10 @@ int main(int argc, const char * argv[]){
|
||||
printf("Packet Log: %s\n", pklg_path);
|
||||
|
||||
// pick serial port
|
||||
config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT
|
||||
// config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT
|
||||
// config.device_name = "/dev/tty.usbserial-A50285BI"; // BOOST-CC2564MODA New
|
||||
// config.device_name = "/dev/tty.usbserial-A9OVNX5P"; // RedBear IoT pHAT breakout board
|
||||
// config.device_name = "/dev/tty.usbserial-A900K0VK"; // CSR8811 breakout board
|
||||
config.device_name = "/dev/tty.usbserial-A900K0VK"; // CSR8811 breakout board
|
||||
|
||||
// accept path from command line
|
||||
if (argc >= 3 && strcmp(argv[1], "-u") == 0){
|
||||
|
@ -6,7 +6,6 @@ CORE += \
|
||||
btstack_chipset_bcm_download_firmware.c \
|
||||
btstack_control_raspi.c \
|
||||
btstack_link_key_db_tlv.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_tlv_posix.c \
|
||||
btstack_uart_posix.c \
|
||||
|
@ -148,7 +148,6 @@ 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 \
|
||||
|
@ -76,7 +76,6 @@ ${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 \
|
||||
|
@ -77,7 +77,6 @@ ${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 \
|
||||
|
@ -71,7 +71,6 @@ ${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 \
|
||||
|
@ -72,7 +72,6 @@ ${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 \
|
||||
|
@ -68,7 +68,6 @@ ${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 \
|
||||
|
@ -49,7 +49,6 @@ $(NAME)_SOURCES += \
|
||||
../../src/btstack_memory_pool.c \
|
||||
../../src/btstack_resample.c \
|
||||
../../src/btstack_run_loop.c \
|
||||
../../src/btstack_run_loop_base.c \
|
||||
../../src/btstack_tlv.c \
|
||||
../../src/btstack_util.c \
|
||||
../../src/hci.c \
|
||||
|
@ -4,7 +4,6 @@ BTSTACK_ROOT ?= ../..
|
||||
CORE += main.c btstack_stdin_windows.c btstack_tlv_posix.c
|
||||
|
||||
COMMON += \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_windows.c \
|
||||
hci_transport_h4.c \
|
||||
btstack_uart_block_windows.c \
|
||||
|
@ -4,7 +4,6 @@ BTSTACK_ROOT ?= ../..
|
||||
CORE += main.c btstack_stdin_windows.c btstack_tlv_posix.c
|
||||
|
||||
COMMON += \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_chipset_zephyr.c \
|
||||
btstack_run_loop_windows.c \
|
||||
btstack_uart_block_windows.c \
|
||||
|
@ -4,7 +4,6 @@ BTSTACK_ROOT ?= ../..
|
||||
CORE += main.c btstack_stdin_windows.c btstack_tlv_posix.c
|
||||
|
||||
COMMON += \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_windows.c \
|
||||
hci_transport_h4.c \
|
||||
btstack_uart_block_windows.c \
|
||||
|
@ -3,7 +3,7 @@ BTSTACK_ROOT ?= ../..
|
||||
|
||||
CORE += main.c btstack_stdin_windows.c btstack_tlv_posix.c
|
||||
|
||||
COMMON += hci_transport_h2_winusb.c btstack_run_loop_base.c btstack_run_loop_windows.c le_device_db_tlv.c btstack_link_key_db_tlv.c wav_util.c
|
||||
COMMON += hci_transport_h2_winusb.c btstack_run_loop_windows.c le_device_db_tlv.c btstack_link_key_db_tlv.c wav_util.c
|
||||
COMMON += btstack_chipset_intel_firmware.c rijndael.c
|
||||
|
||||
include ${BTSTACK_ROOT}/example/Makefile.inc
|
||||
|
@ -3,7 +3,7 @@ BTSTACK_ROOT ?= ../..
|
||||
|
||||
CORE += main.c btstack_stdin_windows.c btstack_tlv_posix.c
|
||||
|
||||
COMMON += hci_transport_h2_winusb.c btstack_run_loop_base.c btstack_run_loop_windows.c le_device_db_tlv.c btstack_link_key_db_tlv.c wav_util.c
|
||||
COMMON += hci_transport_h2_winusb.c btstack_run_loop_windows.c le_device_db_tlv.c btstack_link_key_db_tlv.c wav_util.c
|
||||
COMMON += rijndael.c
|
||||
|
||||
include ${BTSTACK_ROOT}/example/Makefile.inc
|
||||
|
@ -11,7 +11,6 @@ SRC_FILES = \
|
||||
btstack_memory_pool.c \
|
||||
btstack_ring_buffer.c \
|
||||
btstack_run_loop.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_slip.c \
|
||||
btstack_tlv.c \
|
||||
btstack_util.c \
|
||||
|
@ -22,7 +22,6 @@ COMMON = \
|
||||
btstack_memory.c \
|
||||
btstack_memory_pool.c \
|
||||
btstack_run_loop.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_util.c \
|
||||
hci.c \
|
||||
|
@ -27,7 +27,6 @@ COMMON = \
|
||||
btstack_linked_list.c \
|
||||
btstack_memory.c \
|
||||
btstack_run_loop.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_embedded.c \
|
||||
btstack_util.c \
|
||||
hci_dump.c \
|
||||
|
@ -16,7 +16,6 @@ COMMON = \
|
||||
btstack_memory.c \
|
||||
btstack_memory_pool.c \
|
||||
btstack_run_loop.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_util.c \
|
||||
hci.c \
|
||||
|
@ -12,7 +12,6 @@ CORE += \
|
||||
adv_bearer.c \
|
||||
beacon.c \
|
||||
btstack_link_key_db_fs.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_stdin_posix.c \
|
||||
btstack_uart_posix_pty.c \
|
||||
|
@ -25,7 +25,6 @@ COMMON += \
|
||||
l2cap_signaling.c \
|
||||
rfcomm.c \
|
||||
hci_transport_h2_libusb.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_posix.c \
|
||||
btstack_link_key_db_tlv.c \
|
||||
le_device_db_tlv.c \
|
||||
|
@ -26,7 +26,6 @@ COMMON = \
|
||||
btstack_memory.c \
|
||||
btstack_memory_pool.c \
|
||||
btstack_run_loop.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_run_loop_embedded.c \
|
||||
hci_cmd.c \
|
||||
hci_dump.c \
|
||||
|
@ -6,7 +6,6 @@ CORE += \
|
||||
btstack_linked_list.c \
|
||||
btstack_memory_pool.c \
|
||||
btstack_run_loop.c \
|
||||
btstack_run_loop_base.c \
|
||||
btstack_util.c \
|
||||
main.c \
|
||||
btstack_stdin_posix.c \
|
||||
|
Loading…
x
Reference in New Issue
Block a user