fix trailing space and new line
temporarily disable codespell
This commit is contained in:
@@ -13,29 +13,29 @@
|
||||
MEMORY
|
||||
{
|
||||
/* Define each memory region */
|
||||
MFlash256 (rx) : ORIGIN = 0x0, LENGTH = 0x40000 /* 256K bytes (alias Flash) */
|
||||
Ram0_16 (rwx) : ORIGIN = 0x2000000, LENGTH = 0x4000 /* 16K bytes (alias RAM) */
|
||||
Ram1_16 (rwx) : ORIGIN = 0x2004000, LENGTH = 0x4000 /* 16K bytes (alias RAM2) */
|
||||
Ram2_4 (rwx) : ORIGIN = 0x2008000, LENGTH = 0x1000 /* 4K bytes (alias RAM3) */
|
||||
MFlash256 (rx) : ORIGIN = 0x0, LENGTH = 0x40000 /* 256K bytes (alias Flash) */
|
||||
Ram0_16 (rwx) : ORIGIN = 0x2000000, LENGTH = 0x4000 /* 16K bytes (alias RAM) */
|
||||
Ram1_16 (rwx) : ORIGIN = 0x2004000, LENGTH = 0x4000 /* 16K bytes (alias RAM2) */
|
||||
Ram2_4 (rwx) : ORIGIN = 0x2008000, LENGTH = 0x1000 /* 4K bytes (alias RAM3) */
|
||||
}
|
||||
|
||||
/* Define a symbol for the top of each memory region */
|
||||
__base_MFlash256 = 0x0 ; /* MFlash256 */
|
||||
__base_Flash = 0x0 ; /* Flash */
|
||||
__top_MFlash256 = 0x0 + 0x40000 ; /* 256K bytes */
|
||||
__top_Flash = 0x0 + 0x40000 ; /* 256K bytes */
|
||||
__base_Ram0_16 = 0x2000000 ; /* Ram0_16 */
|
||||
__base_RAM = 0x2000000 ; /* RAM */
|
||||
__top_Ram0_16 = 0x2000000 + 0x4000 ; /* 16K bytes */
|
||||
__top_RAM = 0x2000000 + 0x4000 ; /* 16K bytes */
|
||||
__base_Ram1_16 = 0x2004000 ; /* Ram1_16 */
|
||||
__base_RAM2 = 0x2004000 ; /* RAM2 */
|
||||
__top_Ram1_16 = 0x2004000 + 0x4000 ; /* 16K bytes */
|
||||
__top_RAM2 = 0x2004000 + 0x4000 ; /* 16K bytes */
|
||||
__base_Ram2_4 = 0x2008000 ; /* Ram2_4 */
|
||||
__base_RAM3 = 0x2008000 ; /* RAM3 */
|
||||
__top_Ram2_4 = 0x2008000 + 0x1000 ; /* 4K bytes */
|
||||
__top_RAM3 = 0x2008000 + 0x1000 ; /* 4K bytes */
|
||||
__base_MFlash256 = 0x0 ; /* MFlash256 */
|
||||
__base_Flash = 0x0 ; /* Flash */
|
||||
__top_MFlash256 = 0x0 + 0x40000 ; /* 256K bytes */
|
||||
__top_Flash = 0x0 + 0x40000 ; /* 256K bytes */
|
||||
__base_Ram0_16 = 0x2000000 ; /* Ram0_16 */
|
||||
__base_RAM = 0x2000000 ; /* RAM */
|
||||
__top_Ram0_16 = 0x2000000 + 0x4000 ; /* 16K bytes */
|
||||
__top_RAM = 0x2000000 + 0x4000 ; /* 16K bytes */
|
||||
__base_Ram1_16 = 0x2004000 ; /* Ram1_16 */
|
||||
__base_RAM2 = 0x2004000 ; /* RAM2 */
|
||||
__top_Ram1_16 = 0x2004000 + 0x4000 ; /* 16K bytes */
|
||||
__top_RAM2 = 0x2004000 + 0x4000 ; /* 16K bytes */
|
||||
__base_Ram2_4 = 0x2008000 ; /* Ram2_4 */
|
||||
__base_RAM3 = 0x2008000 ; /* RAM3 */
|
||||
__top_Ram2_4 = 0x2008000 + 0x1000 ; /* 4K bytes */
|
||||
__top_RAM3 = 0x2008000 + 0x1000 ; /* 4K bytes */
|
||||
|
||||
ENTRY(ResetISR)
|
||||
|
||||
@@ -84,9 +84,9 @@ SECTIONS
|
||||
} > MFlash256
|
||||
/*
|
||||
* for exception handling/unwind - some Newlib functions (in common
|
||||
* with C++ and STDC++) use this.
|
||||
* with C++ and STDC++) use this.
|
||||
*/
|
||||
.ARM.extab : ALIGN(4)
|
||||
.ARM.extab : ALIGN(4)
|
||||
{
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
} > MFlash256
|
||||
@@ -98,9 +98,9 @@ SECTIONS
|
||||
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
||||
} > MFlash256
|
||||
__exidx_end = .;
|
||||
|
||||
|
||||
_etext = .;
|
||||
|
||||
|
||||
/* DATA section for Ram1_16 */
|
||||
|
||||
.data_RAM2 : ALIGN(4)
|
||||
@@ -225,11 +225,11 @@ SECTIONS
|
||||
PROVIDE(_vStackTop = DEFINED(__user_stack_top) ? __user_stack_top : __top_Ram0_16 - 0);
|
||||
|
||||
/* ## Create checksum value (used in startup) ## */
|
||||
PROVIDE(__valid_user_code_checksum = 0 -
|
||||
(_vStackTop
|
||||
+ (ResetISR + 1)
|
||||
+ (NMI_Handler + 1)
|
||||
+ (HardFault_Handler + 1)
|
||||
PROVIDE(__valid_user_code_checksum = 0 -
|
||||
(_vStackTop
|
||||
+ (ResetISR + 1)
|
||||
+ (NMI_Handler + 1)
|
||||
+ (HardFault_Handler + 1)
|
||||
+ (( DEFINED(MemManage_Handler) ? MemManage_Handler : 0 ) + 1) /* MemManage_Handler may not be defined */
|
||||
+ (( DEFINED(BusFault_Handler) ? BusFault_Handler : 0 ) + 1) /* BusFault_Handler may not be defined */
|
||||
+ (( DEFINED(UsageFault_Handler) ? UsageFault_Handler : 0 ) + 1) /* UsageFault_Handler may not be defined */
|
||||
@@ -243,4 +243,4 @@ SECTIONS
|
||||
_image_start = LOADADDR(.text);
|
||||
_image_end = LOADADDR(.data) + SIZEOF(.data);
|
||||
_image_size = _image_end - _image_start;
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2019 Ha Thach (tinyusb.org)
|
||||
|
Reference in New Issue
Block a user