jtag/drivers: Correct ANGIE driver and GPIO Extender configuration
commitd8499687f8d2899508cb7cab3de750d944181b6a
authorAhmed BOUDJELIDA <aboudjelida@nanoxplore.com>
Mon, 15 Jan 2024 14:45:49 +0000 (15 15:45 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 21 Jan 2024 21:26:28 +0000 (21 21:26 +0000)
tree6a4428c716da5adbfe51aca7f9d2a33d082e1890
parent43e1d60e77b7984e21a9250a530a34f64bab78c0
jtag/drivers: Correct ANGIE driver and GPIO Extender configuration

Correct GPIO Extender configuration, after reconsideration,
we need to configure the IO extender 0x23 pins as all inputs.

Add more LOG_ERRORs to the code to better track bugs.

Re-organize angie_init function

Change-Id: I1fcf4919ba9ea95576803dd35cce7dafa26853b4
Signed-off-by: Ahmed BOUDJELIDA <aboudjelida@nanoxplore.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8079
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/jtag/drivers/angie.c