stm32-l053r8-em9304: select btstack_chipset_em9304 and prepare patch upload

This commit is contained in:
Matthias Ringwald 2018-01-10 12:33:46 +01:00
parent d7587826d2
commit 0cb28080bd
3 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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 = \

View File

@ -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();
}
}