mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-09 15:39:08 +00:00
47 lines
1.6 KiB
Makefile
47 lines
1.6 KiB
Makefile
#
|
|
# BTstack port for WICED framework
|
|
#
|
|
|
|
ifndef BT_CHIP
|
|
$(error BT_CHIP not set - WICED BTstack port only supported with Broadcom Bluetooth chipset)
|
|
endif
|
|
|
|
NAME := BTstack_for_BCM$(BT_CHIP)$(BT_CHIP_REVISION)
|
|
|
|
GLOBAL_INCLUDES += . ../../src ../../platform/embedded ../../chipset/bcm ../../../../
|
|
|
|
# core BTstack sources
|
|
$(NAME)_SOURCES += \
|
|
../../src/ble/att.c \
|
|
../../src/ble/att_dispatch.c \
|
|
../../src/ble/att_server.c \
|
|
../../src/ble/le_device_db_memory.c \
|
|
../../src/ble/sm.c \
|
|
../../src/classic/hsp_hs.c \
|
|
../../src/classic/remote_device_db_memory.c \
|
|
../../src/classic/rfcomm.c \
|
|
../../src/classic/sdp.c \
|
|
../../src/classic/sdp_client.c \
|
|
../../src/classic/sdp_parser.c \
|
|
../../src/classic/sdp_query_rfcomm.c \
|
|
../../src/classic/sdp_query_util.c \
|
|
../../src/classic/sdp_util.c \
|
|
../../src/btstack_linked_list.c \
|
|
../../src/btstack_memory.c \
|
|
../../src/btstack_memory_pool.c \
|
|
../../src/btstack_run_loop.c \
|
|
../../src/btstack_util.c \
|
|
../../src/hci.c \
|
|
../../src/hci_cmd.c \
|
|
../../src/hci_dump.c \
|
|
../../src/l2cap.c \
|
|
../../src/l2cap_signaling.c \
|
|
|
|
# WICED port incl. support for Broadcom chipset
|
|
$(NAME)_SOURCES += \
|
|
main.c \
|
|
btstack_run_loop_wiced.c \
|
|
hci_transport_h4_wiced.c \
|
|
../../chipset/bcm/bt_control_bcm.c \
|
|
../../../drivers/bluetooth/firmware/$(BT_CHIP)$(BT_CHIP_REVISION)/bt_firmware_image.c \
|