summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/flash_ec2
-rw-r--r--util/stm32mon.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/util/flash_ec b/util/flash_ec
index eaee634dcf..ef2ec3c2ae 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -222,7 +222,7 @@ fi
save="$(servo_save)"
case "${BOARD}" in
- daisy | kirby | pit | puppy | snow | spring ) flash_stm32 ;;
+ daisy | kirby | pit | puppy | snow | spring | discovery ) flash_stm32 ;;
bolt | falco | peppy | rambi | slippy ) flash_lm4 ;;
link ) flash_link ;;
*) die "board ${BOARD} not supported" ;;
diff --git a/util/stm32mon.c b/util/stm32mon.c
index 41ed389fc8..2c347dc908 100644
--- a/util/stm32mon.c
+++ b/util/stm32mon.c
@@ -53,7 +53,8 @@ struct stm32_def {
uint32_t flash_size;
uint32_t page_size;
} chip_defs[] = {
- {0x416, "STM32L15xx", 0x08000000, 0x20000, 256},
+ {0x416, "STM32L15xxB", 0x08000000, 0x20000, 256},
+ {0x427, "STM32L15xxC", 0x08000000, 0x40000, 256},
{0x420, "STM32F100xx", 0x08000000, 0x20000, 1024},
{0x410, "STM32F102R8", 0x08000000, 0x10000, 1024},
{ 0 }