diff --git a/boards/others/neorv32/support/openocd.cfg b/boards/others/neorv32/support/openocd.cfg index a857c8ba7c1..fc7e7462559 100644 --- a/boards/others/neorv32/support/openocd.cfg +++ b/boards/others/neorv32/support/openocd.cfg @@ -1,17 +1,15 @@ -# Copyright (c) 2021 Henrik Brix Andersen +# Copyright (c) 2021,2025 Henrik Brix Andersen # SPDX-License-Identifier: Apache-2.0 adapter driver ftdi -ftdi_vid_pid 0x0403 0x6010 -ftdi_channel 0 +adapter speed 1000 if { [info exists _ZEPHYR_BOARD_SERIAL] } { - ftdi_serial $_ZEPHYR_BOARD_SERIAL + adapter serial $_ZEPHYR_BOARD_SERIAL } -ftdi_layout_init 0x0038 0x003b - -adapter speed 1000 -ftdi_layout_signal nTRST -ndata 0x0010 -noe 0x0040 +ftdi vid_pid 0x0403 0x6010 +ftdi channel 0 +ftdi layout_init 0x0038 0x003b source [find neorv32.cfg]