openocd/src
Tomas Vanek dd532e87c0 flash/nor/stm32f1x: allow write fallback for flash options
Mostly refactoring.

Rename original stm32x_write_block() to stm32x_write_block_async()
as it uses target async algo.

Introduce new stm32x_write_block() and move slow, host controlled
fallback flash write there.

The change allows stm32x_write_options() to use slow flash write fallback.

While on it rename variables where halfword count is stored.

Change-Id: I386ae15cf052b1490461ed8f7eea5b4403d466f7
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6706
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
2022-04-13 16:50:21 +00:00
..
flash flash/nor/stm32f1x: allow write fallback for flash options 2022-04-13 16:50:21 +00:00
helper helper/bits: add BIT_ULL and GENMASK macros 2022-03-26 13:35:55 +00:00
jtag drivers/cmsis-dap: Remove stray whitespace 2022-04-03 20:12:43 +00:00
pld openocd: use single line for register_commands*() 2021-11-23 11:03:38 +00:00
rtos helper/bits: add BIT_ULL and GENMASK macros 2022-03-26 13:35:55 +00:00
rtt openocd: include config.h in every file .c 2022-03-26 13:32:57 +00:00
server gdb_server: Improve logging of GDB-remote packets 2022-04-03 20:11:08 +00:00
svf openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
target openocd: include config.h in every file .c 2022-03-26 13:32:57 +00:00
transport openocd: remove NULL comparisons with checkpatch [1/2] 2021-07-24 10:38:00 +01:00
xsvf openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
hello.c openocd: fix simple cases of Yoda condition 2021-07-20 14:55:24 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
Makefile.am build: Fix out-of-tree with --disable-dependency-tracking configure flag 2021-04-05 23:24:14 +01:00
openocd.c log: fix memory leak when log to file is enabled 2022-01-22 10:15:48 +00:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00