NV14 implementation partially merged with actual Flysky version.
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
ENTRY(Reset_Handler)
|
||||
|
||||
/* Highest address of the user mode stack */
|
||||
_estack = 0x10010000; /* end of 64K CCM */
|
||||
_heap_end = 0xC0800000; /* end of 8192K SDRAM */
|
||||
|
||||
/* Generate a link error if heap and stack don't fit into RAM */
|
||||
@@ -35,11 +34,16 @@ MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K
|
||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K
|
||||
CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 64K
|
||||
CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 65520
|
||||
NO_INIT (xrw) : ORIGIN = 0x1000FFF0, LENGTH = 16
|
||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
SDRAM(xrw) : ORIGIN = 0xC0000000, LENGTH = 8192K
|
||||
}
|
||||
|
||||
/* Main stack end */
|
||||
_estack = 0x10000000 + LENGTH(CCM);
|
||||
_main_stack_start = _estack - _Main_Stack_Size;
|
||||
|
||||
/* Define output sections */
|
||||
SECTIONS
|
||||
{
|
||||
@@ -52,6 +56,9 @@ SECTIONS
|
||||
|
||||
CREATE_OBJECT_SYMBOLS
|
||||
|
||||
|
||||
|
||||
|
||||
_stext = .; /* Provide the name for the start of this section */
|
||||
. = ALIGN(4);
|
||||
KEEP(*(.isr_vector)) /* Startup code */
|
||||
@@ -135,7 +142,8 @@ SECTIONS
|
||||
.noinit (NOLOAD) :
|
||||
{
|
||||
*(.noinit)
|
||||
} >CCM
|
||||
} >NO_INIT
|
||||
|
||||
|
||||
/* collect all uninitialized .ccm sections */
|
||||
.ram (NOLOAD) :
|
||||
|
||||
Reference in New Issue
Block a user