Wykres commitów

6 Commity (develop)

Autor SHA1 Wiadomość Data
andrew 1861b8dc9f Fix stm32lx flash loader on STM32L0
STM32L0 chips use loader_code_stm32lx, but this flash loader is built
for armv7-m and uses instructions that are unsupported on STM32L0 (which
have Cortex M0+ cores implementing armv6-m).

In particular, loader_code_stm32lx uses variants of add-immediate that
do not update the condition flags ( `add r0, r0, #4` ). These are 32bit
instructions in armv7-m and are not available in armv6-m.

Enable loader_code_stm32lx to run on both armv6-m and armv7-m by
building for armv6-m, which requires changing the `add` instructions to
`adds` instructions that do update condition flags (which is ok because
the subs updates the condition flags again before the branch).
2023-08-27 13:34:00 -07:00
nightwalker-87 823187216a st-flash: auto-reset after mass erase 2023-04-30 20:46:37 +02:00
anton c0653f6595 flash_loader: improved handling errors 2021-04-04 13:28:51 +05:00
anton c677eb2f4d flash_loader: makefile simplification 2021-03-23 20:06:47 +05:00
anton 41bbbc2e96 flash_loader: fix check BUSY flag, code simplified 2021-03-19 20:44:16 +05:00
Chen Guokai 36bb77dd6f Cleanroom for flashloaders done 2020-04-25 15:25:27 +08:00