forked from MaJerle/lwesp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
6,824 additions
and
0 deletions.
There are no files selected for viewing
802 changes: 802 additions & 0 deletions
802
examples/stm32f769-discovery/template/EWARM/startup_stm32f769xx.s
Large diffs are not rendered by default.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
examples/stm32f769-discovery/template/EWARM/stm32f769xx_ITCM_flash.icf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/*###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__ = 0x00200000; | ||
/*-Memory Regions-*/ | ||
define symbol __ICFEDIT_region_ROM_start__ = 0x00200000; | ||
define symbol __ICFEDIT_region_ROM_end__ = 0x003FFFFF; | ||
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; | ||
define symbol __ICFEDIT_region_RAM_end__ = 0x2007FFFF; | ||
define symbol __ICFEDIT_region_ITCMRAM_start__ = 0x00000000; | ||
define symbol __ICFEDIT_region_ITCMRAM_end__ = 0x00003FFF; | ||
/*-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 ITCMRAM_region = mem:[from __ICFEDIT_region_ITCMRAM_start__ to __ICFEDIT_region_ITCMRAM_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 ITCMRAM_region { }; |
34 changes: 34 additions & 0 deletions
34
examples/stm32f769-discovery/template/EWARM/stm32f769xx_flash.icf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/*###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__ = 0x2007FFFF; | ||
define symbol __ICFEDIT_region_ITCMRAM_start__ = 0x00000000; | ||
define symbol __ICFEDIT_region_ITCMRAM_end__ = 0x00003FFF; | ||
/*-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 ITCMRAM_region = mem:[from __ICFEDIT_region_ITCMRAM_start__ to __ICFEDIT_region_ITCMRAM_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 }; |
34 changes: 34 additions & 0 deletions
34
examples/stm32f769-discovery/template/EWARM/stm32f769xx_sram.icf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/*###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__ = 0x2004FFFF; | ||
define symbol __ICFEDIT_region_RAM_start__ = 0x20050000; | ||
define symbol __ICFEDIT_region_RAM_end__ = 0x2007FFFF; | ||
define symbol __ICFEDIT_region_ITCMRAM_start__ = 0x00000000; | ||
define symbol __ICFEDIT_region_ITCMRAM_end__ = 0x00003FFF; | ||
/*-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 ITCMRAM_region = mem:[from __ICFEDIT_region_ITCMRAM_start__ to __ICFEDIT_region_ITCMRAM_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 }; |
Oops, something went wrong.