mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-21 22:20:57 +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
|
||||
#define HAVE_EMBEDDED_TIME_MS
|
||||
// #define HAVE_EM9304_PATCH_CONTAINER
|
||||
|
||||
// BTstack features that can be enabled
|
||||
#define ENABLE_BLE
|
||||
@ -35,4 +36,4 @@
|
||||
#define MAX_NR_SERVICE_RECORD_ITEMS 1
|
||||
#define MAX_NR_LE_DEVICE_DB_ENTRIES 1
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -51,6 +51,7 @@ VPATH += ${BTSTACK_ROOT}/src/classic
|
||||
VPATH += ${BTSTACK_ROOT}/platform/embedded
|
||||
VPATH += ${BTSTACK_ROOT}/example
|
||||
VPATH += ${BTSTACK_ROOT}/3rd-party/micro-ecc
|
||||
VPATH += ${BTSTACK_ROOT}/chipset/em9301
|
||||
|
||||
######################################
|
||||
# source
|
||||
@ -86,6 +87,7 @@ Src/stm32l0xx_it.c \
|
||||
att_dispatch.c \
|
||||
att_server.c \
|
||||
battery_service_server.c \
|
||||
btstack_chipset_em9301.c \
|
||||
btstack_linked_list.c \
|
||||
btstack_memory.c \
|
||||
btstack_memory_pool.c \
|
||||
@ -106,6 +108,7 @@ Src/stm32l0xx_it.c \
|
||||
le_device_db_memory.c \
|
||||
sm.c \
|
||||
uECC.c \
|
||||
0000000_META_hci_patches_v5_iram.c \
|
||||
|
||||
# ASM sources
|
||||
ASM_SOURCES = \
|
||||
|
@ -478,6 +478,7 @@ void port_main(void){
|
||||
|
||||
// init HCI
|
||||
hci_init(hci_transport_h4_instance(btstack_uart_block_embedded_instance()), &config);
|
||||
hci_set_chipset(btstack_chipset_em9301_instance());
|
||||
|
||||
#if 0
|
||||
// setup Link Key DB
|
||||
@ -505,4 +506,4 @@ void port_main(void){
|
||||
|
||||
// go
|
||||
btstack_run_loop_execute();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user