We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d624467 commit 8b196dfCopy full SHA for 8b196df
src/FreeRTOSConfig_Default.h
@@ -99,7 +99,7 @@ extern char _Min_Stack_Size; /* Defined in the linker script */
99
#define configMINIMAL_STACK_SIZE ((uint16_t)((uint32_t)&_Min_Stack_Size/8))
100
#endif
101
#ifndef configTOTAL_HEAP_SIZE
102
-#define configTOTAL_HEAP_SIZE ((size_t)(&_estack - _Min_Stack_Size - &_end))
+#define configTOTAL_HEAP_SIZE ((size_t)((uint32_t)&_estack - (uint32_t)&_Min_Stack_Size - (uint32_t)&_end))
103
104
#ifndef configISR_STACK_SIZE_WORDS
105
#define configISR_STACK_SIZE_WORDS ((uint32_t)&_Min_Stack_Size/4)
0 commit comments