Fix F7 link output
This commit is contained in:
parent
f1bf914404
commit
b4bcf6fd96
|
@ -155,7 +155,7 @@ void systemInit(void)
|
||||||
//SystemClock_Config();
|
//SystemClock_Config();
|
||||||
|
|
||||||
// Configure NVIC preempt/priority groups
|
// Configure NVIC preempt/priority groups
|
||||||
//NVIC_PriorityGroupConfig(NVIC_PRIORITY_GROUPING);
|
HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITY_GROUPING);
|
||||||
|
|
||||||
// cache RCC->CSR value to use it in isMPUSoftreset() and others
|
// cache RCC->CSR value to use it in isMPUSoftreset() and others
|
||||||
cachedRccCsrValue = RCC->CSR;
|
cachedRccCsrValue = RCC->CSR;
|
||||||
|
|
|
@ -15,12 +15,14 @@ ENTRY(Reset_Handler)
|
||||||
/* Specify the memory areas */
|
/* Specify the memory areas */
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1008K
|
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 768K
|
||||||
FLASH_CONFIG (r) : ORIGIN = 0x080FC000, LENGTH = 16K
|
FLASH_CONFIG (r) : ORIGIN = 0x080C0000, LENGTH = 256K
|
||||||
|
|
||||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 320K
|
TCM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
|
||||||
|
RAM (rwx) : ORIGIN = 0x20010000, LENGTH = 256K
|
||||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||||
}
|
}
|
||||||
/* note CCM could be used for stack */
|
/* note CCM could be used for stack */
|
||||||
|
REGION_ALIAS("STACKRAM", TCM)
|
||||||
|
|
||||||
INCLUDE "stm32_flash.ld"
|
INCLUDE "stm32_flash.ld"
|
||||||
|
|
Loading…
Reference in New Issue