openocd/src
Antonio Borneo b8e18d292e helper/jim-nvp: comply with coding style [1/2]
The helper jim-nvp does not comply with OpenOCD coding style due
to typedef of struct and CamelCase symbol names.
While it's trivial fixing the helper and all its current use in
the code, changing these APIs will potentially break a number of
patches pending in gerrit. Gerrit will not trigger any alert, but
the code will generate compile error after the merge.

Add the compile flag "-Wno-error=deprecated-declarations" to keep
as warning (not as error) the use of "deprecated" functions and
types.
Rename all the CamelCase symbols is lowercase and provide struct
prototypes in place of the typedef.
Add a DEPRECATED section to 'jim-nvp.h' where the old CamelCase
symbols and the old typedef are re-declared with compile attribute
'deprecated'.

With this change OpenOCD compiles, but generates warnings.
The remaining changes allover OpenOCD code will be fixed in a
separate patch for easier review.

The patches merged later that still use the old deprecated API
will compile with warnings. This will permit to identify and fix
these cases.

Change-Id: I786385d0f662dbb1be5be313ae42623156d68ce5
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6183
Tested-by: jenkins
Reviewed-by: Marc Schink <dev@zapb.de>
2021-06-04 17:40:39 +01:00
..
flash openocd: use macro ARRAY_SIZE() 2021-05-29 21:33:23 +01:00
helper helper/jim-nvp: comply with coding style [1/2] 2021-06-04 17:40:39 +01:00
jtag stlink: reorder the flag macro by firmware release 2021-05-29 21:35:58 +01:00
pld Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
rtos rtos: use ARRAY_SIZE() and simplify rtos_type.create() 2021-05-29 21:33:44 +01:00
rtt openocd: fix doxygen parameters of functions 2021-01-13 11:33:53 +00:00
server server: gdb_server: Add colon for target extended-remote 2021-05-15 20:57:12 +01:00
svf Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
target target/cortex_a: fix memory leak on watchpoints 2021-06-03 23:27:20 +01:00
transport Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
xsvf openocd: fix some minor typo 2021-05-22 10:06:51 +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 helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +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 help: re-implement 'help' independent from tree of struct command 2021-04-18 15:33:54 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00