Skip to content

Commit

Permalink
Fix gcc linker file
Browse files Browse the repository at this point in the history
  • Loading branch information
luchenxu73 committed Sep 7, 2023
1 parent 1ff34ae commit ac1425d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/STARTUP/gcc/linker/AIR32F103XB_FLASH.ld
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
ENTRY(Reset_Handler)

/* Highest address of the user mode stack */
_estack = 0x20004FFF; /* end of RAM */
_estack = ORIGIN(RAM) + LENGTH(RAM); /* end of RAM */

/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x200; /* required amount of heap */
Expand Down

0 comments on commit ac1425d

Please sign in to comment.