git clone https://github.com/gnu-mcu-eclipse/openocd.git
cd openocd/
./bootstrap
./configure --enable-ulink --enable-jlink --enable-stlink --enable-openjtag
make
I see:
src/flash/nor/psoc5lp.c: В функции «psoc5lp_get_part_number»:
src/flash/nor/psoc5lp.c:237:2: ошибка: «strncpy» output truncated before terminating nul copying 2 bytes from a string of the same length [-Werror=stringop-truncation]
strncpy(str + 8, "xx", 2);
^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: все предупреждения считаются ошибками
make[2]: *** [Makefile:2968: src/flash/nor/psoc5lp.lo] Ошибка 1
GCC version: 8.1.1 20180531
Platform: 4.16.13-1-ARCH
GNU Make 4.2.1
Hi! I did what is described below.
I see:
GCC version: 8.1.1 20180531 Platform: 4.16.13-1-ARCH GNU Make 4.2.1