Skip to content

Commit f3e284b

Browse files
authored
Minor fix in ch02.md and ch03.md (#92)
* Minor fix in ch02.md * Fixed ref in Listing 3.4 and wrong info in 3.3.1
1 parent 2c9ffe9 commit f3e284b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

ch02.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ FreeRTOS
341341
├─[Demo z] Contains the project file that builds demo 'z'
342342
└─Common Contains files that are built by all the demo applications
343343
```
344-
*Figure 2.4 The demo directory hierarchy*
344+
***Figure 2.4*** *The demo directory hierarchy*
345345
* * *
346346

347347

ch03.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ linker consumes all of RAM1, as shown in Figure 3.4 **C**.
508508
#define RAM1_HEAP_SIZE ( 30 * 1024 )
509509
static uint8_t ucHeap[ RAM1_HEAP_SIZE ];
510510
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
512512
first entry described all of RAM1, so heap_5 will have used all of
513513
RAM1, this time the first entry only describes the ucHeap array, so
514514
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
556556
heap\_n.c source file. Declaring the array in the application code
557557
enables the application writer to specify its start address.
558558

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.
563562

564563
The syntax required to place a variable at a specific memory address is
565564
dependent on the compiler in use, so refer to your compiler's

0 commit comments

Comments
 (0)