chore: sdk compiles almost w/o warnings?
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
diff --git a/portable/MemMang/heap_5.c b/portable/MemMang/heap_5.c
|
||||
index 4e872f6..eae4f2f 100644
|
||||
index 4e872f6..4ab72d2 100644
|
||||
--- a/portable/MemMang/heap_5.c
|
||||
+++ b/portable/MemMang/heap_5.c
|
||||
@@ -78,6 +78,12 @@
|
||||
@@ -95,10 +95,10 @@ index 4e872f6..eae4f2f 100644
|
||||
+ xHeapRegions[0].xSizeInBytes = (uint32_t)((uint8_t*)0x10005000 - (uint8_t*)boot_export_symbol.boot_ram_end);
|
||||
+ xHeapRegions[0].pucStartAddress = (uint8_t*)boot_export_symbol.boot_ram_end;
|
||||
+
|
||||
+ if(!IsRDPenabled()) {
|
||||
+ xHeapRegions[2].xSizeInBytes = 0x1000;
|
||||
+ xHeapRegions[2].pucStartAddress = (uint8_t*)0x1003f000;
|
||||
+ }
|
||||
+ // if(!IsRDPenabled()) {
|
||||
+ // xHeapRegions[2].xSizeInBytes = 0x1000;
|
||||
+ // xHeapRegions[2].pucStartAddress = (uint8_t*)0x1003f000;
|
||||
+ // }
|
||||
+
|
||||
+ vPortDefineHeapRegions(xHeapRegions);
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user