mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-01 18:36:15 +08:00
Merge pull request #2212 from cesanta/lwipstack
set a more lwIP-friendly minimum stack in FreeRTOS
This commit is contained in:
commit
62d1dc1eea
@ -51,7 +51,7 @@ extern uint32_t SystemCoreClock;
|
|||||||
#define configCPU_CLOCK_HZ (SystemCoreClock)
|
#define configCPU_CLOCK_HZ (SystemCoreClock)
|
||||||
#define configTICK_RATE_HZ ((TickType_t)1000)
|
#define configTICK_RATE_HZ ((TickType_t)1000)
|
||||||
#define configTOTAL_HEAP_SIZE ((size_t)1024 * 128)
|
#define configTOTAL_HEAP_SIZE ((size_t)1024 * 128)
|
||||||
#define configMINIMAL_STACK_SIZE ((uint16_t)128)
|
#define configMINIMAL_STACK_SIZE ((uint16_t)256)
|
||||||
#define configSUPPORT_DYNAMIC_ALLOCATION 1
|
#define configSUPPORT_DYNAMIC_ALLOCATION 1
|
||||||
#define configSUPPORT_STATIC_ALLOCATION 0
|
#define configSUPPORT_STATIC_ALLOCATION 0
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
// <o>Minimal stack size [words] <0-65535>
|
// <o>Minimal stack size [words] <0-65535>
|
||||||
// <i> Stack for idle task and default task stack in words.
|
// <i> Stack for idle task and default task stack in words.
|
||||||
// <i> Default: 128
|
// <i> Default: 128
|
||||||
#define configMINIMAL_STACK_SIZE ((uint16_t)(128))
|
#define configMINIMAL_STACK_SIZE ((uint16_t)(256))
|
||||||
|
|
||||||
// <o>Total heap size [bytes] <0-0xFFFFFFFF>
|
// <o>Total heap size [bytes] <0-0xFFFFFFFF>
|
||||||
// <i> Heap memory size in bytes.
|
// <i> Heap memory size in bytes.
|
||||||
|
Loading…
Reference in New Issue
Block a user