summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>2021-07-07 13:14:40 -0700
committerGitHub <noreply@github.com>2021-07-07 13:14:40 -0700
commitbec88bfe411eb4373fef0b3573997a370fdb745e (patch)
tree7a296db05af13e348bba7b7d35f1241074ffe66c
parent6ef5c92233e073bfd902b912e0f2fce64aba4ae4 (diff)
downloadfreertos-git-bec88bfe411eb4373fef0b3573997a370fdb745e.tar.gz
Update the size of privileged data section (#639)
This is needed because FreeRTOS heap is now placed in the privileged data section. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
-rw-r--r--FreeRTOS/Demo/CORTEX_MPU_M3_NUCLEO_L152RE_GCC/Projects/GCC/STM32L152RETX_FLASH.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Demo/CORTEX_MPU_M3_NUCLEO_L152RE_GCC/Projects/GCC/STM32L152RETX_FLASH.ld b/FreeRTOS/Demo/CORTEX_MPU_M3_NUCLEO_L152RE_GCC/Projects/GCC/STM32L152RETX_FLASH.ld
index 027e2934a..cf1290573 100644
--- a/FreeRTOS/Demo/CORTEX_MPU_M3_NUCLEO_L152RE_GCC/Projects/GCC/STM32L152RETX_FLASH.ld
+++ b/FreeRTOS/Demo/CORTEX_MPU_M3_NUCLEO_L152RE_GCC/Projects/GCC/STM32L152RETX_FLASH.ld
@@ -72,7 +72,7 @@ MEMORY
/* Initial 32K Flash is used to store kernel functions and
* initial 512 bytes of RAM is used to store kernel data. */
__privileged_functions_region_size__ = 32K;
-__privileged_data_region_size__ = 512;
+__privileged_data_region_size__ = 32K;
__FLASH_segment_start__ = ORIGIN( FLASH );
__FLASH_segment_end__ = __FLASH_segment_start__ + LENGTH( FLASH );