Merge pull request #239 from jeremypoulter/memory_usage_config

Allow the task stack sizes to be configured
This commit is contained in:
hathach authored and GitHub committed 2019-03-11 20:32:00 -07:00
commit 8cba1aae52
2 files changed
+22 -1

No files matched your search

+9
View File
@@ -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"{
+13 -1
View File
@@ -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;