mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Merge pull request #5280 from betaflight/cf-changes-5
CF/BF - STMF72x - Ensure SRAM2 is unused and not part of 'RAM' linker section.
This commit is contained in:
commit
58fd1726ce
1 changed files with 4 additions and 1 deletions
|
@ -33,10 +33,13 @@ MEMORY
|
|||
FLASH1 (rx) : ORIGIN = 0x08008000, LENGTH = 480K
|
||||
|
||||
TCM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
|
||||
RAM (rwx) : ORIGIN = 0x20010000, LENGTH = 192K
|
||||
SRAM1 (rwx) : ORIGIN = 0x20010000, LENGTH = 176K
|
||||
SRAM2 (rwx) : ORIGIN = 0x2003C000, LENGTH = 16K
|
||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("RAM", SRAM1)
|
||||
|
||||
/* note TCM could be used for stack */
|
||||
REGION_ALIAS("STACKRAM", TCM)
|
||||
REGION_ALIAS("FASTRAM", TCM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue