Duane Ellis <openocd@duaneellis.com> stm32 peripherals scripts
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 21 Jul 2008 09:25:51 +0000 (09:25 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 21 Jul 2008 09:25:51 +0000 (09:25 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@846 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/Makefile.am
src/tcl/chip/st/stm32/stm32_rcc.tcl
src/tcl/cpu/arm/cortex_m3.tcl [new file with mode: 0644]

index 3080839c747c3cbd15e92a98e3762e78f4239227..d04308e5249fa0bb5ac3c96784549a4e700e4eab 100644 (file)
@@ -93,6 +93,7 @@ nobase_dist_pkglib_DATA = \
        tcl/cpu/arm/arm920.tcl                  \
        tcl/cpu/arm/arm946.tcl                  \
        tcl/cpu/arm/arm966.tcl                  \
+       tcl/cpu/arm/cortex_m3.tcl               \
        tcl/memory.tcl                          \
        tcl/mmr_helpers.tcl                     \
        tcl/readable.tcl
index 0e0969126811701a0933ca301ad736cc0eb7cd03..3973ff94194c542707bd78fb950f329ac4adddbc 100644 (file)
@@ -42,7 +42,7 @@ proc show_RCC_CFGR { } {
     show_mmr_bitfield 15 14 $val  ADCPRE { pclk2_div1 pclk2_div1 pclk2_div1 pclk2_div1 pclk2_div2 pclk2_div4 pclk2_div8 pclk2_div16 }
     show_mmr_bitfield 16 16 $val  PLLSRC { HSI_div_2 HSE }
     show_mmr_bitfield 17 17 $val  PLLXTPRE { hse_div1 hse_div2 }
-    show_mmr_bitfield 21 18 $val  PLLMUL { x2 x3 x4 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x16 }
+    show_mmr_bitfield 21 18 $val  PLLMUL { x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x16 }
     show_mmr_bitfield 22 22 $val  USBPRE { div1 div1_5 }
     show_mmr_bitfield 26 24 $val  MCO    { none none none none SysClk HSI HSE PLL_div2 }
 }
diff --git a/src/tcl/cpu/arm/cortex_m3.tcl b/src/tcl/cpu/arm/cortex_m3.tcl
new file mode 100644 (file)
index 0000000..b4bbcce
--- /dev/null
@@ -0,0 +1,6 @@
+set CPU_TYPE   arm\r
+set CPU_NAME   cortex_m3\r
+set CPU_ARCH   armv7\r
+set CPU_MAX_ADDRESS 0xFFFFFFFF\r
+set CPU_NBITS  32\r
+\r

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)