Skip to content

Commit 562cd84

Browse files
Change SRAM mapping and increase SRAM allocated to ARC core
-increase SRAM to 40K -change SRAM start address -increase heap size to 16K -this change is needed for BLE scan for SensorTag
1 parent 74d496f commit 562cd84

File tree

1 file changed

+2
-2
lines changed
  • variants/arduino_101/linker_scripts

1 file changed

+2
-2
lines changed

variants/arduino_101/linker_scripts/flash.ld

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ OUTPUT_FORMAT("elf32-littlearc", "elf32-bigarc", "elf32-littlearc")
4040
MEMORY
4141
{
4242
FLASH (rx) : ORIGIN = 0x40034000, LENGTH = 152K
43-
SRAM (wx) : ORIGIN = 0xa800e000, LENGTH = 24K
43+
SRAM (wx) : ORIGIN = 0xa800a000, LENGTH = 40K
4444
DCCM (wx) : ORIGIN = 0x80000000, LENGTH = 8K
4545
}
4646

@@ -52,7 +52,7 @@ __firq_stack_size = 1024;
5252

5353
/* Minimum heap size to allocate
5454
* Actual heap size might be bigger due to page size alignment */
55-
__HEAP_SIZE_MIN = 8192;
55+
__HEAP_SIZE_MIN = 16384;
5656
/* This should be set to the page size used by the malloc implementation */
5757
__PAGE_SIZE = 4096;
5858

0 commit comments

Comments
 (0)