Commit a1be51e
Merge #53
53: Change usage example for statically allocated heap r=adamgreig a=nviennot
The linker needs to know how big the heap is, otherwise, it could place some of the global variables in the heap region.
This commit changes the example code to do that.
Co-authored-by: Nicolas Viennot <nicolas@viennot.biz>1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
0 commit comments