[Bsp][stm32l476-nucleo]fix compile args in gcc rename driver filename update hal version update kconfig

This commit is contained in:
zyh committed 2018-05-17 11:38:51 +08:00
1 parent 7577b1a373
commit ae24e71dc1
374 files changed
+254891 -82920

No files matched your search

+25 -1
View File
@@ -20,4 +20,28 @@ config $PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/drivers/Kconfig"
config BSP_USING_UART1
bool "using uart1"
select RT_USING_SERIAL
default n
config BSP_USING_UART2
bool "using uart2"
select RT_USING_SERIAL
default y
config BSP_USING_UART3
bool "using uart3"
select RT_USING_SERIAL
default n
config BSP_USING_UART4
bool "using uart4"
select RT_USING_SERIAL
default n
config BSP_USING_UART5
bool "using uart5"
select RT_USING_SERIAL
default n
config BSP_USING_LPUART1
bool "using lpuart1"
select RT_USING_SERIAL
default n
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+22 -5
View File
@@ -2,8 +2,6 @@
******************************************************************************
* @file stm32l4xx.h
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief CMSIS STM32L4xx Device Peripheral Access Layer Header File.
*
* The file is the unique include file that the application programmer
@@ -78,7 +76,8 @@
#if !defined (STM32L431xx) && !defined (STM32L432xx) && !defined (STM32L433xx) && !defined (STM32L442xx) && !defined (STM32L443xx) && \
!defined (STM32L451xx) && !defined (STM32L452xx) && !defined (STM32L462xx) && \
!defined (STM32L471xx) && !defined (STM32L475xx) && !defined (STM32L476xx) && !defined (STM32L485xx) && !defined (STM32L486xx) && \
!defined (STM32L496xx) && !defined (STM32L4A6xx)
!defined (STM32L496xx) && !defined (STM32L4A6xx) && \
!defined (STM32L4R5xx) && !defined (STM32L4R7xx) && !defined (STM32L4R9xx) && !defined (STM32L4S5xx) && !defined (STM32L4S7xx) && !defined (STM32L4S9xx)
/* #define STM32L431xx */ /*!< STM32L431xx Devices */
/* #define STM32L432xx */ /*!< STM32L432xx Devices */
/* #define STM32L433xx */ /*!< STM32L433xx Devices */
@@ -94,6 +93,12 @@
/* #define STM32L486xx */ /*!< STM32L486xx Devices */
/* #define STM32L496xx */ /*!< STM32L496xx Devices */
/* #define STM32L4A6xx */ /*!< STM32L4A6xx Devices */
/* #define STM32L4R5xx */ /*!< STM32L4R5xx Devices */
/* #define STM32L4R7xx */ /*!< STM32L4R7xx Devices */
/* #define STM32L4R9xx */ /*!< STM32L4R9xx Devices */
/* #define STM32L4S5xx */ /*!< STM32L4S5xx Devices */
/* #define STM32L4S7xx */ /*!< STM32L4S7xx Devices */
/* #define STM32L4S9xx */ /*!< STM32L4S9xx Devices */
#endif
/* Tip: To avoid modifying this file each time you need to switch between these
@@ -109,10 +114,10 @@
#endif /* USE_HAL_DRIVER */
/**
* @brief CMSIS Device version number V1.3.2
* @brief CMSIS Device version number
*/
#define __STM32L4_CMSIS_VERSION_MAIN (0x01) /*!< [31:24] main version */
#define __STM32L4_CMSIS_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */
#define __STM32L4_CMSIS_VERSION_SUB1 (0x04) /*!< [23:16] sub1 version */
#define __STM32L4_CMSIS_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */
#define __STM32L4_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
#define __STM32L4_CMSIS_VERSION ((__STM32L4_CMSIS_VERSION_MAIN << 24)\
@@ -158,6 +163,18 @@
#include "stm32l496xx.h"
#elif defined(STM32L4A6xx)
#include "stm32l4a6xx.h"
#elif defined(STM32L4R5xx)
#include "stm32l4r5xx.h"
#elif defined(STM32L4R7xx)
#include "stm32l4r7xx.h"
#elif defined(STM32L4R9xx)
#include "stm32l4r9xx.h"
#elif defined(STM32L4S5xx)
#include "stm32l4s5xx.h"
#elif defined(STM32L4S7xx)
#include "stm32l4s7xx.h"
#elif defined(STM32L4S9xx)
#include "stm32l4s9xx.h"
#else
#error "Please select first the target STM32L4xx device used in your application (in stm32l4xx.h file)"
#endif
@@ -2,8 +2,6 @@
******************************************************************************
* @file system_stm32l4xx.h
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief CMSIS Cortex-M4 Device System Source File for STM32L4xx devices.
******************************************************************************
* @attention
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l431xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L431xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l432xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L432xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l433xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L433xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l442xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L442xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l443xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L443xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l451xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L451xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l452xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L452xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l462xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L462xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l471xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L471xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l475xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L475xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l476xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L476xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l485xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L485xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l486xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L486xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l496xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L496xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -1,8 +1,6 @@
;********************** COPYRIGHT(c) 2017 STMicroelectronics ******************
;* File Name : startup_stm32l4a6xx.s
;* Author : MCD Application Team
;* Version : V1.3.2
;* Date : 16-June-2017
;* Description : STM32L4A6xx Ultra Low Power devices vector table for MDK-ARM toolchain.
;* This module performs:
;* - Set the initial SP
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l431xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L431xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l432xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L432xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l433xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L433xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l442xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L442xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l443xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L443xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l451xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L451xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l452xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L452xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l462xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L462xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l471xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L471xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l475xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L475xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l476xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L476xx devices vector table GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l485xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L485xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l486xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L486xx devices vector table for GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l496xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L496xx devices vector table GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -2,8 +2,6 @@
******************************************************************************
* @file startup_stm32l4a6xx.s
* @author MCD Application Team
* @version V1.3.2
* @date 16-June-2017
* @brief STM32L4A6xx devices vector table GCC toolchain.
* This module performs:
* - Set the initial SP
@@ -111,9 +109,9 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* bl __libc_init_array*/
/* Call the application's entry point.*/
bl main
bl entry
LoopForever:
b LoopForever
@@ -0,0 +1,41 @@
/*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x08000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x081FFFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
define symbol __ICFEDIT_region_SRAM2_start__ = 0x10000000;
define symbol __ICFEDIT_region_SRAM2_end__ = 0x1000FFFF;
define symbol __ICFEDIT_region_SRAM3_start__ = 0x20040000;
define symbol __ICFEDIT_region_SRAM3_end__ = 0x2009FFFF;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x400;
define symbol __ICFEDIT_size_heap__ = 0x200;
/**** End of ICF editor section. ###ICF###*/
define memory mem with size = 4G;
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
define region SRAM2_region = mem:[from __ICFEDIT_region_SRAM2_start__ to __ICFEDIT_region_SRAM2_end__];
define region SRAM3_region = mem:[from __ICFEDIT_region_SRAM3_start__ to __ICFEDIT_region_SRAM3_end__];
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
initialize by copy { readwrite };
do not initialize { section .noinit };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in RAM_region { readwrite,
block CSTACK, block HEAP };
place in SRAM2_region { };
place in SRAM3_region { };
@@ -0,0 +1,41 @@
/*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x20000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x20000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x2001FFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20020000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
define symbol __ICFEDIT_region_SRAM2_start__ = 0x10000000;
define symbol __ICFEDIT_region_SRAM2_end__ = 0x1000FFFF;
define symbol __ICFEDIT_region_SRAM3_start__ = 0x20040000;
define symbol __ICFEDIT_region_SRAM3_end__ = 0x2009FFFF;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x400;
define symbol __ICFEDIT_size_heap__ = 0x200;
/**** End of ICF editor section. ###ICF###*/
define memory mem with size = 4G;
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
define region SRAM2_region = mem:[from __ICFEDIT_region_SRAM2_start__ to __ICFEDIT_region_SRAM2_end__];
define region SRAM3_region = mem:[from __ICFEDIT_region_SRAM3_start__ to __ICFEDIT_region_SRAM3_end__];
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
initialize by copy { readwrite };
do not initialize { section .noinit };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in RAM_region { readwrite,
block CSTACK, block HEAP };
place in SRAM2_region { };
place in SRAM3_region { };
@@ -0,0 +1,41 @@
/*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x08000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x081FFFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
define symbol __ICFEDIT_region_SRAM2_start__ = 0x10000000;
define symbol __ICFEDIT_region_SRAM2_end__ = 0x1000FFFF;
define symbol __ICFEDIT_region_SRAM3_start__ = 0x20040000;
define symbol __ICFEDIT_region_SRAM3_end__ = 0x2009FFFF;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x400;
define symbol __ICFEDIT_size_heap__ = 0x200;
/**** End of ICF editor section. ###ICF###*/
define memory mem with size = 4G;
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
define region SRAM2_region = mem:[from __ICFEDIT_region_SRAM2_start__ to __ICFEDIT_region_SRAM2_end__];
define region SRAM3_region = mem:[from __ICFEDIT_region_SRAM3_start__ to __ICFEDIT_region_SRAM3_end__];
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
initialize by copy { readwrite };
do not initialize { section .noinit };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in RAM_region { readwrite,
block CSTACK, block HEAP };
place in SRAM2_region { };
place in SRAM3_region { };
@@ -0,0 +1,41 @@
/*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x20000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x20000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x2001FFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20020000;
define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
define symbol __ICFEDIT_region_SRAM2_start__ = 0x10000000;
define symbol __ICFEDIT_region_SRAM2_end__ = 0x1000FFFF;
define symbol __ICFEDIT_region_SRAM3_start__ = 0x20040000;
define symbol __ICFEDIT_region_SRAM3_end__ = 0x2009FFFF;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x400;
define symbol __ICFEDIT_size_heap__ = 0x200;
/**** End of ICF editor section. ###ICF###*/
define memory mem with size = 4G;
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
define region SRAM2_region = mem:[from __ICFEDIT_region_SRAM2_start__ to __ICFEDIT_region_SRAM2_end__];
define region SRAM3_region = mem:[from __ICFEDIT_region_SRAM3_start__ to __ICFEDIT_region_SRAM3_end__];
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
initialize by copy { readwrite };
do not initialize { section .noinit };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in RAM_region { readwrite,
block CSTACK, block HEAP };
place in SRAM2_region { };
place in SRAM3_region { };
Loaded 100 of 374 files, more files were not shown because too many files have changed in this diff. Show more