]> git.gag.com Git - fw/stlink/commit
stlink-common: Fix STM32L4 loader write count to reflect 64bits granularity
authorMaxime Coquelin <mcoquelin.stm32@gmail.com>
Mon, 14 Mar 2016 13:53:32 +0000 (14:53 +0100)
committerMaxime Coquelin <mcoquelin.stm32@gmail.com>
Mon, 14 Mar 2016 14:17:44 +0000 (15:17 +0100)
commitd0458ee7564e99253c8a35d8b1ceba33e23e248f
tree281b4d3d89fc6af790e51cf050429af5ba7f0cf2
parente43a737c3c9ffe56045181b306509c942fd9998a
stlink-common: Fix STM32L4 loader write count to reflect 64bits granularity

The stm32l4 loader expects a count of 32 bits words while its granularity is
really 64 bits.

This patch fixes this to simplify count calculation in run_flash_loader().

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
flashloaders/stm32l4.s
src/stlink-common.c