riscv-openocd/contrib
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
..
libdcc coding style: contrib: remove empty lines at end of text files 2020-05-02 15:40:26 +01:00
loaders flash/stm32l4x: fix flash programming in 64-bit hosts 2021-09-12 14:26:31 +00:00
remote_bitbang drivers/remote_bitbang: Group adapter commands 2021-08-14 13:33:30 +01:00
rpc_examples contrib: rpc_examples: haskell: fix ftbs with current libraries 2021-01-08 10:23:50 +00:00
rtos-helpers rtos-helpers: fix minor typo in uC/OS-III helper 2018-09-07 08:19:29 +01:00
xsvf_tools coding style: contrib: remove empty lines at end of text files 2020-05-02 15:40:26 +01:00
60-openocd.rules tcl: add lattice ECP5 family support 2021-08-25 03:47:50 +00:00
coresight-trace.txt contrib: fix minor typos 2020-07-26 20:14:51 +01:00
cross-build.sh contrib/cross-build.sh: build capstone from source 2020-11-07 20:51:18 +00:00
gen-stellaris-part-header.pl flash: declare fixed arrays const 2014-02-06 22:17:51 +00:00
itmdump.c contrib/itmdump.c: fix implicit declaration warning 2021-06-18 23:11:31 +01:00
list_example.c contrib: add an example of using list.h 2021-06-04 17:41:48 +01:00