|
|
@@ -18,6 +18,62 @@
|
|
|
#ifndef DYN_MEM_H
|
|
|
#define DYN_MEM_H
|
|
|
|
|
|
+#include "sdkconfig.h"
|
|
|
+#if CONFIG_CLASSIC_BT_ENABLED
|
|
|
+
|
|
|
+#define SDP_DYNAMIC_MEMORY FALSE
|
|
|
+#define RFC_DYNAMIC_MEMORY FALSE
|
|
|
+#define TCS_DYNAMIC_MEMORY FALSE
|
|
|
+#define BNEP_DYNAMIC_MEMORY FALSE
|
|
|
+#define AVDT_DYNAMIC_MEMORY FALSE
|
|
|
+#define AVCT_DYNAMIC_MEMORY FALSE
|
|
|
+#define MCA_DYNAMIC_MEMORY FALSE
|
|
|
+#define A2D_DYNAMIC_MEMORY FALSE
|
|
|
+#define VDP_DYNAMIC_MEMORY FALSE
|
|
|
+#define AVRC_DYNAMIC_MEMORY FALSE
|
|
|
+#define BIP_DYNAMIC_MEMORY FALSE
|
|
|
+#define BPP_DYNAMIC_MEMORY FALSE
|
|
|
+#define CTP_DYNAMIC_MEMORY FALSE
|
|
|
+#define FTP_DYNAMIC_MEMORY FALSE
|
|
|
+#define HCRP_DYNAMIC_MEMORY FALSE
|
|
|
+#define HFP_DYNAMIC_MEMORY FALSE
|
|
|
+#define HID_DYNAMIC_MEMORY FALSE
|
|
|
+#define HSP2_DYNAMIC_MEMORY FALSE
|
|
|
+#define ICP_DYNAMIC_MEMORY FALSE
|
|
|
+#define OPP_DYNAMIC_MEMORY FALSE
|
|
|
+#define PAN_DYNAMIC_MEMORY FALSE
|
|
|
+#define SPP_DYNAMIC_MEMORY FALSE
|
|
|
+#define SLIP_DYNAMIC_MEMORY FALSE
|
|
|
+#define LLCP_DYNAMIC_MEMORY FALSE
|
|
|
+
|
|
|
+#else /* #if CONFIG_CLASSIC_BT_ENABLED */
|
|
|
+
|
|
|
+#define SDP_DYNAMIC_MEMORY TRUE
|
|
|
+#define RFC_DYNAMIC_MEMORY TRUE
|
|
|
+#define TCS_DYNAMIC_MEMORY TRUE
|
|
|
+#define BNEP_DYNAMIC_MEMORY TRUE
|
|
|
+#define AVDT_DYNAMIC_MEMORY TRUE
|
|
|
+#define AVCT_DYNAMIC_MEMORY TRUE
|
|
|
+#define MCA_DYNAMIC_MEMORY TRUE
|
|
|
+#define A2D_DYNAMIC_MEMORY TRUE
|
|
|
+#define VDP_DYNAMIC_MEMORY TRUE
|
|
|
+#define AVRC_DYNAMIC_MEMORY TRUE
|
|
|
+#define BIP_DYNAMIC_MEMORY TRUE
|
|
|
+#define BPP_DYNAMIC_MEMORY TRUE
|
|
|
+#define CTP_DYNAMIC_MEMORY TRUE
|
|
|
+#define FTP_DYNAMIC_MEMORY TRUE
|
|
|
+#define HCRP_DYNAMIC_MEMORY TRUE
|
|
|
+#define HFP_DYNAMIC_MEMORY TRUE
|
|
|
+#define HID_DYNAMIC_MEMORY TRUE
|
|
|
+#define HSP2_DYNAMIC_MEMORY TRUE
|
|
|
+#define ICP_DYNAMIC_MEMORY TRUE
|
|
|
+#define OPP_DYNAMIC_MEMORY TRUE
|
|
|
+#define PAN_DYNAMIC_MEMORY TRUE
|
|
|
+#define SPP_DYNAMIC_MEMORY TRUE
|
|
|
+#define SLIP_DYNAMIC_MEMORY TRUE
|
|
|
+#define LLCP_DYNAMIC_MEMORY TRUE
|
|
|
+
|
|
|
+#endif /* #if CONFIG_CLASSIC_BT_ENABLED */
|
|
|
/****************************************************************************
|
|
|
** Define memory usage for each CORE component (if not defined in bdroid_buildcfg.h)
|
|
|
** The default for each component is to use static memory allocations.
|