<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/