Merge branch 'bugfix/btdm_config_but_task_size_fail_v4.0' into 'release/v4.0'
Bugfix/btdm config but task size fail v4.0 See merge request espressif/esp-idf!5962
This commit is contained in:
commit
f9453ef93d
|
@ -19,6 +19,16 @@
|
||||||
#include "bt_common.h"
|
#include "bt_common.h"
|
||||||
#include "bt_user_config.h"
|
#include "bt_user_config.h"
|
||||||
|
|
||||||
|
/**********************************************************
|
||||||
|
* Thread/Task reference
|
||||||
|
**********************************************************/
|
||||||
|
#ifdef CONFIG_BTU_TASK_STACK_SIZE
|
||||||
|
#define UC_BTU_TASK_STACK_SIZE CONFIG_BTU_TASK_STACK_SIZE
|
||||||
|
#else
|
||||||
|
#define UC_BTU_TASK_STACK_SIZE 4096
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************
|
/**********************************************************
|
||||||
* Profile reference
|
* Profile reference
|
||||||
**********************************************************/
|
**********************************************************/
|
||||||
|
|
|
@ -41,6 +41,10 @@
|
||||||
|
|
||||||
#include "stack/dyn_mem.h" /* defines static and/or dynamic memory for components */
|
#include "stack/dyn_mem.h" /* defines static and/or dynamic memory for components */
|
||||||
|
|
||||||
|
|
||||||
|
/* OS Configuration from User config (eg: sdkconfig) */
|
||||||
|
#define BT_BTU_TASK_STACK_SIZE UC_BTU_TASK_STACK_SIZE
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
**
|
**
|
||||||
** Classic BT features
|
** Classic BT features
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BTU_TASK_PINNED_TO_CORE (TASK_PINNED_TO_CORE)
|
#define BTU_TASK_PINNED_TO_CORE (TASK_PINNED_TO_CORE)
|
||||||
#define BTU_TASK_STACK_SIZE (4096 + BT_TASK_EXTRA_STACK_SIZE)
|
#define BTU_TASK_STACK_SIZE (BT_BTU_TASK_STACK_SIZE + BT_TASK_EXTRA_STACK_SIZE)
|
||||||
#define BTU_TASK_PRIO (BT_TASK_MAX_PRIORITIES - 5)
|
#define BTU_TASK_PRIO (BT_TASK_MAX_PRIORITIES - 5)
|
||||||
#define BTU_TASK_NAME "btuT"
|
#define BTU_TASK_NAME "btuT"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue