From d7837b3e0cf3ddf3131ae2223e00987a216ec889 Mon Sep 17 00:00:00 2001 From: Martin Loren <37680207+martinloren@users.noreply.github.com> Date: Thu, 16 Dec 2021 11:55:49 +0800 Subject: [PATCH] Extended SRAM --- .../Source/Templates/gcc/linker/AT32F403AxC_FLASH.ld | 2 +- .../Source/Templates/gcc/linker/AT32F403AxE_FLASH.ld | 2 +- .../Source/Templates/gcc/linker/AT32F403AxG_FLASH.ld | 2 +- .../packages/tool-ldscripts-at32/at32f40/AT32F403ACG_DEFAULT.ld | 2 +- .../packages/tool-ldscripts-at32/at32f40/AT32F403AxC_FLASH.ld | 2 +- .../packages/tool-ldscripts-at32/at32f40/AT32F403AxE_FLASH.ld | 2 +- .../packages/tool-ldscripts-at32/at32f40/AT32F403AxG_FLASH.ld | 2 +- .platformio/platforms/at32/ldscripts/AT32F403AxC_FLASH.ld | 2 +- .platformio/platforms/at32/ldscripts/AT32F403AxE_FLASH.ld | 2 +- .platformio/platforms/at32/ldscripts/AT32F403AxG_FLASH.ld | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxC_FLASH.ld b/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxC_FLASH.ld index 6c5f76d..f409fe5 100644 --- a/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxC_FLASH.ld +++ b/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxC_FLASH.ld @@ -32,7 +32,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K +RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K } /* Define output sections */ diff --git a/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxE_FLASH.ld b/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxE_FLASH.ld index f2ab8b5..c68b2bd 100644 --- a/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxE_FLASH.ld +++ b/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxE_FLASH.ld @@ -32,7 +32,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K +RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K } /* Define output sections */ diff --git a/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxG_FLASH.ld b/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxG_FLASH.ld index 953604a..9640684 100644 --- a/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxG_FLASH.ld +++ b/.platformio/packages/framework-cmsis-at32f40/Source/Templates/gcc/linker/AT32F403AxG_FLASH.ld @@ -32,7 +32,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1000K -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K +RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K } /* Define output sections */ diff --git a/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403ACG_DEFAULT.ld b/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403ACG_DEFAULT.ld index 6409327..1fd0c47 100644 --- a/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403ACG_DEFAULT.ld +++ b/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403ACG_DEFAULT.ld @@ -36,7 +36,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ /* Memories definition */ MEMORY { - RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 256K } diff --git a/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxC_FLASH.ld b/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxC_FLASH.ld index 6c5f76d..f409fe5 100644 --- a/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxC_FLASH.ld +++ b/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxC_FLASH.ld @@ -32,7 +32,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K +RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K } /* Define output sections */ diff --git a/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxE_FLASH.ld b/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxE_FLASH.ld index f2ab8b5..c68b2bd 100644 --- a/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxE_FLASH.ld +++ b/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxE_FLASH.ld @@ -32,7 +32,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K +RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K } /* Define output sections */ diff --git a/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxG_FLASH.ld b/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxG_FLASH.ld index 953604a..9640684 100644 --- a/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxG_FLASH.ld +++ b/.platformio/packages/tool-ldscripts-at32/at32f40/AT32F403AxG_FLASH.ld @@ -32,7 +32,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1000K -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K +RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K } /* Define output sections */ diff --git a/.platformio/platforms/at32/ldscripts/AT32F403AxC_FLASH.ld b/.platformio/platforms/at32/ldscripts/AT32F403AxC_FLASH.ld index 6c5f76d..f409fe5 100644 --- a/.platformio/platforms/at32/ldscripts/AT32F403AxC_FLASH.ld +++ b/.platformio/platforms/at32/ldscripts/AT32F403AxC_FLASH.ld @@ -32,7 +32,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K +RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K } /* Define output sections */ diff --git a/.platformio/platforms/at32/ldscripts/AT32F403AxE_FLASH.ld b/.platformio/platforms/at32/ldscripts/AT32F403AxE_FLASH.ld index f2ab8b5..c68b2bd 100644 --- a/.platformio/platforms/at32/ldscripts/AT32F403AxE_FLASH.ld +++ b/.platformio/platforms/at32/ldscripts/AT32F403AxE_FLASH.ld @@ -32,7 +32,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K +RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K } /* Define output sections */ diff --git a/.platformio/platforms/at32/ldscripts/AT32F403AxG_FLASH.ld b/.platformio/platforms/at32/ldscripts/AT32F403AxG_FLASH.ld index 953604a..9640684 100644 --- a/.platformio/platforms/at32/ldscripts/AT32F403AxG_FLASH.ld +++ b/.platformio/platforms/at32/ldscripts/AT32F403AxG_FLASH.ld @@ -32,7 +32,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1000K -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K +RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 224K } /* Define output sections */