Skip to content

Commit

Permalink
Merge pull request #7909 from KariHaapalehto/f411re_iar
Browse files Browse the repository at this point in the history
Adjust STMF411xE IAR linker file to mbed-os memory needs.
  • Loading branch information
Cruz Monrreal authored Sep 12, 2018
2 parents 920db63 + 86f966f commit 8d9e2e5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]
define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];

/* Stack and Heap */
/*Heap 1/4 of ram and stack 1/8*/
define symbol __size_cstack__ = 0x4000;
define symbol __size_heap__ = 0x8000;
/*Heap 84kB and stack 1kB */
define symbol __size_cstack__ = 0x400;
define symbol __size_heap__ = 0x15000;
define block CSTACK with alignment = 8, size = __size_cstack__ { };
define block HEAP with alignment = 8, size = __size_heap__ { };
define block STACKHEAP with fixed order { block HEAP, block CSTACK };
Expand Down

0 comments on commit 8d9e2e5

Please sign in to comment.