NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
dliviu has quit [Ping timeout: 265 seconds]
dliviu has joined #openocd
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
tsal has quit [Ping timeout: 268 seconds]
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
tsal has joined #openocd
Hawk777 has joined #openocd
nerozero has joined #openocd
Haohmaru has joined #openocd
Hawk777 has quit [Quit: Leaving.]
tarekb has joined #openocd
borneoa_ has joined #openocd
zkrx has joined #openocd
zkrx has quit [Quit: zkrx]
zkrx has joined #openocd
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
emeb has joined #openocd
<karlp> bleh, new jimtcl breaks all my tcl :|
Haohmaru has quit []
<tarekb> how is that ?
<tarekb> karlp: is that caused by the 'expr' syntax change
<PaulFertser> expr changes I guess
<tarekb> I have understood that https://review.openocd.org/c/openocd/+/6510 solved the issue
<karlp> yeah. expr shits.
<karlp> in one or two places I get "DEPRECATED" warning text, in others it just crashes now.
<karlp> hrm, no it's not just that one.
<karlp> that one I got the warning for, and I could wrap the { }
<karlp> "mmw $DWT_CTRL 0 (1<<12)" crashed out entirely.
<karlp> /home/karlp/junk/test/bin/../share/openocd/scripts/mem_helper.tcl:37: Error: expected integer but got "(1<<12)"
<tarekb> i have got the following error with latest openocd: embedded:startup.tcl:788: Error: value option value ('(1<<2)') is not valid
<tarekb> but without crush
<karlp> I can do "mmw $DWT_CTRL 0 [expr (1<<12)]" but that's damn wordy :|
<karlp> also seemed wierd that one that prompted warnings was mmw $DWT_CTRL [expr ((1<<12) | (1<<9)) ] [expr 0]
<karlp> that first one is already bracketed to one arg, but apparently now needs {} as well.
<karlp> to become mmw $DWT_CTRL [expr { ((1<<12) | (1<<9)) } ] [expr 0]
<karlp> but hey, tcl is awesome right...
nerozero has quit [Ping timeout: 265 seconds]
tarekb has quit [Quit: Leaving.]
<borneoa_> karlp: I don't know the reason for these changes in jimtcl, and I haven't experienced this (1<<n), but better testing it now than after openocd release. Thanks for reporting this other issue. Need to check how many times it is present in TCL folder.
<antto> my svd parser managed to generate the peripheral struct for the scary sercom \o/
<ElReino> Has there been any effort lately to include CPU32 BDM support in OpenOCD?
<ElReino> Asking because I don't want to reinvent another wheel.
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
<borneoa_> karlp: the problem is in my fix to command mmw in tcl/mem_helper.tcl
<borneoa_> karlp: sending out a fix ...
<borneoa_> karlp: but I'm questioning myself if it should be fixed there or in your script. Let's move the discussion on gerrit. Change 6560
tarekb has joined #openocd
tarekb has quit [Read error: Connection reset by peer]
gnom has quit [Remote host closed the connection]
gnom has joined #openocd
urja has quit [Read error: Connection reset by peer]
urja has joined #openocd