diff options
author | Tarek BOCHKATI <tarek.bouchkati@gmail.com> | 2019-11-27 19:10:34 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-12-07 13:07:00 +0000 |
commit | 678fb4f60b685ed79d35272bc515891fa53b527e (patch) | |
tree | 9773b59504089f4dafeefa1672c69a9553b64cc8 /tcl/target/stm32h7x_dual_bank.cfg | |
parent | 80f1a92bd7989bfdd8b7f00d947149b77407e15c (diff) |
target/stm32h7x: add support of dual core variant of STM32H7
STM32H7x7 and STM32H7x5 devices contains two cores : CM7 + CM4
The second core creation is only done when
* DUAL_CORE variable is set to true
* non HLA interface is used
A second check for the second core existence is done in cpu1 examine-end
Once the second core is detected it gets examined.
Furthermore, the script provides a configurable CTI usage in order to halt
the cores simultaneously.
Tested on Rev X and V devices.
PS: the indentation was a mix of spaces and tabs, all changed to tabs.
Change-Id: Iad9c30826965ddb9be5dee628bc2e63f953bbcb8
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: http://openocd.zylin.com/5130
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'tcl/target/stm32h7x_dual_bank.cfg')
-rw-r--r-- | tcl/target/stm32h7x_dual_bank.cfg | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tcl/target/stm32h7x_dual_bank.cfg b/tcl/target/stm32h7x_dual_bank.cfg index 7e342f93..a88d70dc 100644 --- a/tcl/target/stm32h7x_dual_bank.cfg +++ b/tcl/target/stm32h7x_dual_bank.cfg @@ -1,7 +1,6 @@ # script for stm32h7x family (dual flash bank) -source [find target/stm32h7x.cfg] # STM32H7xxxI 2Mo have a dual bank flash. -# Add the second flash bank. -set _FLASHNAME $_CHIPNAME.flash1 -flash bank $_FLASHNAME stm32h7x 0x08100000 0 0 0 $_TARGETNAME +set DUAL_BANK 1 + +source [find target/stm32h7x.cfg] |