Skip to content

Commit

Permalink
!10 Fix: 修改gcc 链接脚本,适配96kram
Browse files Browse the repository at this point in the history
Merge pull request !10 from ChenxuLu/fix
  • Loading branch information
Dozingfiretruck authored and gitee-org committed Nov 7, 2023
2 parents db385a0 + ac1425d commit c10eaeb
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 c10eaeb

Please sign in to comment.