Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
firmware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
François Revol
firmware
Commits
659362dd
Commit
659362dd
authored
Jan 23, 2020
by
schneider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ble): Plug in latest BLE library (0.2.1-11)
parent
938f4a88
Changes
91
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
91 changed files
with
43146 additions
and
11723 deletions
+43146
-11723
epicardium/ble/ble.c
epicardium/ble/ble.c
+0
-6
lib/sdk/Libraries/BTLE/README.txt
lib/sdk/Libraries/BTLE/README.txt
+3
-0
lib/sdk/Libraries/BTLE/btle.mk
lib/sdk/Libraries/BTLE/btle.mk
+50
-4
lib/sdk/Libraries/BTLE/link_layer/build/GCC/Makefile
lib/sdk/Libraries/BTLE/link_layer/build/GCC/Makefile
+141
-0
lib/sdk/Libraries/BTLE/link_layer/build/GCC/library/liblinklayer_hardfp.a
...s/BTLE/link_layer/build/GCC/library/liblinklayer_hardfp.a
+0
-0
lib/sdk/Libraries/BTLE/link_layer/build/GCC/library/liblinklayer_softfp.a
...s/BTLE/link_layer/build/GCC/library/liblinklayer_softfp.a
+0
-0
lib/sdk/Libraries/BTLE/link_layer/build/sources_ll.mk
lib/sdk/Libraries/BTLE/link_layer/build/sources_ll.mk
+268
-0
lib/sdk/Libraries/BTLE/link_layer/controller/include/ble/ll_api.h
...Libraries/BTLE/link_layer/controller/include/ble/ll_api.h
+1
-0
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/init/init.c
...raries/BTLE/link_layer/controller/sources/ble/init/init.c
+6
-0
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/init/init_ctr.c
...es/BTLE/link_layer/controller/sources/ble/init/init_ctr.c
+6
-0
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/init/init_ctr_ext.c
...TLE/link_layer/controller/sources/ble/init/init_ctr_ext.c
+2
-0
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/init/init_ext.c
...es/BTLE/link_layer/controller/sources/ble/init/init_ext.c
+4
-0
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/lctr/lctr_act_conn.c
...LE/link_layer/controller/sources/ble/lctr/lctr_act_conn.c
+2
-1
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/lctr/lctr_isr_adv_slave_ae.c
...layer/controller/sources/ble/lctr/lctr_isr_adv_slave_ae.c
+1
-1
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/lctr/lctr_main_adv_slave_ae.c
...ayer/controller/sources/ble/lctr/lctr_main_adv_slave_ae.c
+4
-1
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/lctr/lctr_sm_llcp_conn_slave.c
...yer/controller/sources/ble/lctr/lctr_sm_llcp_conn_slave.c
+1
-1
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/ll/ll_main_priv.c
.../BTLE/link_layer/controller/sources/ble/ll/ll_main_priv.c
+11
-5
lib/sdk/Libraries/BTLE/link_layer/platform/common/include/ll_defs.h
...braries/BTLE/link_layer/platform/common/include/ll_defs.h
+1
-0
lib/sdk/Libraries/BTLE/meson.build
lib/sdk/Libraries/BTLE/meson.build
+7
-2
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/afe_modulation.o
...raries/BTLE/phy/build/GCC/library/libphy/afe_modulation.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/agc_control.o
...Libraries/BTLE/phy/build/GCC/library/libphy/agc_control.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/bb_ble_api.o
.../Libraries/BTLE/phy/build/GCC/library/libphy/bb_ble_api.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/bb_ble_drv.o
.../Libraries/BTLE/phy/build/GCC/library/libphy/bb_ble_drv.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/bb_drv.o
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/bb_drv.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/ble_ctrl.o
...dk/Libraries/BTLE/phy/build/GCC/library/libphy/ble_ctrl.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/ble_prot_init.o
...braries/BTLE/phy/build/GCC/library/libphy/ble_prot_init.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/ble_prot_trx.o
...ibraries/BTLE/phy/build/GCC/library/libphy/ble_prot_trx.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/ble_rx_setup.o
...ibraries/BTLE/phy/build/GCC/library/libphy/ble_rx_setup.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/ble_time_corr.o
...braries/BTLE/phy/build/GCC/library/libphy/ble_time_corr.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/ble_tx_setup.o
...ibraries/BTLE/phy/build/GCC/library/libphy/ble_tx_setup.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/board_config.o
...ibraries/BTLE/phy/build/GCC/library/libphy/board_config.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_cmu.o
...sdk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_cmu.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_crypto.o
.../Libraries/BTLE/phy/build/GCC/library/libphy/dbb_crypto.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_event.o
...k/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_event.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_intc.o
...dk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_intc.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_pmu.o
...sdk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_pmu.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_spim.o
...dk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_spim.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/dbb_trx_timers.o
...raries/BTLE/phy/build/GCC/library/libphy/dbb_trx_timers.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/ll_dbg_pin.o
.../Libraries/BTLE/phy/build/GCC/library/libphy/ll_dbg_pin.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/ll_debug.o
...dk/Libraries/BTLE/phy/build/GCC/library/libphy/ll_debug.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_ble.o
...Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_ble.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_crypto.o
...raries/BTLE/phy/build/GCC/library/libphy/llc_api_crypto.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_rx.o
.../Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_rx.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_setup.o
...braries/BTLE/phy/build/GCC/library/libphy/llc_api_setup.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_timer.o
...braries/BTLE/phy/build/GCC/library/libphy/llc_api_timer.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_timestamp.o
...ies/BTLE/phy/build/GCC/library/libphy/llc_api_timestamp.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_tx.o
.../Libraries/BTLE/phy/build/GCC/library/libphy/llc_api_tx.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_int_handlers.o
...ries/BTLE/phy/build/GCC/library/libphy/llc_int_handlers.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_util.o
...dk/Libraries/BTLE/phy/build/GCC/library/libphy/llc_util.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/pan2g_config.o
...ibraries/BTLE/phy/build/GCC/library/libphy/pan2g_config.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/rffe_config.o
...Libraries/BTLE/phy/build/GCC/library/libphy/rffe_config.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy/sequencer_ext.o
...braries/BTLE/phy/build/GCC/library/libphy/sequencer_ext.o
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy_hardfp.a
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy_hardfp.a
+0
-0
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy_softfp.a
lib/sdk/Libraries/BTLE/phy/build/GCC/library/libphy_softfp.a
+0
-0
lib/sdk/Libraries/BTLE/stack/ble-profiles/build/sources_profiles_4.mk
...aries/BTLE/stack/ble-profiles/build/sources_profiles_4.mk
+26
-0
lib/sdk/Libraries/BTLE/stack/ble-profiles/build/sources_profiles_5.mk
...aries/BTLE/stack/ble-profiles/build/sources_profiles_5.mk
+23
-0
lib/sdk/Libraries/BTLE/stack/ble-profiles/build/sources_services.mk
...braries/BTLE/stack/ble-profiles/build/sources_services.mk
+22
-0
lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/apps/wdxs/wdxs_oad.c
...ries/BTLE/stack/ble-profiles/sources/apps/wdxs/wdxs_oad.c
+0
-0
lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/profiles/wdxc/wdxc_api.h
.../BTLE/stack/ble-profiles/sources/profiles/wdxc/wdxc_api.h
+11
-0
lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/profiles/wdxc/wdxc_dc.c
...s/BTLE/stack/ble-profiles/sources/profiles/wdxc/wdxc_dc.c
+62
-0
lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/profiles/wdxc/wdxc_ft.c
...s/BTLE/stack/ble-profiles/sources/profiles/wdxc/wdxc_ft.c
+1
-1
lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/profiles/wdxs/wdxs_ft.c
...s/BTLE/stack/ble-profiles/sources/profiles/wdxs/wdxs_ft.c
+1
-1
lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/profiles/wdxs/wdxs_main.c
...BTLE/stack/ble-profiles/sources/profiles/wdxs/wdxs_main.c
+0
-2
lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/services/svc_wdxs.c
...aries/BTLE/stack/ble-profiles/sources/services/svc_wdxs.c
+6
-1
lib/sdk/Libraries/BTLE/stack/build/GCC/Makefile
lib/sdk/Libraries/BTLE/stack/build/GCC/Makefile
+137
-0
lib/sdk/Libraries/BTLE/stack/build/GCC/library/libstack_hardfp.a
.../Libraries/BTLE/stack/build/GCC/library/libstack_hardfp.a
+0
-0
lib/sdk/Libraries/BTLE/stack/build/GCC/library/libstack_softfp.a
.../Libraries/BTLE/stack/build/GCC/library/libstack_softfp.a
+0
-0
lib/sdk/Libraries/BTLE/stack/build/sources_stack.mk
lib/sdk/Libraries/BTLE/stack/build/sources_stack.mk
+328
-0
lib/sdk/Libraries/BTLE/stack/platform/include/pal_sys.h
lib/sdk/Libraries/BTLE/stack/platform/include/pal_sys.h
+15
-0
lib/sdk/Libraries/BTLE/stack/platform/include/pal_types.h
lib/sdk/Libraries/BTLE/stack/platform/include/pal_types.h
+1
-1
lib/sdk/Libraries/BTLE/stack/platform/max32665/hci_drv_sdma.c
...sdk/Libraries/BTLE/stack/platform/max32665/hci_drv_sdma.c
+193
-11
lib/sdk/Libraries/BTLE/stack/platform/max32665/hci_drv_sdma.h
...sdk/Libraries/BTLE/stack/platform/max32665/hci_drv_sdma.h
+45
-0
lib/sdk/Libraries/BTLE/stack/platform/max32665/hci_vs.c
lib/sdk/Libraries/BTLE/stack/platform/max32665/hci_vs.c
+18
-0
lib/sdk/Libraries/BTLE/stack/platform/max32665/ipc_defs.h
lib/sdk/Libraries/BTLE/stack/platform/max32665/ipc_defs.h
+12
-1
lib/sdk/Libraries/BTLE/stack/platform/max32665/pal_rtc.c
lib/sdk/Libraries/BTLE/stack/platform/max32665/pal_rtc.c
+155
-0
lib/sdk/Libraries/BTLE/stack/platform/max32665/pal_stubs.c
lib/sdk/Libraries/BTLE/stack/platform/max32665/pal_stubs.c
+1
-13
lib/sdk/Libraries/BTLE/stack/platform/max32665/pal_sys.c
lib/sdk/Libraries/BTLE/stack/platform/max32665/pal_sys.c
+238
-0
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma.inc
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma.inc
+4347
-4346
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_adv.inc
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_adv.inc
+3349
-3350
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_adv_code.inc
.../Libraries/BTLE/stack/platform/max32665/sdma_adv_code.inc
+7925
-0
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_adv_data.inc
.../Libraries/BTLE/stack/platform/max32665/sdma_adv_data.inc
+111
-0
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_code.inc
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_code.inc
+11375
-0
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_data.inc
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_data.inc
+199
-0
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_scn.inc
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_scn.inc
+3973
-3974
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_scn_code.inc
.../Libraries/BTLE/stack/platform/max32665/sdma_scn_code.inc
+9705
-0
lib/sdk/Libraries/BTLE/stack/platform/max32665/sdma_scn_data.inc
.../Libraries/BTLE/stack/platform/max32665/sdma_scn_data.inc
+130
-0
lib/sdk/Libraries/BTLE/wsf/build/GCC/Makefile
lib/sdk/Libraries/BTLE/wsf/build/GCC/Makefile
+137
-0
lib/sdk/Libraries/BTLE/wsf/build/GCC/library/libwsf_hardfp.a
lib/sdk/Libraries/BTLE/wsf/build/GCC/library/libwsf_hardfp.a
+0
-0
lib/sdk/Libraries/BTLE/wsf/build/GCC/library/libwsf_softfp.a
lib/sdk/Libraries/BTLE/wsf/build/GCC/library/libwsf_softfp.a
+0
-0
lib/sdk/Libraries/BTLE/wsf/build/sources_wsf.mk
lib/sdk/Libraries/BTLE/wsf/build/sources_wsf.mk
+91
-0
lib/sdk/Libraries/BTLE/wsf/include/wsf_timer.h
lib/sdk/Libraries/BTLE/wsf/include/wsf_timer.h
+1
-1
No files found.
epicardium/ble/ble.c
View file @
659362dd
...
...
@@ -71,12 +71,6 @@ extern void bleFileTransfer_init(void);
extern
void
bleCard10_init
(
void
);
extern
void
BbBleDrvSetTxPower
(
int8_t
power
);
/*************************************************************************************************/
void
PalSysAssertTrap
(
void
)
{
while
(
1
)
{
}
}
/*************************************************************************************************/
static
bool_t
myTrace
(
const
uint8_t
*
pBuf
,
uint32_t
len
)
{
...
...
lib/sdk/Libraries/BTLE/README.txt
0 → 100644
View file @
659362dd
Refer to this site for the Cordio documentation.
https://os.mbed.com/docs/mbed-cordio/19.02/introduction/index.html
lib/sdk/Libraries/BTLE/btle.mk
View file @
659362dd
...
...
@@ -29,7 +29,7 @@
# property whatsoever. Maxim Integrated Products, Inc. retains all
# ownership rights.
#
# $Id: btle.mk
47480 2019-10-08 13:44:2
9Z kevin.gillespie $
# $Id: btle.mk
50302 2019-12-24 15:42:1
9Z kevin.gillespie $
#
################################################################################
...
...
@@ -44,25 +44,52 @@ endif
TARGET_UC
:=
$(
shell
echo
$(TARGET)
|
tr
a-z A-Z
)
TARGET_LC
:=
$(
shell
echo
$(TARGET)
|
tr
A-Z a-z
)
# Specify the library variant.
ifeq
"$(MFLOAT_FLAGS)" "hardfp"
LIBRARY_VARIANT
=
hardfp
else
ifeq
"$(MFLOAT_FLAGS)" "hard"
LIBRARY_VARIANT
=
hardfp
else
LIBRARY_VARIANT
=
softfp
endif
endif
PHY_DIR
:=
${CORDIO_DIR}
/phy
PHY_BUILD_DIR
:=
${PHY_DIR}
/build
PHY_LIB_DIR
:=
${PHY_BUILD_DIR}
/
${COMPILER}
/library
ifeq
"$(LIBRARY_VARIANT)" ""
PHY_LIB
:=
${PHY_LIB_DIR}
/libphy.a
else
PHY_LIB
:=
${PHY_LIB_DIR}
/libphy_
$(LIBRARY_VARIANT)
.a
endif
LINKLAYER_DIR
:=
${CORDIO_DIR}
/link_layer
LINKLAYER_BUILD_DIR
:=
${LINKLAYER_DIR}
/build
LINKLAYER_LIB_DIR
:=
${LINKLAYER_BUILD_DIR}
/
${COMPILER}
/library
ifeq
"$(LIBRARY_VARIANT)" ""
LINKLAYER_LIB
:=
${LINKLAYER_LIB_DIR}
/liblinklayer.a
else
LINKLAYER_LIB
:=
${LINKLAYER_LIB_DIR}
/liblinklayer_
$(LIBRARY_VARIANT)
.a
endif
STACK_DIR
:=
${CORDIO_DIR}
/stack
STACK_BUILD_DIR
:=
${STACK_DIR}
/build
STACK_LIB_DIR
:=
${STACK_BUILD_DIR}
/
${COMPILER}
/library
ifeq
"$(LIBRARY_VARIANT)" ""
STACK_LIB
:=
${STACK_LIB_DIR}
/libstack.a
else
STACK_LIB
:=
${STACK_LIB_DIR}
/libstack_
$(LIBRARY_VARIANT)
.a
endif
WSF_DIR
:=
${CORDIO_DIR}
/wsf
WSF_BUILD_DIR
:=
${WSF_DIR}
/build
WSF_LIB_DIR
:=
${WSF_BUILD_DIR}
/
${COMPILER}
/library
ifeq
"$(LIBRARY_VARIANT)" ""
WSF_LIB
:=
${WSF_LIB_DIR}
/libwsf.a
else
WSF_LIB
:=
${WSF_LIB_DIR}
/libwsf_
$(LIBRARY_VARIANT)
.a
endif
# Add to libraries list
ifeq
($(BTLE_DEFS_ONLY),)
...
...
@@ -72,6 +99,9 @@ LIBS += $(WSF_LIB)
LIBS
+=
$(PHY_LIB)
endif
# Add Cordio include path
IPATH
+=
${CORDIO_DIR}
# Add Link Layer include paths
IPATH
+=
${LINKLAYER_DIR}
/platform/common/include
IPATH
+=
${LINKLAYER_DIR}
/controller/include/ble
...
...
@@ -81,7 +111,9 @@ IPATH += ${LINKLAYER_DIR}/controller/sources/ble/include
# Add Stack include paths
IPATH
+=
${STACK_DIR}
/platform/
$(TARGET_LC)
IPATH
+=
${STACK_DIR}
/platform/include
IPATH
+=
${STACK_DIR}
/ble-host/sources/stack/cfg
IPATH
+=
${STACK_DIR}
/ble-host/sources/stack/dm
IPATH
+=
${STACK_DIR}
/ble-host/include
IPATH
+=
${STACK_DIR}
/ble-host/sources/stack/hci
IPATH
+=
${STACK_DIR}
/ble-host/sources/hci/dual_chip
...
...
@@ -156,21 +188,34 @@ else
PROJ_CFLAGS
+=
-DENABLE_SDMA
=
TRUE
FILTERED_SRCS
+=
hci_drv.c
# Fixed data memory size for all of the images
PROJ_AFLAGS
+=
-D__SDMA_DATA_SIZE
=
0x7BC0
ifeq
($(SDMA_ADV),)
ifeq
($(SDMA_SCN),)
PROJ_AFLAGS
+=
-D__SDMA_SIZE
=
0x2F000
SDMA_CODE_NAME
=
${STACK_DIR}
/platform/
$(TARGET_LC)
/sdma_code.inc
endif
endif
ifneq
($(SDMA_ADV),)
# Adv/Slave only
PROJ_CFLAGS
+=
-DSDMA_ADV
=
TRUE
PROJ_AFLAGS
+=
-D__SDMA_SIZE
=
0x21000
# Adv/Slave only
SDMA_CODE_NAME
=
${STACK_DIR}
/platform/
$(TARGET_LC)
/sdma_adv_code.inc
endif
ifneq
($(SDMA_SCN),)
# Scan/Master only
PROJ_CFLAGS
+=
-DSDMA_SCN
=
TRUE
PROJ_AFLAGS
+=
-D__SDMA_SIZE
=
0x28000
# Scan/Master only
SDMA_CODE_NAME
=
${STACK_DIR}
/platform/
$(TARGET_LC)
/sdma_scn_code.inc
endif
FILESIZE
=
$(
shell
ls
-la
$(SDMA_CODE_NAME)
|
tr
-s
" "
|
cut
-d
" "
-f5
)
# 81 characters per line, 16 bytes per line, round to the upper 16 byte boundary
CODESIZE
=
$$
((
(
$(FILESIZE)
/ 81 + 1
)
*
16
))
PROJ_AFLAGS
+=
-D__SDMA_CODE_SIZE
=
$(CODESIZE)
endif
ifeq
($(BTLE_DEFS_ONLY),)
...
...
@@ -184,6 +229,7 @@ PROJ_CFLAGS+=-DLCTR_CONN_NO_TIFS_REASSEMBLY=1
PROJ_CFLAGS
+=
-DBB_ENABLE_INLINE_ENC_TX
=
1
PROJ_CFLAGS
+=
-DBB_ENABLE_INLINE_DEC_RX
=
1
PROJ_CFLAGS
+=
-DFORCE_PMU_WAKEUP
=
1
PROJ_CFLAGS
+=
-DWDX_FTD_ATT_DEFAULT_PAYLOAD_LEN
=
256
# Build libraries
export
TARGET
...
...
lib/sdk/Libraries/BTLE/link_layer/build/GCC/Makefile
0 → 100644
View file @
659362dd
################################################################################
# Copyright (C) 2018 Maxim Integrated Products, Inc., All Rights Reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
# OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of Maxim Integrated
# Products, Inc. shall not be used except as stated in the Maxim Integrated
# Products, Inc. Branding Policy.
#
# The mere transfer of this software does not imply any licenses
# of trade secrets, proprietary technology, copyrights, patents,
# trademarks, maskwork rights, or any other form of intellectual
# property whatsoever. Maxim Integrated Products, Inc. retains all
# ownership rights.
#
# $Id: Makefile 50443 2020-01-07 21:13:48Z nathan.goldstick $
#
################################################################################
# This is the name of the build output file
PROJECT_NAME
=
liblinklayer
# Specify the project variant.
ifeq
"$(MFLOAT_FLAGS)" "hardfp"
PROJECT_VARIANT
=
hardfp
else
ifeq
"$(MFLOAT_FLAGS)" "hard"
PROJECT_VARIANT
=
hardfp
else
PROJECT_VARIANT
=
softfp
endif
endif
# Use these to specify the project.
ifeq
"$(PROJECT_VARIANT)" ""
PROJECT
=
$(PROJECT_NAME)
else
PROJECT
=
$(PROJECT_NAME)
_
$(PROJECT_VARIANT)
endif
# Specify the target processor
ifeq
"$(TARGET)" ""
TARGET
=
MAX32665
endif
# Select 'GCC' or 'IAR' compiler
COMPILER
=
GCC
# Specify the board used
ifeq
"$(BOARD)" ""
BOARD
=
EvKit_V1
endif
# Create Target name variables
TARGET_UC
:=
$(
shell
echo
$(TARGET)
|
tr
a-z A-Z
)
TARGET_LC
:=
$(
shell
echo
$(TARGET)
|
tr
A-Z a-z
)
# Specify variant specific CFLAGS
ifeq
"$(MFLOAT_FLAGS)" "hardfp"
PROJECT_CFLAGS
+=
-mfloat-abi
=
hardfp
else
ifeq
"$(MFLOAT_FLAGS)" "hard"
PROJECT_CFLAGS
+=
-mfloat-abi
=
hardfp
else
PROJECT_CFLAGS
+=
-mfloat-abi
=
softfp
endif
endif
ifeq
"$(BUILD_DIR)" ""
BUILD_DIR
=
./library
endif
# Strip this library during link stage.
STRIP_LIBRARIES
?=
ifneq
"$(ECLIPSE)" "1"
export
FIXDBGPATHS_MATCH
=
'^\.\./\.\./'
export
FIXDBGPATHS_REPLACE
=
endif
# This is the path to the CMSIS root directory
ifeq
"$(MAXIM_PATH)" ""
LIBS_DIR
=
../../../../../Libraries
NDALIBS_DIR
=
../../../../../NDALibraries
else
LIBS_DIR
=
/
$(
subst
\,
/,
$(
subst
:,,
$(MAXIM_PATH)
)
/Firmware/
$(TARGET_UC)
/Libraries
)
NDALIBS_DIR
=
/
$(
subst
\,
/,
$(
subst
:,,
$(MAXIM_PATH)
)
/Firmware/
$(TARGET_UC)
/NDALibraries
)
endif
CMSIS_ROOT
=
$(LIBS_DIR)
/CMSIS
# Include Cordio BTLE Library
ifeq
"$(CORDIO_DIR)" ""
CORDIO_DIR
=
$(LIBS_DIR)
/BTLE
endif
#--------------------
# Stack CFLAGS configuration
PROJ_CFLAGS
+=
-DINIT_BROADCASTER
PROJ_CFLAGS
+=
-DINIT_OBSERVER
PROJ_CFLAGS
+=
-DINIT_CENTRAL
PROJ_CFLAGS
+=
-DINIT_PERIPHERAL
PROJ_CFLAGS
+=
-DINIT_PHY
PROJ_CFLAGS
+=
-DINIT_ENCRYPTED
# Include BTLE definitions and headers
BTLE_DEFS_ONLY
=
1
include
$(CORDIO_DIR)/btle.mk
# Include sources
include
$(CORDIO_DIR)/link_layer/build/sources_ll.mk
# Map variable names
SRCS
+=
$(LINKLAYER_C_FILES)
VPATH
+=
$(
dir
$(SRCS)
)
IPATH
+=
$(LINKLAYER_INC_DIRS)
# Use absolute paths if building within eclipse environment.
ifeq
"$(ECLIPSE)" "1"
SRCS
=
$(
abspath
$(SRCS)
)
endif
# Only building libraries.
MAKECMDGOALS
=
lib
# Include the rules for building for this target
include
$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/$(COMPILER)/$(TARGET_LC).mk
lib/sdk/Libraries/BTLE/link_layer/build/GCC/library/liblinklayer_hardfp.a
0 → 100644
View file @
659362dd
File added
lib/sdk/Libraries/BTLE/link_layer/build/GCC/library/liblinklayer_softfp.a
0 → 100644
View file @
659362dd
File added
lib/sdk/Libraries/BTLE/link_layer/build/sources_ll.mk
0 → 100644
View file @
659362dd
################################################################################
# Copyright (C) 2018 Maxim Integrated Products, Inc., All Rights Reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
# OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of Maxim Integrated
# Products, Inc. shall not be used except as stated in the Maxim Integrated
# Products, Inc. Branding Policy.
#
# The mere transfer of this software does not imply any licenses
# of trade secrets, proprietary technology, copyrights, patents,
# trademarks, maskwork rights, or any other form of intellectual
# property whatsoever. Maxim Integrated Products, Inc. retains all
# ownership rights.
#
# $Id: sources_ll.mk 48465 2019-11-06 16:55:27Z nathan.goldstick $
#
################################################################################
ifeq
"$(CORDIO_DIR)" ""
$(error
"CORDIO_DIR must be specified"
)
endif
ifeq
"$(MFLOAT_FLAGS)" "hardfp"
LINKLAYER_LIB_VARIANT
=
hardfp
else
ifeq
"$(MFLOAT_FLAGS)" "hard"
LINKLAYER_LIB_VARIANT
=
hardfp
else
LINKLAYER_LIB_VARIANT
=
softfp
endif
endif
LINKLAYER_DIR
:=
${CORDIO_DIR}
/link_layer
LINKLAYER_BUILD_DIR
:=
${LINKLAYER_DIR}
/build
LINKLAYER_LIB_DIR
:=
${LINKLAYER_BUILD_DIR}
/
${COMPILER}
/library
ifeq
"$(LINKLAYER_LIB_VARIANT)" ""
LINKLAYER_LIB
:=
${LINKLAYER_LIB_DIR}
/liblinklayer.a
else
LINKLAYER_LIB
:=
${LINKLAYER_LIB_DIR}
/liblinklayer_
$(LINKLAYER_LIB_VARIANT)
.a
endif
WSF_DIR
:=
${CORDIO_DIR}
/wsf
LINKLAYER_INC_DIRS
+=
\
$(WSF_DIR)
/include
\
$(WSF_DIR)
/include/util
\
$(LINKLAYER_DIR)
\
$(LINKLAYER_DIR)
/platform
\
$(LINKLAYER_DIR)
/platform/max32665
\
$(LINKLAYER_DIR)
/platform/common
\
$(LINKLAYER_DIR)
/platform/common/include
\
$(LINKLAYER_DIR)
/platform/common/sources
\
$(LINKLAYER_DIR)
/platform/common/sources/chci
\
$(LINKLAYER_DIR)
/platform/common/sources/bb
\
$(LINKLAYER_DIR)
/platform/common/sources/bb/ble
\
$(LINKLAYER_DIR)
/platform/common/sources/ll
\
$(LINKLAYER_DIR)
/controller
\
$(LINKLAYER_DIR)
/controller/include
\
$(LINKLAYER_DIR)
/controller/include/common
\
$(LINKLAYER_DIR)
/controller/include/ble
\
$(LINKLAYER_DIR)
/controller/sources
\
$(LINKLAYER_DIR)
/controller/sources/common
\
$(LINKLAYER_DIR)
/controller/sources/common/bb
\
$(LINKLAYER_DIR)
/controller/sources/common/sch
\
$(LINKLAYER_DIR)
/controller/sources/ble
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci
\
$(LINKLAYER_DIR)
/controller/sources/ble/init
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb
\
$(LINKLAYER_DIR)
/controller/sources/ble/sch
\
$(LINKLAYER_DIR)
/controller/sources/ble/include
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr
\
$(LINKLAYER_DIR)
/thirdparty
\
$(LINKLAYER_DIR)
/thirdparty/uecc
LINKLAYER_H_FILES
+=
$(
shell
find
$(LINKLAYER_INC_DIRS)
-name
'*.h'
)
LINKLAYER_C_FILES
+=
\
$(LINKLAYER_DIR)
/platform/max32665/chci_drv.c
\
$(LINKLAYER_DIR)
/platform/max32665/ll_tester.c
\
$(LINKLAYER_DIR)
/platform/max32665/lhci_vs.c
\
$(LINKLAYER_DIR)
/platform/max32665/ll_math_aes.c
\
$(LINKLAYER_DIR)
/platform/common/sources/chci/chci_tr_serial.c
\
$(LINKLAYER_DIR)
/platform/common/sources/chci/chci_tr.c
\
$(LINKLAYER_DIR)
/platform/common/sources/bb/ble/bb_ble_pdufilt.c
\
$(LINKLAYER_DIR)
/platform/common/sources/bb/ble/bb_ble_reslist.c
\
$(LINKLAYER_DIR)
/platform/common/sources/bb/ble/bb_ble_whitelist.c
\
$(LINKLAYER_DIR)
/platform/common/sources/bb/ble/bb_ble_periodiclist.c
\
$(LINKLAYER_DIR)
/platform/common/sources/ll/ll_math_ecc.c
\
$(LINKLAYER_DIR)
/platform/common/sources/ll/lhci_cmd_vs_ext.c
\
$(LINKLAYER_DIR)
/controller/sources/common/bb/bb_main.c
\
$(LINKLAYER_DIR)
/controller/sources/common/sch/sch_main.c
\
$(LINKLAYER_DIR)
/controller/sources/common/sch/sch_list.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_vs.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_adv_priv.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_enc_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_main.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_adv_priv.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_conn_cs2.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_conn_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_sc.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_enc_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_conn_priv.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_enc_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_conn_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_conn_cs2.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_enc_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_sc.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_enc_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_conn_priv.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_sc.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_enc_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_cmd_conn_priv.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_init_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lhci/lhci_evt_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb/bb_ble_main.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb/bb_ble_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb/bb_ble_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb/bb_ble_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb/bb_ble_conn_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb/bb_ble_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb/bb_ble_test.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb/bb_ble_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/bb/bb_ble_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/sch/sch_ble.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/sch/sch_rm.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_conn_cs2.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_sc.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_sc.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_master_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_conn_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_priv.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_conn_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_conn_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_init_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_dtm.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_priv.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_enc_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_diag.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_slave_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_enc_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_math.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_enc_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_main_enc_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/ll/ll_init_init_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr/lmgr_main_priv.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr/lmgr_main_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr/lmgr_main_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr/lmgr_main.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr/lmgr_events.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr/lmgr_main_sc.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr/lmgr_main_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr/lmgr_main_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lmgr/lmgr_main_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_conn_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_conn_cs2.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_isr_init_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_isr_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_isr_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_pdu_enc.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_pdu_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_enc_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_conn_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_priv.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_isr_init_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_slave_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_conn_data.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_llcp_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_pdu_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_isr_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_pdu_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_init_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_init_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_enc_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_llcp_master_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_llcp_slave_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_init_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_adv_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_conn_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_init_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_llcp_conn.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_llcp_conn_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_init_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_adv_master_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_isr_adv_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_isr_conn_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_master_phy.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_llcp_enc_slave.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_enc_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_isr_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_enc.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_init_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_conn_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_main_sc.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_isr_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_pdu_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_sm_llcp_enc_master.c
\
$(LINKLAYER_DIR)
/controller/sources/ble/lctr/lctr_act_adv_slave_ae.c
\
$(LINKLAYER_DIR)
/thirdparty/uecc/uECC_ll.c
lib/sdk/Libraries/BTLE/link_layer/controller/include/ble/ll_api.h
View file @
659362dd
...
...
@@ -25,6 +25,7 @@
* - INIT_OBSERVER
* - INIT_PERIPHERAL
* - INIT_CENTRAL
* - INIT_PHY
* - INIT_ENCRYPTED
*
* \note Each feature may require additional \ref LlRtCfg_t requirements.
...
...
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/init/init.c
View file @
659362dd
...
...
@@ -101,6 +101,9 @@ void LlInitLlInit(bool_t initHandler)
#else
LlConnMasterInit
();
#endif
#ifdef INIT_PHY
LlPhyMasterInit
();
#endif
#else
#ifdef INIT_OBSERVER
LlScanMasterInit
();
...
...
@@ -114,6 +117,9 @@ void LlInitLlInit(bool_t initHandler)
#else
LlConnSlaveInit
();
#endif
#ifdef INIT_PHY
LlPhySlaveInit
();
#endif
#else
#ifdef INIT_BROADCASTER
LlAdvSlaveInit
();
...
...
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/init/init_ctr.c
View file @
659362dd
...
...
@@ -80,6 +80,12 @@ void LlInitLhciInit(void)
LhciScInit
();
#endif
#if defined(INIT_PERIPHERAL) || defined(INIT_CENTRAL)
#ifdef INIT_PHY
LhciPhyInit
();
#endif
#endif