@@ -508,7 +508,7 @@ linker consumes all of RAM1, as shown in Figure 3.4 **C**.
508
508
#define RAM1_HEAP_SIZE ( 30 * 1024 )
509
509
static uint8_t ucHeap[ RAM1_HEAP_SIZE ];
510
510
511
- /* Create an array of HeapRegion_t definitions. Whereas in Listing 3.5 the
511
+ /* Create an array of HeapRegion_t definitions. Whereas in Listing 3.3 the
512
512
first entry described all of RAM1, so heap_5 will have used all of
513
513
RAM1, this time the first entry only describes the ucHeap array, so
514
514
heap_5 will only use the part of RAM1 that contains the ucHeap array.
@@ -556,10 +556,9 @@ the array in place of the declaration that would otherwise be in the
556
556
heap\_ n.c source file. Declaring the array in the application code
557
557
enables the application writer to specify its start address.
558
558
559
- If ` configAPPLICATION_ALLOCATED_HEAP ` is set to 1 in FreeRTOSConfig.h, or
560
- left undefined, the application that uses FreeRTOS must allocate a
561
- ` uint8_t ` array called ` ucHeap ` and dimensioned by the ` configTOTAL_HEAP_SIZE `
562
- constant.
559
+ If ` configAPPLICATION_ALLOCATED_HEAP ` is set to 1 in FreeRTOSConfig.h,
560
+ the application that uses FreeRTOS must allocate a ` uint8_t ` array
561
+ called ` ucHeap ` and dimensioned by the ` configTOTAL_HEAP_SIZE ` constant.
563
562
564
563
The syntax required to place a variable at a specific memory address is
565
564
dependent on the compiler in use, so refer to your compiler's
0 commit comments