X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=tcl%2Ftarget%2Fstm32f0x.cfg;h=30ea717172fb2e762da2f53fb2abfdc513fb4fce;hb=1663a17d9d5f5988a8d129a6da36ebcf728d79a2;hp=104dcb9cf0e81f666de25543b27fdc31e2a169a6;hpb=acc4bb83fd1f26a677fdc2c8ccdc7a235f877d2d;p=fw%2Fopenocd diff --git a/tcl/target/stm32f0x.cfg b/tcl/target/stm32f0x.cfg index 104dcb9cf..30ea71717 100644 --- a/tcl/target/stm32f0x.cfg +++ b/tcl/target/stm32f0x.cfg @@ -11,11 +11,7 @@ if { [info exists CHIPNAME] } { set _CHIPNAME stm32f0x } -if { [info exists ENDIAN] } { - set _ENDIAN $ENDIAN -} else { - set _ENDIAN little -} +set _ENDIAN little # Work-area is a space in RAM used for flash programming # By default use 4kB @@ -50,6 +46,8 @@ adapter_khz 1000 adapter_nsrst_delay 100 -# if srst is not fitted use SYSRESETREQ to -# perform a soft reset -cortex_m reset_config sysresetreq +if {![using_hla]} { + # if srst is not fitted use SYSRESETREQ to + # perform a soft reset + cortex_m reset_config sysresetreq +}