diff options
author | Alex Crawford <openocd@code.acrawford.com> | 2021-09-16 10:00:25 -0700 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-09-25 13:15:05 +0000 |
commit | 2f424b7eb776b3d32f2b58a3ffd91ff1d5657404 (patch) | |
tree | ed3e258647f1fd9f298d2eaddd20b0514d34169b /tcl | |
parent | 5765a0ce14485aadc6b74c6e2b4f15b73df14603 (diff) | |
download | riscv-openocd-2f424b7eb776b3d32f2b58a3ffd91ff1d5657404.zip riscv-openocd-2f424b7eb776b3d32f2b58a3ffd91ff1d5657404.tar.gz riscv-openocd-2f424b7eb776b3d32f2b58a3ffd91ff1d5657404.tar.bz2 |
driver/linuxgpiod: add support for opendrain srst
Some MCUs (e.g. the STM32F3) directly expose the internal reset line to
an external pin. When this signal is driven by a push/pull line, it can
actually be inhibited by the external driver. This results in a setup
where the MCU cannot reset itself, for example, by a watchdog timeout or
a sysreset request. To fix this condition, support for open drain output
on the SRST line is required.
Note that because `reset_config srst_open_drain` is the default, all
users of this adapter will switch over to an open drain output unless
explicitly configured otherwise.
Signed-off-by: Alex Crawford <openocd@code.acrawford.com>
Change-Id: I89b39b03aa03f826ed3c45793412780448940bcc
Reviewed-on: https://review.openocd.org/c/openocd/+/6559
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
0 files changed, 0 insertions, 0 deletions