Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
628 commits
Select commit Hold shift + click to select a range
f36ab02
tcl/target: Move GigaDevice configs into vendor directory
zapb-0 Nov 28, 2025
c60bb56
log: avoid incrementing 'count' for discarded log lines
Dec 15, 2025
eea1bb4
flash: nor: keep Windows backslashes in flash list output
ahmed-haoues Jan 16, 2026
b36de4f
doc: add STM32WBA as supported by flash driver 'stm32l4x'
borneoa Jan 18, 2026
b9e4016
flash/stm32l4x: Fix flash size address for STM32WBA5
ahmed-haoues Dec 31, 2025
f275432
server: fix double free() on add_service() early return
borneoa Jan 4, 2026
70d4ac0
target: arm_tpiu_swo: fix memory leak on add_service() failure
borneoa Jan 4, 2026
b10372f
server: gdb_server: check for out of memory and fix a memory leak
borneoa Jan 4, 2026
00e4fb6
target: openrisc: jsp_server: check for out of memory, fix memory leak
borneoa Jan 4, 2026
5e71823
server: close the TCP socket while stopping a service
borneoa Jan 4, 2026
bcfa2bc
README: Use Markdown extension
zapb-0 Sep 1, 2025
3ba83c7
README.Windows: Use Markdown syntax
zapb-0 Jul 11, 2024
c348b9f
README.macOS: Use Markdown syntax
zapb-0 Jul 11, 2024
7d6f3ed
README: Rework installation section
zapb-0 Jan 21, 2026
91799d0
README.Windows: Avoid multiple top-level headings
zapb-0 Jan 26, 2026
8bc12d9
README.macOS: Align structure and fix linter errors
zapb-0 Jan 26, 2026
62f49b7
README.md: Fix Markdown linter errors
zapb-0 Jan 26, 2026
294538f
configure.ac: Detect mallinfo automatically
Jan 19, 2026
95bd909
target: cortex-m: defer cache identification on Cortex-M85 under reset
borneoa Jan 22, 2026
92b482a
log: change line counter to unsigned
borneoa Jan 25, 2026
db34f6f
target: arm_dap: Fix crash in 'dap info' command
grantramsay Jul 26, 2024
b4518ab
flash/nor/spi: Add Boya-Micro BY25Q128AS and Byte-Semi BY25Q16ES flash
gtortone Jan 28, 2026
718eb22
meta: Add editor configuration
jerome-pouiller Feb 5, 2026
eaa0483
flash/nor/mspm0.c: organize parts
Jan 30, 2026
0f67341
flash/nor/mspm0.c: remove MSPM0G3505TDGS28R
Jan 30, 2026
1967f85
flash/nor/mspm0.c: add parts.
Jan 30, 2026
6eaf951
flash/nor/mspm0.c: support new parts
Jan 29, 2026
078a6b1
tcl/target/ti/mspm0.cfg: drop swj on swd only target
Jan 28, 2026
5151c98
flash: virtual: simplify error checking
borneoa Dec 25, 2025
3c1bd50
target: clean up return value of target_type::blank_check_memory()
borneoa Dec 25, 2025
8ee7cb1
flash: ROM support
tom-van Apr 11, 2019
2b98617
flash: read only alias
tom-van Apr 11, 2019
9b21a31
tcl/target/rp2040, rp2350: use swd newdap instead of swj_newdap
tom-van Jan 31, 2026
2374db9
tcl/target/at91samd, atsame5x: drop swj on swd only targets
tom-van Feb 3, 2026
a7d31c8
tcl/target/klx, ke0x: drop swj on swd only targets
tom-van Feb 3, 2026
e85f9b2
tcl/target/nordic: drop swj on swd only targets
tom-van Feb 3, 2026
0163d9d
tcl/target/psoc4: drop swj on swd only targets
tom-van Feb 3, 2026
86bdd88
tcl/target/lpc8nxx: drop swj on swd only target
tom-van Feb 3, 2026
e135ffe
tcl/target/numicro*: drop swj on swd only target
tom-van Feb 3, 2026
b164b65
target: stm32c0x: drop swj on swd only target
borneoa Feb 1, 2026
a02550b
target: stm32f0x: drop swj on swd only target
borneoa Feb 1, 2026
c11a325
target: stm32g0x: drop swj on swd only target
borneoa Feb 1, 2026
0e4d6d2
target: stm32l0x: drop swj on swd only target
borneoa Feb 1, 2026
22bad00
target: stm32u0x: add transport swd
borneoa Feb 1, 2026
9e1db0e
transport: don't warn when a transport is selected twice
borneoa Feb 1, 2026
aaceff8
configure: silent MacOS clang warning gnu-folding-constant
borneoa Feb 2, 2026
129e9d3
configure.ac: Replace --enable-malloc-logging with a new runtime log …
Feb 2, 2026
7052573
server/gdb: Add support for NVM banks without sectors
zapb-0 Jul 11, 2025
84f8814
target/arm_adi_v5: search for multiple AP types much more effective way
tom-van Feb 4, 2026
5b3db97
tcl/target/nordic/nrf53: fix empty event handler
tom-van Mar 1, 2026
0c6fe74
server: Make "exit" command behave consistently
JanMatCodasip Jan 5, 2026
687dd5c
flash: nor: improve check on memory allocations
borneoa Dec 25, 2025
a5a9121
target: stm32mpxxx: fix return to SWD after reset
borneoa Jan 30, 2026
c3b4bcc
log: simplify handling of mallinfo()
borneoa Feb 15, 2026
092282c
tools/checkpatch: Add Markdown linter support
zapb-0 Feb 17, 2026
22e1e1b
target/smp: reply to unknown packets in gdb_read_smp_packet
iCMDdev Feb 13, 2026
e4c49d8
server/server: Fix build on FreeBSD
zapb-0 Feb 26, 2026
4e23bf1
flash/nand/core: remove redundant NULL check
shiftee Feb 24, 2026
92dc889
flash/nor/str7x: fix undefined behaviour
shiftee Mar 9, 2026
b215fe8
jtag/drivers/presto: fix potential divide by 0
shiftee Feb 24, 2026
0e41ac8
pld/gatemate: move pointer deref after NULL check
shiftee Feb 24, 2026
bd17a59
pld/gowin: move pointer deref after NULL check
shiftee Feb 24, 2026
49e75c7
rtos/hwthread: move pointer deref after NULL check
shiftee Feb 24, 2026
231aa88
target/arm_simulator: fix undefined behaviour
shiftee Mar 9, 2026
b8cfd06
target/semihosting_common: remove redundant NULL check
shiftee Feb 24, 2026
48f57a7
target/dsp5680xx: cleanup code confusing cppcheck
shiftee Feb 24, 2026
0f6616a
target/dsp5680xx: remove err_check_propagate()
shiftee Mar 29, 2026
4c072f0
target/dsp5680xx: remove check_halt_and_debug()
shiftee Mar 29, 2026
4894527
target/dsp5680xx: remove err_check()
shiftee Mar 29, 2026
607a16f
target/dsp5680xx: declare vars at first use
shiftee Mar 29, 2026
ea07cc7
target/dsp5680xx: add missing retval assignment
shiftee Mar 29, 2026
944fb35
target/dsp5680xx: cleanup retval usage
shiftee Mar 29, 2026
faab1de
jtag: adapter: move adapter_driver extern declaration to header file
sobuch Mar 17, 2026
a22e433
configure: Rework HAVE_CAPSTONE #define
zapb-0 Mar 11, 2026
232cd0b
Fix build issue on MSYS2 and Cygwin
zapb-0 Feb 26, 2026
3d83e95
flash/nor/fm4: Fix build on MSYS2 with Clang
zapb-0 Mar 13, 2026
b80f554
helper/log: Fix build issue on MSYS2 and Cygwin
zapb-0 Feb 26, 2026
f6963c7
flash/stm32l4x: Support STM32U3B/U3Cx devices
mkarcz-apator Mar 13, 2026
8395453
target/breakpoints: move and rename breakpoint related errors
tom-van May 26, 2025
57c0667
target: introduce active_polled flag in struct target
tom-van Oct 22, 2025
74ae7b1
target: drop useless calls target_set_examined()
tom-van Oct 22, 2025
fe2f4ae
target/arm7_9_common: drop the call to `target_set_examined()`
eugoka Feb 20, 2026
d8accab
target/dsp563xx: drop the call to `target_set_examined()`
eugoka Feb 20, 2026
21c7595
target/openrisc: drop the call to `target_set_examined()`
eugoka Feb 20, 2026
b07521d
target/xtensa: drop the call to `target_set_examined()`
eugoka Feb 25, 2026
7e50833
target/riscv: add target_was_examined() checks
tom-van Nov 29, 2025
90bf2ca
flash/nor/efm32: Fix coding style issues
jerome-pouiller Jan 27, 2026
e434b4b
flash/nor/efm32: Fix flash_sector allocation
jerome-pouiller Feb 4, 2026
c2777e3
flash/nor/efm32: Fix function prefix
jerome-pouiller Jan 28, 2026
0c60f12
flash/nor/efm32: Fix efm32_get_info() name
jerome-pouiller Jan 28, 2026
3ca07a2
flash/nor/efm32: Rework efm32_wait_status()
jerome-pouiller Feb 4, 2026
ce4eb52
flash/nor/efm32: Improve code style compliance
jerome-pouiller Feb 3, 2026
3a36791
flash/nor/efm32: Identify Series-2
jerome-pouiller Jan 28, 2026
4dbb94e
flash/nor/efm32: Properly display detected target
jerome-pouiller Feb 4, 2026
79a0b8b
flash/nor/efm32: Don't read lock bank on Series 2
jerome-pouiller Feb 6, 2026
fcfbe3d
flash/nor/efm32: Learn how to start CMU before to flash
jerome-pouiller Feb 3, 2026
47dc8e3
flash/nor/efm32: Support alternative flashbase address
jerome-pouiller Feb 4, 2026
c83c968
flash/nor/efm32: Support write flash on Series-2
jerome-pouiller Feb 5, 2026
291030b
flash/nor/efm32: Update copyright
jerome-pouiller Feb 2, 2026
5e6e0a3
tcl/target: Add support for Silabs Series 2
jerome-pouiller Feb 3, 2026
5f1fef0
tcl/target: Add support for Silabs Series 2 products
jerome-pouiller Jan 23, 2026
1203440
flash/nor/efm32: Fix tab size
jerome-pouiller Feb 5, 2026
d7a518a
flash/nor/efm32: Fix page size for user data bank
jerome-pouiller Feb 11, 2026
98a8317
flash/nor/efm32: Use target_get_working_area_avail()
jerome-pouiller Feb 26, 2026
14f652f
doc: Update EFM32 documentation
jerome-pouiller Feb 6, 2026
e10ea84
checkpatch: make CODE_INDENT test TAB size aware
tom-van Feb 8, 2026
e22380c
target: add couple of target examined checks
tom-van Nov 29, 2025
cc32b36
target/riscv: do not set DTM_DTMCS_VERSION_UNKNOWN on examine fail
tom-van Aug 8, 2024
af1d837
target: log target and return proper error if target not examined
tom-van Nov 29, 2025
eb5ad85
adapter: Implement USB VID/PID parsing
zapb-0 Apr 22, 2026
c319c76
jtag/drivers: add Xilinx XVC TCP
Mar 2, 2022
7e28164
adapters/xvc: Use proper data types
zapb-0 Apr 18, 2026
5864b20
adapters/xvc: Handle return values during initialization
zapb-0 Apr 18, 2026
c6a42c2
adapters/xvc: Fix xvc_init_tcp()
zapb-0 Apr 18, 2026
236f04a
tcl/board/st: Move NUCLEO-L552ZE-Q config
zapb-0 Feb 16, 2026
09d805b
cortex_a: fix the address of the instruction hitting a watchpoint
borneoa Mar 11, 2026
8616c03
target: stm32mpxxx: add SWD multi-drop parameters
borneoa Oct 28, 2025
4e9b167
tcl: stm32mp2xx: set CSW for Cortex-M33 D-Cache coherency
borneoa Nov 4, 2025
fec3ed8
openocd: drop variable for constant return value
borneoa Mar 29, 2026
f3db685
target/arm: move lock registers to common header
eqvinox Oct 3, 2021
8acc6ad
target/arm_cti: add a few more CTI regs
eqvinox Oct 2, 2021
9a9d865
target/arm_cti: unlock CTI before write accesses
eqvinox Oct 2, 2021
d7a5562
target/aarch64: unlock debug unit
eqvinox Oct 2, 2021
e08c235
tcl/target: add NXP LX2160A
eqvinox Oct 2, 2021
9ff3041
adapter/stlink: Delegate USB VID/PID parsing to adapter core
zapb-0 Apr 22, 2026
0c4271a
adapter/ftdi: Delegate USB VID/PID parsing to adapter core
zapb-0 Apr 23, 2026
0813c28
adapter/ft232r: Delegate USB VID/PID parsing to adapter core
zapb-0 Apr 23, 2026
8dc0618
adapter/ch347: Delegate USB VID/PID parsing to adapter core
zapb-0 Apr 23, 2026
c5d02a2
adapter/cmsis-dap: Delegate USB VID/PID parsing to adapter core
zapb-0 Apr 23, 2026
ead2fa8
adapter/openjtag: Delegate USB VID/PID parsing to adapter core
zapb-0 Apr 23, 2026
7d937ed
adapter/esp-usb-jtag: Delegate USB VID/PID parsing to adapter core
zapb-0 Apr 23, 2026
cd8cf38
adapter/hla: Delegate USB VID/PID parsing to adapter core
zapb-0 Apr 28, 2026
ea528c7
adapter/usb-blaster: Delegate USB VID/PID parsing to adapter core
zapb-0 Apr 26, 2026
eec70f4
Fix target usage text (underscore -> dash)
shiftee Apr 27, 2026
a28990f
adapters/xvc: Remove noisy debug output
zapb-0 Apr 19, 2026
b973533
adapters/xvc: doc: point to xvc-gpiod project
borneoa May 1, 2026
fac7e0d
tcl/board/silabs: Add config for EFM32PG28 Pro Kit
zapb-0 Feb 16, 2026
3a7ec5c
tcl/board/silabs: Add config for EFM32PG23 Pro Kit
zapb-0 Feb 16, 2026
3227d73
tcl/board/silabs: Add config for EFR32xG24 Explorer Kit
zapb-0 Feb 16, 2026
4133550
tcl/board/silabs: Add config for EFR32FG23 Dev Kit
zapb-0 Feb 16, 2026
f9212ff
tcl/interface: add Microchip DV22S07A OpenOCD Debug Probe
fboyer-mchp May 4, 2026
2417665
openocd: simplify return path dropping temp variable
borneoa Mar 29, 2026
2a0cc01
rtos: linux: drop local get_buffer()
borneoa Mar 29, 2026
97a11c4
jtag/drivers: add T-Head CK-Link JTAG adapter driver
will-tm Apr 10, 2026
822ac74
tcl/board/st: Add NUCLEO-U3C5ZI-Q config
zapb-0 Apr 13, 2026
af6c19d
target: base poll frequency on wall time
timsifive Oct 22, 2021
0e901c5
target: rename srst_asserted and power_dropout variables
tom-van Apr 28, 2026
eeacc58
jtag/core: fix is_jtag_poll_safe() logic
tom-van Apr 29, 2026
2fb8a47
target/riscv: drop version-specific `arch_state()`
eugoka Mar 12, 2026
2acd694
helper: Use proper return values for duration_{start,measure}
zapb-0 Aug 4, 2025
a41341b
adapter: Implement USB product name handling
zapb-0 Apr 27, 2026
e4941a0
adapter/ftdi: Use adapter core USB product name handling
zapb-0 Apr 27, 2026
3a7635f
adapter/ch347: Use adapter core USB product name handling
zapb-0 Apr 27, 2026
6fc1cf0
adapter/openjtag: Use adapter core USB product name handling
zapb-0 Apr 27, 2026
c177844
target: const-correct write_gmon
rsaxvc Nov 29, 2024
dcf6282
target: filter and sort pc samples before storing
rsaxvc Nov 29, 2024
bad284f
target: malloc-free profiling histogram
rsaxvc Nov 29, 2024
8e87e2e
target: multiple profiling histograms
rsaxvc Feb 4, 2025
103cde9
adapter/remote-bitbang: Drop unused #define
zapb-0 May 12, 2026
dc803e7
tcl/target: Fix max32625 support
shiftee Feb 10, 2026
f92f577
jtag/core: fix blocked polling in unknown state of jtag_xrst
tom-van May 21, 2026
56d91e4
target/rtt: support 64-bit targets by using dynamic offsets
hhoang308 Apr 10, 2026
fcfbbe9
rtt: Fix reading inactive channels
zapb-0 May 10, 2026
469bc08
target: riscv: drop use of type time_t
borneoa May 15, 2026
c83a7e8
docs: Add missing JTAG VPI commands
zapb-0 May 13, 2026
5bc49ef
adapter/jtag-vpi: Use getaddrinfo() to support hostnames and IPv6
zapb-0 May 13, 2026
9013ad2
adapter/jtag-dpi: Use getaddrinfo() to support hostnames and IPv6
zapb-0 May 13, 2026
fe239d9
target: profile: avoid division by zero
borneoa May 18, 2026
e6752ec
jep106: update to revision JEP106BO May 2026
borneoa May 20, 2026
ec83d6d
helper: replacements: only generate x86 assembly for x86 targets
sobuch Mar 17, 2026
4df157c
target: extend use of capstone disassembler
borneoa Mar 15, 2026
e25d391
target: cortex-m: use specific instruction set for capstone
borneoa Mar 16, 2026
2a5e358
target: arm: provide specific instruction set to capstone
borneoa Mar 16, 2026
51ef16e
target: arm: deprecate command 'arm disassemble'
borneoa Mar 16, 2026
31b6cf0
target: aarch64: deprecate command 'aarch64 disassemble'
borneoa Mar 16, 2026
081459d
target: riscv: enable 'disassemble' command
borneoa Mar 16, 2026
3d99e54
target: add poll_interval command support
lz-bro May 21, 2026
f2fba27
flash/nor/tcl: Remove unused variable
zapb-0 Jun 3, 2026
d653cb4
helper/replacements: Fix Windows build using clang (-Wsign-compare)
JanMatCodasip Mar 12, 2026
1cce4ab
tcl/target: Add max32650.cfg
shiftee Feb 16, 2026
b8ba9c7
drivers/ch347: add explicit set_configuration before claim_interface
JonahLiu May 14, 2026
442ddcf
target: fix off-by-one error in profiling bucket range
sobuch May 20, 2026
1bf1ac4
Fix const correctness for strchr and strrchr
go2sh May 5, 2026
65ab108
adapter/cmsis-dap: Improve TCP backend error reporting
zapb-0 May 12, 2026
e849a79
adapter/cmsis-dap: Remove redundant NULL check in LOG_ERROR()
zapb-0 May 15, 2026
461ffeb
adapter/bitbang: Fix memory leak
zapb-0 May 23, 2026
9b079d0
adapter/angie: Fix memory leak
zapb-0 Jun 10, 2026
e8474bc
adapter/usbprog: Fix memory leak
zapb-0 Jun 10, 2026
66a3ae6
adapter/jtag_vpi: Fix memory leak
zapb-0 Jun 10, 2026
27adbfa
gdb_server: Log async notifications sent back to GDB
JanMatCodasip Jun 3, 2026
25b89a9
target/riscv: Mark dscratch* registers as non-cacheable
JanMatCodasip May 29, 2026
25c6ac8
target: riscv: error-out instead of truncating register values
eugoka Feb 26, 2025
2c1fd8a
target: improve SMP target list management in `target smp`
eugoka Sep 23, 2025
2734f8e
testing: tcl_commands: test `target smp` command
eugoka May 28, 2026
dfccacd
target/riscv: respect DM_DMSTATUS_ALLUNAVAIL bit during examine
tom-van Feb 3, 2024
d40f46d
tcl/target/ti/mspm0: fix mspm0_board_reset error message
nmenon May 28, 2026
4de8913
tcl/target/ti/mspm0: fix mspm0_board_reset DebugSS recovery
nmenon May 28, 2026
0b3e390
flash/nor/mspm0: workaround FLASH_ERR_01 in mspm0_read_part_info
nmenon May 29, 2026
ef5ac7a
target/riscv: vstart should be preserved when manipulating vector state
EccoTheDolphin Jan 26, 2026
9cf28dc
target/riscv: activate dm before get nextdm
lz-bro May 6, 2025
b1a6190
target: dsp5680xx: fix segfault on jtag pathmove <state>
borneoa Jun 11, 2026
95c5a52
jtag: core: quit jtag_add_pathmove() if nothing to do
borneoa Jun 11, 2026
a7750b9
jtag: check tap_state_by_name() return value against TAP_INVALID
borneoa Jun 11, 2026
0240d2e
time_support: Use monotonic time for timeval_ms
grantramsay Jun 14, 2026
1950a58
helper: time_support: convert duration helpers to timeval_ms()
borneoa Jun 15, 2026
4956f34
pld: use duration helper
borneoa Jun 15, 2026
4f9ab42
openocd: replace gettimeofday() with timeval_ms()
borneoa Jun 15, 2026
603c6e6
helper: time_support: drop unused functions
borneoa Jun 15, 2026
c9fe186
openocd: drop windows replacement for gettimeofday()
borneoa Jun 15, 2026
fa01258
target/oocd_capstone: fix RISC-V mode and ARM64 rename for capstone v6
kripticni Jun 22, 2026
4ee667c
target/oocd_capstone: add Xtensa and ARC support for capstone v6
kripticni Jun 22, 2026
bbb9f4f
target/espressif: add insn_set functions
sobuch Jun 24, 2026
472edee
tcl/target: Add max32655.cfg
shiftee Jun 24, 2026
2ed9f23
gdb_server: preserve gdb monitor command output from Tcl events
tom-van Nov 29, 2025
16b9eae
tcl/target/stm32u3x: fix voltage scale before flashing from gdb
tom-van Jul 9, 2025
eff5f00
flash/bluenrg-x: fix working area buffer size calculation
ahmed-haoues Jul 17, 2025
73b102d
flash/bluenrg-x: support SPIRIT3R
ahmed-haoues Jul 17, 2025
2ae1981
flash/stm32l4x: Reorder DBGMCU_IDCODE registers
ahmed-haoues May 6, 2026
3a16d2a
flash/stm32l4x: Support STM32WBA2x devices
ahmed-haoues Jul 15, 2025
065edc1
tcl/stm32wba5x: fix clock config used at 'reset init'
ahmed-haoues May 6, 2026
7b70be0
tcl/stm32wba6x: fix clock config used at 'reset init'
ahmed-haoues May 8, 2026
02df329
checkpatch: recognize the type FILE
borneoa Jul 6, 2026
6b36b0c
contrib/firmware/angie: Use parentheses for __interrupt
zapb-0 Jul 6, 2026
a81a448
contrib/firmware/angie: Add parentheses for __at
zapb-0 Jul 6, 2026
cb52502
contrib/firmware/angie: Add PREFIX to makebin command
zapb-0 Jul 6, 2026
da6c650
target/riscv: disable cache-on-read for VL and VSTART
EccoTheDolphin Jan 29, 2026
7bb208c
target/riscv: do not cache access to vtype
EccoTheDolphin Jan 29, 2026
b63fc37
target/riscv: do not cache access to vxrm, vxsat and vcsr
EccoTheDolphin Feb 1, 2026
af75d7f
tcl: add SAMA7G5 target and SAMA7G54-EK board configuration
fboyer-mchp Apr 15, 2026
b56339c
tcl: add SAMA7D6 target and SAMA7D65 Curiosity board configuration
fboyer-mchp Apr 15, 2026
fc566d7
tcl/board/st: Add NUCLEO-U575ZI-Q config
zapb-0 Jun 17, 2026
f31e662
Merge up to fc566d74005a4aefbe125b9b2f777d9514c60c87 from upstream
en-sc Jul 29, 2026
bae58de
git-hooks: remove the unnecessary files
en-sc Jul 29, 2026
d407241
tools: remove filter_openocd_log.py
en-sc Jul 29, 2026
9de290b
tcl: remove the Arty onboard FTDI files
en-sc Jul 29, 2026
972e340
tcl: board: remove sifive-e31arty-cjtag.cfg
en-sc Jul 29, 2026
eecd8d2
tcl: board: sifive: align hifive1-rev-b.cfg with the mainline
en-sc Jul 29, 2026
daf4e6b
Revert "No Russian"
en-sc Jul 29, 2026
fcc4e7a
Revert "Use LOG_DEBUG for debug messages: Discard unexpected char"
en-sc Jul 29, 2026
6240a44
Revert "gdb_server: Keep working if gdb requests a non-existent reg"
en-sc Jul 29, 2026
3489ce9
Revert "Document how to get code coverage. (#339)"
en-sc Jul 29, 2026
61ef4c0
Revert "Fix Digilent JTAG-HS2 cJTAG configuration script"
en-sc Jul 29, 2026
fcc0a73
Revert "Add Digilent JTAG-HS2 cJTAG configuration"
en-sc Jul 29, 2026
0c07bc5
Revert "Make watchpoint.unique_id a uint32_t"
en-sc Jul 29, 2026
7544789
rtos: align with mainline OpenOCD
en-sc Jul 29, 2026
4e522fb
Revert "Handler target_get_gdb_reg_list() better."
en-sc Jul 29, 2026
45332d5
server: gdb_server.c: [nfc] minor adjustments to align with mainline
en-sc Jul 29, 2026
92e10ab
src: server: gdb_server: align with mainline
en-sc Jul 29, 2026
b22978f
"fix" the gdb_server
en-sc Jul 30, 2026
664aa26
Revert "src: server: gdb_server: align with mainline"
en-sc Jul 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .checkpatch.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
--ignore ENOSYS
--ignore FILE_PATH_CHANGES
--ignore GERRIT_CHANGE_ID
--ignore LINE_SPACING
--ignore LOGICAL_CONTINUATIONS
--ignore MACRO_WITH_FLOW_CONTROL
--ignore PARENTHESIS_ALIGNMENT
Expand All @@ -23,6 +22,5 @@
--ignore PREFER_KERNEL_TYPES
--ignore SPLIT_STRING
--ignore SSCANF_TO_KSTRTO
--ignore SWITCH_CASE_INDENT_LEVEL
--ignore TRACING_LOGGING
--ignore VOLATILE
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# EditorConfig: https://editorconfig.org/

# top-most EditorConfig file
root = true

# All (Defaults)
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 4
tab_width = 4

[*.patch,*.diff]
trim_trailing_whitespace = false
36 changes: 9 additions & 27 deletions HACKING
Original file line number Diff line number Diff line change
Expand Up @@ -77,32 +77,6 @@ patch:
src/openocd -s ../tcl -f /path/to/openocd.cfg
@endcode

- Runtime coverage testing

Apply the following patch to prevent OpenOCD from killing itself:
@code
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -372,8 +372,6 @@ int openocd_main(int argc, char *argv[])

if (ERROR_FAIL == ret)
return EXIT_FAILURE;
- else if (ERROR_OK != ret)
- exit_on_signal(ret);

return ret;
}
@endcode

Configure your OpenOCD binary with coverage support as follows:
@code
LDFLAGS="-fprofile-arcs -ftest-coverage"
CFLAGS="-fprofile-arcs -ftest-coverage" ./configure
@endcode

Now every time OpenOCD is run, coverage info in your build directory is
updated. Running `gcov src/path/file.c` will generate a report.

- Sparse Static Analyzer

Using this tool allows identifying some bug in C code.
Expand Down Expand Up @@ -195,7 +169,9 @@ git remote add review https://USERNAME:PASSWORD@review.openocd.org/p/openocd.git
Gerrit server, even if you plan to use several local branches for different
topics. It is possible because @c for/master is not a traditional Git
branch.
-# You will need to install this hook, we will look into a better solution:
-# You will need to install this hook to automatically add the
field "Change-Id:" in the commit message, as required by Gerrit.
We will look into a better solution:
@code
wget https://review.openocd.org/tools/hooks/commit-msg
mv commit-msg .git/hooks
Expand Down Expand Up @@ -272,6 +248,12 @@ doc: fix typos
@code
git pull --rebase origin master
@endcode

-# When you create a new version of an old patch, check that the new patch
keeps the same 'Change-Id:' field of the old patch.
This allows the Gerrit server to recognize the patch as a new version of
the older one and keeps track of the history and the review process.

-# Send the patches to the Gerrit server for review:
@code
git push review
Expand Down
Loading
Loading