summaryrefslogtreecommitdiff
path: root/util/stm32mon.c
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2017-02-14 11:06:34 +0100
committerchrome-bot <chrome-bot@chromium.org>2017-02-17 01:47:29 -0800
commitad401765141ef75cdee7845082294dfa75f75697 (patch)
tree6e2c6a5ea14361c61222065f2bacae3448c07dbd /util/stm32mon.c
parent484ef121193865225ddbc3a0b848db7f5384f836 (diff)
downloadchrome-ec-ad401765141ef75cdee7845082294dfa75f75697.tar.gz
stm32: add support for STM32L442
Should be close to the STM32L476 in the STM32L4 family. Slightly different flash/RAM. It's currently running from the internal clock (HSI) at 16Mhz, we need to upgrade to 80Mhz (or 48Mhz if this is fast enough to save us the PLL locking time). The internal flash write/erase/protection is still not implemented for the whole STM32L4 family. Upgrade the SPI master support and verify that the TX works. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:62893 TEST=make BOARD=eve_fp run it on Nucleo-L432KC (STM32L432KC is mostly the same MCU without AES) Change-Id: I87be7d4461aedfbd683ff7bb639c3a6005ee171e Reviewed-on: https://chromium-review.googlesource.com/442466 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'util/stm32mon.c')
-rw-r--r--util/stm32mon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/stm32mon.c b/util/stm32mon.c
index d38b0ed930..aa395534ab 100644
--- a/util/stm32mon.c
+++ b/util/stm32mon.c
@@ -67,6 +67,7 @@ struct stm32_def {
{0x416, "STM32L15xxB", 0x08000000, 0x20000, 256, 13},
{0x429, "STM32L15xxB-A", 0x08000000, 0x20000, 256, 13},
{0x427, "STM32L15xxC", 0x08000000, 0x40000, 256, 13},
+ {0x435, "STM32L44xx", 0x08000000, 0x40000, 2048, 13},
{0x420, "STM32F100xx", 0x08000000, 0x20000, 1024, 13},
{0x410, "STM32F102R8", 0x08000000, 0x10000, 1024, 13},
{0x440, "STM32F05x", 0x08000000, 0x10000, 1024, 13},