Skip to content

Commit 1ad3543

Browse files
galaknashif
authored andcommitted
sanitycheck: add setting runner type for J-Link & STLink
Add setting runner type to jlink for 'J-Link' and openocd for 'STM32 STLink' when generating the hardware map. Signed-off-by: Kumar Gala <[email protected]>
1 parent 8b089d2 commit 1ad3543

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/sanitycheck

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3619,6 +3619,10 @@ def main():
36193619
s_dev['product'] = d.product
36203620
if s_dev['product'] in ['DAPLink CMSIS-DAP', 'MBED CMSIS-DAP']:
36213621
s_dev['runner'] = "pyocd"
3622+
elif s_dev['product'] in ['J-Link']:
3623+
s_dev['runner'] = "jlink"
3624+
elif s_dev['product'] in ['STM32 STLink']:
3625+
s_dev['runner'] = "openocd"
36223626
else:
36233627
s_dev['runner'] = "unknown"
36243628
s_dev['available'] = True

0 commit comments

Comments
 (0)