mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-24 04:43:36 +00:00
stm32-l053r8-em9304: select btstack_chipset_em9304 and prepare patch upload
This commit is contained in:
parent
d7587826d2
commit
0cb28080bd
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
// Port related features
|
// Port related features
|
||||||
#define HAVE_EMBEDDED_TIME_MS
|
#define HAVE_EMBEDDED_TIME_MS
|
||||||
|
// #define HAVE_EM9304_PATCH_CONTAINER
|
||||||
|
|
||||||
// BTstack features that can be enabled
|
// BTstack features that can be enabled
|
||||||
#define ENABLE_BLE
|
#define ENABLE_BLE
|
||||||
|
@ -51,6 +51,7 @@ VPATH += ${BTSTACK_ROOT}/src/classic
|
|||||||
VPATH += ${BTSTACK_ROOT}/platform/embedded
|
VPATH += ${BTSTACK_ROOT}/platform/embedded
|
||||||
VPATH += ${BTSTACK_ROOT}/example
|
VPATH += ${BTSTACK_ROOT}/example
|
||||||
VPATH += ${BTSTACK_ROOT}/3rd-party/micro-ecc
|
VPATH += ${BTSTACK_ROOT}/3rd-party/micro-ecc
|
||||||
|
VPATH += ${BTSTACK_ROOT}/chipset/em9301
|
||||||
|
|
||||||
######################################
|
######################################
|
||||||
# source
|
# source
|
||||||
@ -86,6 +87,7 @@ Src/stm32l0xx_it.c \
|
|||||||
att_dispatch.c \
|
att_dispatch.c \
|
||||||
att_server.c \
|
att_server.c \
|
||||||
battery_service_server.c \
|
battery_service_server.c \
|
||||||
|
btstack_chipset_em9301.c \
|
||||||
btstack_linked_list.c \
|
btstack_linked_list.c \
|
||||||
btstack_memory.c \
|
btstack_memory.c \
|
||||||
btstack_memory_pool.c \
|
btstack_memory_pool.c \
|
||||||
@ -106,6 +108,7 @@ Src/stm32l0xx_it.c \
|
|||||||
le_device_db_memory.c \
|
le_device_db_memory.c \
|
||||||
sm.c \
|
sm.c \
|
||||||
uECC.c \
|
uECC.c \
|
||||||
|
0000000_META_hci_patches_v5_iram.c \
|
||||||
|
|
||||||
# ASM sources
|
# ASM sources
|
||||||
ASM_SOURCES = \
|
ASM_SOURCES = \
|
||||||
|
@ -478,6 +478,7 @@ void port_main(void){
|
|||||||
|
|
||||||
// init HCI
|
// init HCI
|
||||||
hci_init(hci_transport_h4_instance(btstack_uart_block_embedded_instance()), &config);
|
hci_init(hci_transport_h4_instance(btstack_uart_block_embedded_instance()), &config);
|
||||||
|
hci_set_chipset(btstack_chipset_em9301_instance());
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
// setup Link Key DB
|
// setup Link Key DB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user