Allow the task stack sizes to be configured
This commit is contained in:
1 parent
f42cf4b60b
commit
82cd7e87f0
2 files changed
+22
-1
No files matched your search
@@ -38,9 +38,18 @@
|
||||
|
||||
#include "common_inc.h"
|
||||
|
||||
#ifndef CFG_CALLBACK_TASK_STACKSIZE
|
||||
#define CFG_CALLBACK_TASK_STACKSIZE (512*2)
|
||||
#endif
|
||||
|
||||
#ifndef CFG_CALLBACK_QUEUE_LENGTH
|
||||
#define CFG_CALLBACK_QUEUE_LENGTH 20
|
||||
#endif
|
||||
|
||||
#ifndef CFG_CALLBACK_TIMEOUT
|
||||
#define CFG_CALLBACK_TIMEOUT 100
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
|
||||
@@ -42,11 +42,23 @@
|
||||
#include "usb/usb.h"
|
||||
#endif
|
||||
|
||||
#ifndef CFG_BLE_TX_POWER_LEVEL
|
||||
#define CFG_BLE_TX_POWER_LEVEL 0
|
||||
#define CFG_DEFAULT_NAME "Bluefruit52"
|
||||
#endif
|
||||
|
||||
#ifndef CFG_DEFAULT_NAME
|
||||
#define CFG_DEFAULT_NAME "Bluefruit52"
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef CFG_BLE_TASK_STACKSIZE
|
||||
#define CFG_BLE_TASK_STACKSIZE (512*3)
|
||||
#endif
|
||||
|
||||
#ifndef CFG_SOC_TASK_STACKSIZE
|
||||
#define CFG_SOC_TASK_STACKSIZE (200)
|
||||
#endif
|
||||
|
||||
|
||||
AdafruitBluefruit Bluefruit;
|
||||
|
||||
|
||||
Reference in new issue
Block a user