openocd/src
Tarek BOCHKATI b61a280860 flash/stm32l4x: fix flash programming in 64-bit hosts
stm32l4_work_area struct is shared between the loader and stm32l4x flash driver

'*wp' and '*rp' pointers' size is 4 bytes each since stm32l4x devices have
32-bit processors.

however when used in openocd code, their size depends on the host
  if the host is 32-bit, then the size is 4 bytes each.
  if the host is 64-bit, then the size is 8 bytes each.

to avoid this size difference, change their types depending on the
usage (pointers for the loader, and 32-bit integers in openocd code).

Change-Id: I0a3df4bb4bf872b01cdb9357eb28307868d7d469
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6556
Tested-by: jenkins
Reviewed-by: Yestin Sun <sunyi0804@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2021-09-12 14:26:31 +00:00
..
flash flash/stm32l4x: fix flash programming in 64-bit hosts 2021-09-12 14:26:31 +00:00
helper Makefile: drop warning suppression on win build 2021-08-30 13:52:12 +00:00
jtag jep106: use packed jedec manufacturer code 2021-08-22 20:26:06 +00:00
pld openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
rtos Makefile: drop warning suppression on win build 2021-08-30 13:52:12 +00:00
rtt openocd: fix doxygen parameters of functions 2021-01-13 11:33:53 +00:00
server server/telnet: add variables auto-completion 2021-08-31 04:13:01 +00:00
svf openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
target In SMP config, replicate watchpoints on each core 2021-09-11 12:08:38 +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
Makefile.am build: Fix out-of-tree with --disable-dependency-tracking configure flag 2021-04-05 23:24:14 +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
openocd.c openocd: prepare for jimtcl 0.81 'expr' syntax change 2021-09-04 07:23:08 +00:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00