summaryrefslogtreecommitdiff
path: root/doc/MemoryAnalysis.md
diff options
context:
space:
mode:
authorEnno Boland <g@s01.de>2020-10-19 21:26:13 +0200
committerGitHub <noreply@github.com>2020-10-19 21:26:13 +0200
commite5efd0514a25192464726da112cc8a352866efa6 (patch)
tree2da9b5c7f61f187e7a47642bd87b3243f6283adf /doc/MemoryAnalysis.md
parent3c5fd5ca8b547cd92a2f8093249a8380483199ff (diff)
Update MemoryAnalysis.md
typo fix: aray -> array
Diffstat (limited to 'doc/MemoryAnalysis.md')
-rw-r--r--doc/MemoryAnalysis.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/MemoryAnalysis.md b/doc/MemoryAnalysis.md
index 1bf6e24d..95bd611c 100644
--- a/doc/MemoryAnalysis.md
+++ b/doc/MemoryAnalysis.md
@@ -1,6 +1,6 @@
# Memory analysis
## FreeRTOS heap and task stack
-FreeRTOS statically allocate its own heap buffer in a global variable named `ucHeap`. This is an aray of *uint8_t*. Its size is specified by the definition `configTOTAL_HEAP_SIZE` in *FreeRTOSConfig.h*
+FreeRTOS statically allocate its own heap buffer in a global variable named `ucHeap`. This is an array of *uint8_t*. Its size is specified by the definition `configTOTAL_HEAP_SIZE` in *FreeRTOSConfig.h*
FreeRTOS uses this buffer to allocate memory for tasks stack and all the RTOS object created during runtime (timers, mutexes,...).
The function `xPortGetFreeHeapSize()` returns the amount of memory available in this *ucHeap* buffer. If this value reaches 0, FreeRTOS runs out of memory.
@@ -75,4 +75,4 @@ add_definitions(-D__STACK_SIZE=8192)
*TODO*
#Tools
- - https://github.com/eliotstock/memory : display the memory usage (FLASH/RAM) using the .map file from GCC. \ No newline at end of file
+ - https://github.com/eliotstock/memory : display the memory usage (FLASH/RAM) using the .map file from GCC.